org.bukkit.command.defaults
Class VanillaCommand
java.lang.Object
org.bukkit.command.Command
org.bukkit.command.defaults.VanillaCommand
- Direct Known Subclasses:
- BanCommand, BanIpCommand, BanListCommand, ClearCommand, DefaultGameModeCommand, DeopCommand, DifficultyCommand, EnchantCommand, ExpCommand, GameModeCommand, GameRuleCommand, GiveCommand, HelpCommand, KickCommand, KillCommand, ListCommand, MeCommand, OpCommand, PardonCommand, PardonIpCommand, SaveCommand, SaveOffCommand, SaveOnCommand, SayCommand, SeedCommand, SpawnpointCommand, StopCommand, TeleportCommand, TellCommand, TestForCommand, TimeCommand, ToggleDownfallCommand, WeatherCommand, WhitelistCommand
public abstract class VanillaCommand
- extends Command
Methods inherited from class org.bukkit.command.Command |
broadcastCommandMessage, broadcastCommandMessage, execute, getAliases, getDescription, getLabel, getName, getPermission, getPermissionMessage, getUsage, isRegistered, register, setAliases, setDescription, setLabel, setPermission, setPermissionMessage, setUsage, tabComplete, tabComplete, testPermission, testPermissionSilent, toString, unregister |
VanillaCommand
protected VanillaCommand(String name)
VanillaCommand
protected VanillaCommand(String name,
String description,
String usageMessage,
List<String> aliases)
matches
public boolean matches(String input)
getInteger
protected int getInteger(CommandSender sender,
String value,
int min)
getDouble
public static double getDouble(CommandSender sender,
String input)
getDouble
public static double getDouble(CommandSender sender,
String input,
double min,
double max)
Copyright © 2013. All Rights Reserved.