Class Settings
- java.lang.Object
-
- de.simonsator.partyandfriends.utilities.SubCommand
-
- de.simonsator.partyandfriends.api.friends.abstractcommands.FriendSubCommand
-
- de.simonsator.partyandfriends.friends.subcommands.Settings
-
- All Implemented Interfaces:
java.lang.Comparable<SubCommand>
public class Settings extends FriendSubCommand
The command settings
-
-
Field Summary
-
Fields inherited from class de.simonsator.partyandfriends.utilities.SubCommand
HELP, PREFIX
-
-
Constructor Summary
Constructors Constructor Description Settings(java.util.List<java.lang.String> pCommands, int pPriority, java.lang.String pHelp, java.lang.String pPermission)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods 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)
-
Methods inherited from class de.simonsator.partyandfriends.api.friends.abstractcommands.FriendSubCommand
isAFriendOf, isAFriendOf, isPlayerGiven, sendError
-
Methods inherited from class de.simonsator.partyandfriends.utilities.SubCommand
compareTo, getCommandName, getCommandNames, hasPermission, isApplicable, isApplicable, printOutHelp, sendError
-
-
-
-
Method Detail
-
getInstance
public static Settings getInstance()
-
registerSetting
public void registerSetting(Setting pSetting)
-
unregisterSetting
public void unregisterSetting(Setting pSetting)
-
getSettingInstance
public Setting getSettingInstance(java.lang.Class<? extends Setting> pSettingClass)
-
onCommand
public void onCommand(OnlinePAFPlayer pPlayer, java.lang.String[] args)
- Specified by:
onCommand
in classSubCommand
-
-