Class RenameClanCommands
java.lang.Object
de.simonsator.partyandfriends.utilities.SubCommand
de.simonsator.partyandfriends.clan.api.abstractcommands.ClanSubCommand
de.simonsator.partyandfriends.clan.api.abstractcommands.NoClanAcceptedCommands
de.simonsator.partyandfriends.clan.api.abstractcommands.RenameClanCommands
- All Implemented Interfaces:
Comparable<de.simonsator.partyandfriends.utilities.SubCommand>
-
Field Summary
Fields inherited from class de.simonsator.partyandfriends.clan.api.abstractcommands.ClanSubCommand
HAS_CLAN, LEADERS, NO_CLAN
Fields inherited from class de.simonsator.partyandfriends.utilities.SubCommand
HELP, PREFIX
-
Constructor Summary
ConstructorDescriptionRenameClanCommands
(String[] pCommands, int pPriority, String pHelp) RenameClanCommands
(String[] pCommands, String pPermission, int pPriority, String pHelp) -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
containsForbiddenText
(de.simonsator.partyandfriends.api.pafplayers.OnlinePAFPlayer pPlayer, String pName) boolean
doesClanExist
(de.simonsator.partyandfriends.api.pafplayers.OnlinePAFPlayer pPlayer, String[] args) boolean
hasAccess
(de.simonsator.partyandfriends.api.pafplayers.OnlinePAFPlayer pPlayer, int pPlayerType) protected boolean
isNameTooLong
(de.simonsator.partyandfriends.api.pafplayers.OnlinePAFPlayer pPlayer, String pName) protected boolean
isTagTooLong
(de.simonsator.partyandfriends.api.pafplayers.OnlinePAFPlayer pPlayer, String pTag) void
setMaxLengthClanName
(int pMaxLength) void
setMaxLengthClanTag
(int pMaxLength) Methods inherited from class de.simonsator.partyandfriends.clan.api.abstractcommands.NoClanAcceptedCommands
isInAClan
Methods inherited from class de.simonsator.partyandfriends.clan.api.abstractcommands.ClanSubCommand
enoughArguments, enoughArguments, execute, getClan, getClan, getPlayer, hasPermission, isLeader, onCommand, sendError, sendError
Methods inherited from class de.simonsator.partyandfriends.utilities.SubCommand
compareTo, getCommandName, getCommandNames, isApplicable, isApplicable, printOutHelp
-
Constructor Details
-
RenameClanCommands
-
RenameClanCommands
-
-
Method Details
-
doesClanExist
public boolean doesClanExist(de.simonsator.partyandfriends.api.pafplayers.OnlinePAFPlayer pPlayer, String[] args) -
isNameTooLong
protected boolean isNameTooLong(de.simonsator.partyandfriends.api.pafplayers.OnlinePAFPlayer pPlayer, String pName) -
isTagTooLong
protected boolean isTagTooLong(de.simonsator.partyandfriends.api.pafplayers.OnlinePAFPlayer pPlayer, String pTag) -
hasAccess
public boolean hasAccess(de.simonsator.partyandfriends.api.pafplayers.OnlinePAFPlayer pPlayer, int pPlayerType) - Overrides:
hasAccess
in classNoClanAcceptedCommands
-
containsForbiddenText
protected boolean containsForbiddenText(de.simonsator.partyandfriends.api.pafplayers.OnlinePAFPlayer pPlayer, String pName) -
setMaxLengthClanName
public void setMaxLengthClanName(int pMaxLength) -
setMaxLengthClanTag
public void setMaxLengthClanTag(int pMaxLength)
-