|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.cliffblaster.game.Command
com.cliffblaster.game.commands.SeedCommand
public class SeedCommand
Constructor Summary | |
---|---|
SeedCommand()
|
Method Summary | |
---|---|
boolean |
execute(java.lang.String[] arguments,
ServerHandler caller)
Executes the command, arguments[0] is the command, args[1] is the first argument Caller is null if the caller is the console |
java.lang.String |
getHelpDesc()
|
boolean |
hasPermission(java.lang.String[] arguments,
ServerHandler caller)
Called to check whether the caller has permission to execute that command Caller is null if the caller is the console Must return true if the caller has permission |
void |
printUsage(java.lang.String[] arguments,
ServerHandler caller)
|
Methods inherited from class com.cliffblaster.game.Command |
---|
getHandle, getPluginManager, getRegisteredHandler, getServer, requestPermission, sendMessage |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SeedCommand()
Method Detail |
---|
public boolean hasPermission(java.lang.String[] arguments, ServerHandler caller)
Command
hasPermission
in class Command
public boolean execute(java.lang.String[] arguments, ServerHandler caller)
Command
execute
in class Command
public java.lang.String getHelpDesc()
getHelpDesc
in class Command
public void printUsage(java.lang.String[] arguments, ServerHandler caller)
printUsage
in class Command
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |