Implement Linkage for Teamserver

This commit is contained in:
2025-10-03 13:46:39 +02:00
parent 383604ec9f
commit d75c82dca5
12 changed files with 35 additions and 23 deletions
@@ -26,6 +26,7 @@ import com.sk89q.worldedit.math.BlockVector3;
import com.sk89q.worldedit.regions.CuboidRegion;
import com.sk89q.worldedit.regions.RegionSelector;
import de.steamwar.command.SWCommand;
import de.steamwar.linkage.Linked;
import de.steamwar.teamserver.Builder;
import org.bukkit.Bukkit;
import org.bukkit.configuration.file.YamlConfiguration;
@@ -34,6 +35,7 @@ import org.bukkit.entity.Player;
import java.io.File;
import java.io.IOException;
@Linked
public class ArenaconfigCommand extends SWCommand {
public ArenaconfigCommand() {
@@ -20,12 +20,14 @@
package de.steamwar.teamserver.command;
import de.steamwar.command.SWCommand;
import de.steamwar.linkage.Linked;
import de.steamwar.teamserver.Builder;
import de.steamwar.teamserver.listener.FreezeListener;
import net.md_5.bungee.api.ChatMessageType;
import org.bukkit.Bukkit;
import org.bukkit.entity.Player;
@Linked
public class FreezeCommand extends SWCommand {
public FreezeCommand() {
@@ -20,9 +20,11 @@
package de.steamwar.teamserver.command;
import de.steamwar.command.SWCommand;
import de.steamwar.linkage.Linked;
import org.bukkit.GameMode;
import org.bukkit.entity.Player;
@Linked
public class GamemodeCommand extends SWCommand {
public GamemodeCommand() {
@@ -25,6 +25,7 @@ import de.steamwar.inventory.SWAnvilInv;
import de.steamwar.inventory.SWInventory;
import de.steamwar.inventory.SWItem;
import de.steamwar.inventory.SWListInv;
import de.steamwar.linkage.Linked;
import de.steamwar.teamserver.Builder;
import org.bukkit.Material;
import org.bukkit.block.data.BlockData;
@@ -41,6 +42,7 @@ import java.util.List;
import java.util.Map;
import java.util.regex.Pattern;
@Linked
public class MaterialCommand extends SWCommand implements Listener {
public MaterialCommand() {
@@ -20,8 +20,10 @@
package de.steamwar.teamserver.command;
import de.steamwar.command.SWCommand;
import de.steamwar.linkage.Linked;
import org.bukkit.entity.Player;
@Linked
public class SpeedCommand extends SWCommand {
public SpeedCommand() {