Package org.kingdoms.constants.player
Class KingdomsChatChannel
java.lang.Object
org.kingdoms.constants.player.KingdomsChatChannel
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionKingdomsChatChannel(String id, MessageObject color, ConditionalCompiler.LogicalOperand recipientCondition, org.kingdoms.utils.conditions.ConditionChain<Messenger> useConditions, MessageContainer formats, List<Pair<ConditionalCompiler.LogicalOperand, String>> adminFormats) -
Method Summary
Modifier and TypeMethodDescriptioncanUse(org.bukkit.entity.Player player) static KingdomsChatChannelstatic Map<String,KingdomsChatChannel> static KingdomsChatChannelgetChannelUserFriendly(String name, MessageBuilder settings) getColor()static KingdomsChatChannelgetId()getName()org.kingdoms.utils.conditions.ConditionChain<Messenger>booleanisGlobal()static voidtoString()
-
Field Details
-
GLOBAL
- See Also:
-
GLOBAL_DATA_ID
- See Also:
-
NATION
- See Also:
-
-
Constructor Details
-
KingdomsChatChannel
public KingdomsChatChannel(String id, MessageObject color, ConditionalCompiler.LogicalOperand recipientCondition, org.kingdoms.utils.conditions.ConditionChain<Messenger> useConditions, MessageContainer formats, List<Pair<ConditionalCompiler.LogicalOperand, String>> adminFormats)
-
-
Method Details
-
registerChannels
public static void registerChannels() -
getChannelUserFriendly
-
getChannels
-
fromId
-
getGlobalChannel
-
getAdminFormat
-
getName
-
getShortName
-
getFormats
-
getColor
-
getBypassPrefix
-
getRecipientCondition
-
getUseConditions
-
canUse
-
isGlobal
public boolean isGlobal() -
getId
-
getDataId
-
toString
-