Class SimpleSetting
- java.lang.Object
-
- de.simonsator.partyandfriends.api.Setting
-
- de.simonsator.partyandfriends.api.SimpleSetting
-
- All Implemented Interfaces:
java.lang.Comparable<Setting>
- Direct Known Subclasses:
FriendRequestSetting
,InviteSetting
,JumpSetting
,OfflineSetting
,PMSetting
public abstract class SimpleSetting extends Setting
-
-
Constructor Summary
Constructors Constructor Description SimpleSetting(java.util.List<java.lang.String> pSettingNames, java.lang.String pPermission, int pPriority)
SimpleSetting(java.util.List<java.lang.String> pSettingNames, java.lang.String pPermission, int pPriority, java.lang.String pIdentifier)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract java.lang.String
getMessage(OnlinePAFPlayer pPlayer)
void
outputMessage(OnlinePAFPlayer pPlayer)
-
Methods inherited from class de.simonsator.partyandfriends.api.Setting
changeSetting, compareTo, getName, isApplicable
-
-
-
-
Constructor Detail
-
SimpleSetting
public SimpleSetting(java.util.List<java.lang.String> pSettingNames, java.lang.String pPermission, int pPriority)
-
SimpleSetting
public SimpleSetting(java.util.List<java.lang.String> pSettingNames, java.lang.String pPermission, int pPriority, java.lang.String pIdentifier)
-
-
Method Detail
-
getMessage
protected abstract java.lang.String getMessage(OnlinePAFPlayer pPlayer)
-
outputMessage
public void outputMessage(OnlinePAFPlayer pPlayer)
- Specified by:
outputMessage
in classSetting
-
-