Class CivilWarCommand

java.lang.Object
net.chen.legacyLand.war.commands.CivilWarCommand
All Implemented Interfaces:
org.bukkit.command.CommandExecutor, org.bukkit.command.TabCompleter

public class CivilWarCommand extends Object implements org.bukkit.command.CommandExecutor, org.bukkit.command.TabCompleter
内战命令处理器 /civil declare <新国名> - 市长发起独立投票 /civil vote yes|no - 居民投票 /civil status - 查看不满值 /civil info [战争ID] - 查看内战信息 /civil join <战争ID> <角色> - 加入内战 /civil surrender - 投降 /civil list - 列出所有内战
  • Constructor Details

    • CivilWarCommand

      public CivilWarCommand()
  • Method Details

    • onCommand

      public boolean onCommand(@NotNull @NotNull org.bukkit.command.CommandSender sender, @NotNull @NotNull org.bukkit.command.Command command, @NotNull @NotNull String label, @NotNull @NotNull String[] args)
      Specified by:
      onCommand in interface org.bukkit.command.CommandExecutor
    • onTabComplete

      @Nullable public @Nullable List<String> onTabComplete(@NotNull @NotNull org.bukkit.command.CommandSender sender, @NotNull @NotNull org.bukkit.command.Command command, @NotNull @NotNull String label, @NotNull @NotNull String[] args)
      Specified by:
      onTabComplete in interface org.bukkit.command.TabCompleter