PocketMine
VanillaCommand Class Reference
Inheritance diagram for VanillaCommand:
Command BanCommand BanIpCommand BanListCommand DefaultGamemodeCommand DeopCommand DifficultyCommand DumpMemoryCommand EffectCommand EnchantCommand GamemodeCommand GarbageCollectorCommand GiveCommand HelpCommand KickCommand KillCommand ListCommand MeCommand OpCommand PardonCommand PardonIpCommand ParticleCommand PluginsCommand ReloadCommand SaveCommand SaveOffCommand SaveOnCommand SayCommand SeedCommand SetWorldSpawnCommand SpawnpointCommand StatusCommand StopCommand TeleportCommand TellCommand TimeCommand TimingsCommand VersionCommand WhitelistCommand

Public Member Functions

 __construct ($name, $description="", $usageMessage=null, array $aliases=[])
 
- Public Member Functions inherited from Command
 __construct ($name, $description="", $usageMessage=null, array $aliases=[])
 
 execute (CommandSender $sender, $commandLabel, array $args)
 
 getName ()
 
 getPermission ()
 
 setPermission ($permission)
 
 testPermission (CommandSender $target)
 
 testPermissionSilent (CommandSender $target)
 
 getLabel ()
 
 setLabel ($name)
 
 register (CommandMap $commandMap)
 
 unregister (CommandMap $commandMap)
 
 isRegistered ()
 
 getAliases ()
 
 getPermissionMessage ()
 
 getDescription ()
 
 getUsage ()
 
 setAliases (array $aliases)
 
 setDescription ($description)
 
 setPermissionMessage ($permissionMessage)
 
 setUsage ($usage)
 
 __toString ()
 

Data Fields

const MAX_COORD = 30000000
 
const MIN_COORD = -30000000
 
- Data Fields inherited from Command
 $timings
 

Protected Member Functions

 getInteger (CommandSender $sender, $value, $min=self::MIN_COORD, $max=self::MAX_COORD)
 
 getRelativeDouble ($original, CommandSender $sender, $input, $min=self::MIN_COORD, $max=self::MAX_COORD)
 
 getDouble (CommandSender $sender, $value, $min=self::MIN_COORD, $max=self::MAX_COORD)
 

Additional Inherited Members

- Static Public Member Functions inherited from Command
static broadcastCommandMessage (CommandSender $source, $message, $sendToSource=true)
 
- Protected Attributes inherited from Command
 $description = ""
 
 $usageMessage
 

The documentation for this class was generated from the following file: