|
||||||||||
| 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.IRCCommand
org.monstercraft.irc.command.irccommands.Mute
public class Mute
| Constructor Summary | |
|---|---|
Mute(IRC plugin)
|
|
| Method Summary | |
|---|---|
boolean |
canExecute(java.lang.String sender,
java.lang.String message)
Checks if the command can be executed by the certian user. |
boolean |
execute(java.lang.String sender,
java.lang.String message)
The action to perfrom when executing the command. |
| 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 Mute(IRC plugin)
| Method Detail |
|---|
public boolean canExecute(java.lang.String sender,
java.lang.String message)
IRCCommand
canExecute in class IRCCommandsender - The command sender.message - The commands arguments in the form of a string.
public boolean execute(java.lang.String sender,
java.lang.String message)
IRCCommand
execute in class IRCCommandsender - The command sender.message - The arguments of the command in the form of a string.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||