public class Settings extends FriendSubCommand
HELP, PREFIX
Constructor | Description |
---|---|
Settings(java.util.List<java.lang.String> pCommands,
int pPriority,
java.lang.String pHelp,
java.lang.String pPermission) |
Modifier and Type | Method | Description |
---|---|---|
static Settings |
getInstance() |
|
Setting |
getSettingInstance(java.lang.Class<? extends Setting> pSettingClass) |
|
void |
onCommand(OnlinePAFPlayer pPlayer,
java.lang.String[] args) |
|
void |
registerSetting(Setting pSetting) |
|
void |
unregisterSetting(Setting pSetting) |
isAFriendOf, isPlayerGiven, sendError
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
compareTo, getCommandName, getCommandNames, hasPermission, isApplicable, isApplicable, printOutHelp, sendError
public Settings(java.util.List<java.lang.String> pCommands, int pPriority, java.lang.String pHelp, java.lang.String pPermission)
public static Settings getInstance()
public void registerSetting(Setting pSetting)
public void unregisterSetting(Setting pSetting)
public Setting getSettingInstance(java.lang.Class<? extends Setting> pSettingClass)
public void onCommand(OnlinePAFPlayer pPlayer, java.lang.String[] args)
onCommand
in class SubCommand