Update to Spigot-1.16.5

Update Vault / WorldEdit / WorldGuard version
Update Plugin
Fix CR/LF
This commit is contained in:
Arnaud G. GIBERT 2021-04-24 11:11:25 +02:00
parent aabf6db1ae
commit 0506ebc2c2
18 changed files with 2791 additions and 2759 deletions

View File

@ -35,21 +35,21 @@ dist.javadoc.dir=${dist.dir}/javadoc
endorsed.classpath=
excludes=
file.reference.Quake.jar=dist\\Quake.jar
file.reference.spigot-1.12.1.jar=../../../AMC-Server.de/JARs/spigot-1.12.1.jar
file.reference.spigot-1.14.4.jar=../../../Minecraft/Jars/Spigot/spigot-1.14.4.jar
file.reference.Vault_v1.7.2.jar=../../../Minecraft/Jars/1.14/Vault_v1.7.2.jar
file.reference.WorldEdit_v7.1.0-b4675.jar=../../../Minecraft/Jars/1.14/WorldEdit_v7.1.0-b4675.jar
file.reference.WorldGuard_v7.0.1-b1983.jar=../../../Minecraft/Jars/1.14/WorldGuard_v7.0.1-b1983.jar
file.reference.spigot-1.14.4.jar=../../minecraft/spigot-1.14.4.jar
file.reference.spigot-1.16.5.jar=../../minecraft/spigot-1.16.5.jar
file.reference.Vault.jar=../../minecraft/Vault-1.7.3.jar
file.reference.WorldEdit.jar=../../minecraft/WorldEdit-Bukkit-7.2.4.jar
file.reference.WorldGuard.jar=../../minecraft/WorldGuard-Bukkit-7.0.4.jar
includes=**
jar.archive.disabled=${jnlp.enabled}
jar.compress=false
jar.index=${jnlp.enabled}
javac.classpath=\
${file.reference.spigot-1.12.1.jar}:\
${file.reference.spigot-1.14.4.jar}:\
${file.reference.Vault_v1.7.2.jar}:\
${file.reference.WorldEdit_v7.1.0-b4675.jar}:\
${file.reference.WorldGuard_v7.0.1-b1983.jar}:\
${file.reference.spigot-1.16.5.jar}:\
${file.reference.Vault.jar}:\
${file.reference.WorldEdit.jar}:\
${file.reference.WorldGuard.jar}:\
${file.reference.Quake.jar}
# Space-separated list of extra javac options
javac.compilerargs=
@ -117,4 +117,4 @@ run.test.modulepath=\
${javac.test.modulepath}
source.encoding=UTF-8
src.dir=src
test.src.dir=test
test.src.dir=testy

View File

@ -0,0 +1,27 @@
package com.Geekpower14.Quake.Versions;
import com.Geekpower14.Quake.Arena.Arena;
//import net.minecraft.server.v1_14_R1.PacketPlayInClientCommand;
import net.minecraft.server.v1_16_R3.PacketPlayInClientCommand;
import org.bukkit.Sound;
//import org.bukkit.craftbukkit.v1_14_R1.entity.CraftPlayer;
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftPlayer;
import org.bukkit.entity.Player;
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/**
*
* @author Bl4ckSkull666
*/
public class R1_16_3 {
public static void Respawn(Player p) throws Exception {
PacketPlayInClientCommand ppicc = new PacketPlayInClientCommand(PacketPlayInClientCommand.EnumClientCommand.PERFORM_RESPAWN);
((CraftPlayer)p).getHandle().playerConnection.a(ppicc);
}
}

View File

@ -24,5 +24,10 @@ public class SelectVersion {
R1_14_1.Respawn(p);
break;
}
switch(getVersion()) {
case "v1_16_R3":
R1_16_3.Respawn(p);
break;
}
}
}

View File

@ -1,11 +1,11 @@
name: Quake
authors: [Geekpower14, Bl4ckSkull666]
authors: [Geekpower14, Bl4ckSkull666, AlkorZ3]
main: com.Geekpower14.Quake.Quake
version: 3.4.0
api-version: 1.14
version: 3.5.0
api-version: 1.16
depend: [WorldEdit,Vault]
softdepend: [Multiverse-Core]
website: https://www.survival-piraten.de
website: https://obsidia.rx3.net
commands:
quake:
description: Quake command