Class CommandBase

java.lang.Object
zombie.commands.CommandBase
Direct Known Subclasses:
AddAllToWhiteListCommand, AddItemCommand, AddKeyCommand, AddUserCommand, AddUserToSafehouseCommand, AddUserToWhiteListCommand, AddVehicleCommand, AddXPCommand, AlarmCommand, BanIPCommand, BanSteamIDCommand, BanUserCommand, ChangeOptionCommand, CheckModsNeedUpdate, ChopperCommand, ClearCommand, ConnectionsCommand, CreateHorde2Command, CreateHordeCommand, DebugPlayerCommand, GodModeCommand, GodModePlayerCommand, GrantAdminCommand, GunShotCommand, HelpCommand, InvisibleCommand, InvisiblePlayerCommand, KickUserCommand, KickUserFromSafehouseCommand, LightningCommand, ListCommand, LogCommand, NoClipCommand, PlayersCommand, QuitCommand, ReleaseSafehouseCommand, ReloadAllLuaCommand, ReloadLuaCommand, ReloadOptionsCommand, RemoveAdminCommand, RemoveCommand, RemoveItemCommand, RemoveUserFromWhiteList, RemoveZombiesCommand, SaveCommand, ServerMessageCommand, SetAccessLevelCommand, SetPasswordCommand, SetTimeSpeedCommand, ShowOptionsCommand, StartRainCommand, StartStormCommand, StatisticsCommand, StopRainCommand, StopWeatherCommand, TeleportCommand, TeleportPlayerCommand, TeleportToCommand, ThunderCommand, UnbanIPCommand, UnbanSteamIDCommand, UnbanUserCommand, VoiceBanCommand, WorldGeneratorCommand

public abstract class CommandBase extends Object
  • Method Details

    • getSubClasses

      public static Class<?>[] getSubClasses()
    • findCommandCls

      public static Class<?> findCommandCls(String command)
    • getHelp

      public static String getHelp(Class<?> cls)
    • getCommandName

      public static String getCommandName(Class<?> cls)
    • isDisabled

      public static boolean isDisabled(Class<?> cls)
    • Execute

      public String Execute() throws SQLException
      Throws:
      SQLException
    • canBeExecuted

      public boolean canBeExecuted()
    • isCommandComeFromServerConsole

      public boolean isCommandComeFromServerConsole()
    • hasHelp

      public boolean hasHelp()
    • getCommandArg

      public String getCommandArg(Integer argNumber)
    • hasOptionalArg

      public boolean hasOptionalArg(Integer argNumber)
    • getCommandArgsCount

      public int getCommandArgsCount()
    • parseCommand

      public boolean parseCommand()
    • isParsingSuccessful

      public boolean isParsingSuccessful()