|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.bukkit.plugin.java.JavaPlugin
org.monstercraft.irc.IRC
org.monstercraft.irc.command.GameCommand
public abstract class GameCommand
This class is the Abstract Game command.
| Constructor Summary | |
|---|---|
GameCommand(IRC plugin)
Creates an instance of the GameCommand class. |
|
| Method Summary | |
|---|---|
abstract boolean |
canExecute(org.bukkit.command.CommandSender sender,
java.lang.String[] split)
Checks if the command can be executed by the certian user. |
abstract boolean |
execute(org.bukkit.command.CommandSender sender,
java.lang.String[] split)
The action to perfrom when executing the command. |
abstract java.lang.String |
getPermissions()
The permission node to check. |
| Methods inherited from class org.monstercraft.irc.IRC |
|---|
getCommandManager, getHandleManager, getHookManager, getSettings, onCommand, onDisable, onEnable |
| Methods inherited from class org.bukkit.plugin.java.JavaPlugin |
|---|
getCommand, getConfig, getConfiguration, getDatabase, getDatabaseClasses, getDataFolder, getDefaultWorldGenerator, getDescription, getPluginLoader, getResource, getServer, isEnabled, isInitialized, isNaggable, onLoad, reloadConfig, saveConfig, setNaggable, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public GameCommand(IRC plugin)
plugin - The parent plugin.| Method Detail |
|---|
public abstract java.lang.String getPermissions()
public abstract boolean canExecute(org.bukkit.command.CommandSender sender,
java.lang.String[] split)
sender - The command sender.split - The command arguments.
public abstract boolean execute(org.bukkit.command.CommandSender sender,
java.lang.String[] split)
sender - The command sender.split - The command arguments.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||