Package pro.cloudnode.smp.cloudnodemsg
Class PluginConfig
java.lang.Object
pro.cloudnode.smp.cloudnodemsg.PluginConfig
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescription@NotNull ComponentcannotIgnore(@NotNull String player) Player cannot be ignored@NotNull ComponentchannelClosed(@NotNull String sender, @NotNull String recipient, @NotNull String command) Message channel closed@NotNull ComponentchannelCreated(@NotNull String sender, @NotNull String recipient, @NotNull String command) Message channel created@NotNull ComponentchannelOffline(@NotNull String sender, @NotNull String recipient) Message channel player is offline and channel closed@NotNull ComponentchannelTeamClosed(@NotNull String sender, @NotNull Team team) Team chat channel closed@NotNull ComponentchannelTeamCreated(@NotNull String sender, @NotNull Team team) Team chat channel created@NotNull StringName for console/server that should appear as<sender>or<recipient>in messages@NotNull ComponentPlayer has successfully been ignored@NotNull ComponentYou are trying to ignore yourself@NotNull ComponentIncoming message format (recipient's point of view)@NotNull ComponentincomingDisabled(@NotNull String player) Target player have disabled their incoming private messages.@NotNull ComponentPlayer has no username (somehow)@NotNull Component@NotNull ComponentneverJoined(@NotNull String player) Target player has never joined the server@NotNull Component@NotNull ComponentNo permission@NotNull ComponentnotIgnored(@NotNull String player) That player is not ignored@NotNull ComponentTrying to message a team, but not in one@NotNull ComponentOnly players can use this command@NotNull ComponentOutgoing message format (sender's point of view)@NotNull ComponentplayerNotFound(@NotNull String player) Player not found@NotNull Componentreloaded()Plugin reloaded@NotNull ComponentreplyOffline(@NotNull String player) The player that messaged you is no longer online@NotNull ComponentPrivate message format as seen by people with the spy permission and console@NotNull ComponentTeam message@NotNull ComponentTeam message format as seen by people with the spy permission and console@NotNull Component@NotNull ComponenttoggleDisableOther(@NotNull String player) Player's private messages have been toggled off@NotNull Component@NotNull ComponenttoggleEnableOther(@NotNull String player) Player's private messages have been toggled on@NotNull ComponentPlayer has successfully been unignored@NotNull ComponentCommand usage format
- 
Field Details- 
config
 
- 
- 
Constructor Details- 
PluginConfig
 
- 
- 
Method Details- 
incoming@NotNull public @NotNull Component incoming(@NotNull @NotNull String sender, @NotNull @NotNull String recipient, @NotNull @NotNull Component message) Incoming message format (recipient's point of view)Placeholders: - <sender>- the username of the message sender
- <recipient>- the username of the message recipient
- <message>- the message text
 - Parameters:
- sender- The username of the message sender
- recipient- The username of the message recipient
- message- The message text
 
- 
outgoing@NotNull public @NotNull Component outgoing(@NotNull @NotNull String sender, @NotNull @NotNull String recipient, @NotNull @NotNull Component message) Outgoing message format (sender's point of view)Placeholders: - <sender>- the username of the message sender
- <recipient>- the username of the message recipient
- <message>- the message text
 - Parameters:
- sender- The username of the message sender
- recipient- The username of the message recipient
- message- The message text
 
- 
team@NotNull public @NotNull Component team(@NotNull @NotNull String sender, @NotNull @NotNull Team team, @NotNull @NotNull Component message) Team messageUses the vanilla teams from `/team` Placeholders: - <sender>- the username of the message sender
- <team>- team
- <message>- the message text
 - Parameters:
- sender- The username of the message sender
- team- The team
- message- The message text
 
- 
spy@NotNull public @NotNull Component spy(@NotNull @NotNull String sender, @NotNull @NotNull String recipient, @NotNull @NotNull Component message) Private message format as seen by people with the spy permission and consolePlaceholders: - <sender>- the username of the message sender
- <recipient>- the username of the message recipient
- <message>- the message text
 - Parameters:
- sender- The username of the message sender
- recipient- The username of the message recipient
- message- The message text
 
- 
teamSpy@NotNull public @NotNull Component teamSpy(@NotNull @NotNull String sender, @NotNull @NotNull Team team, @NotNull @NotNull Component message) Team message format as seen by people with the spy permission and consolePlaceholders: - <sender>- the username of the message sender
- <team>- team
- <message>- the message text
 - Parameters:
- sender- The username of the message sender
- team- The team
- message- The message text
 
- 
ignoredPlayer has successfully been ignoredPlaceholders: - <player>- the username of the player
 - Parameters:
- player- The username of the player
 
- 
unignoredPlayer has successfully been unignoredPlaceholders: - <player>- the username of the player
 - Parameters:
- player- The username of the player
 
- 
channelCreated@NotNull public @NotNull Component channelCreated(@NotNull @NotNull String sender, @NotNull @NotNull String recipient, @NotNull @NotNull String command) Message channel createdPlaceholders: - <sender>- the username of the message sender
- <recipient>- the username of the message recipient
- <command>- the command used, e.g. `msg`, `dm`, etc.
 - Parameters:
- sender- The username of the message sender
- recipient- The username of the message recipient
- command- The command used, e.g. `msg`, `dm`, etc.
 
- 
channelClosed@NotNull public @NotNull Component channelClosed(@NotNull @NotNull String sender, @NotNull @NotNull String recipient, @NotNull @NotNull String command) Message channel closedPlaceholders: - <sender>- the username of the message sender
- <recipient>- the username of the message recipient
- <command>- the command used, e.g. `msg`, `dm`, etc.
 - Parameters:
- sender- The username of the message sender
- recipient- The username of the message recipient
- command- The command used, e.g. `msg`, `dm`, etc.
 
- 
channelOffline@NotNull public @NotNull Component channelOffline(@NotNull @NotNull String sender, @NotNull @NotNull String recipient) Message channel player is offline and channel closedPlaceholders: - <sender>- the username of the message sender
- <recipient>- the username of the message recipient
 - Parameters:
- sender- The username of the message sender
- recipient- The username of the message recipient
 
- 
channelTeamCreated@NotNull public @NotNull Component channelTeamCreated(@NotNull @NotNull String sender, @NotNull @NotNull Team team) Team chat channel createdPlaceholders: - <sender>- the username of the message sender
- <team>- team
 - Parameters:
- sender- The username of the message sender
- team- The team@
 
- 
channelTeamClosed@NotNull public @NotNull Component channelTeamClosed(@NotNull @NotNull String sender, @NotNull @NotNull Team team) Team chat channel closedPlaceholders: - <sender>- the username of the message sender
- <team>- team
 - Parameters:
- sender- The username of the message sender
- team- The team
 
- 
usage@NotNull public @NotNull Component usage(@NotNull @NotNull String label, @NotNull @NotNull String usage) Command usage formatPlaceholders: - <command>- the command name
- <usage>- the command usage parameters
 - Parameters:
- label- Command label
- usage- Command usage parameters
 
- 
reloadedPlugin reloaded
- 
consoleNameName for console/server that should appear as<sender>or<recipient>in messages
- 
toggleDisable
- 
toggleDisableOtherPlayer's private messages have been toggled offPlaceholders: - <player>- the player's username
 - Parameters:
- player- the player's username
 
- 
toggleEnable
- 
toggleEnableOtherPlayer's private messages have been toggled onPlaceholders: - <player>- the player's username
 - Parameters:
- player- the player's username
 
- 
noPermissionNo permission
- 
invalidPlayerPlayer has no username (somehow)
- 
playerNotFoundPlayer not foundPlaceholders: - <player>- the player's username
 - Parameters:
- player- The player's username
 
- 
messageYourself
- 
nobodyReply
- 
replyOfflineThe player that messaged you is no longer onlinePlaceholders: - <player>- the player's username
 - Parameters:
- player- The player's username
 
- 
notPlayerOnly players can use this command
- 
notIgnoredThat player is not ignoredPlaceholders: - <player>- the player's username
 - Parameters:
- player- The player's username
 
- 
cannotIgnorePlayer cannot be ignoredPlaceholders: - <player>- the player's username
 - Parameters:
- player- The player's username
 
- 
ignoreYourselfYou are trying to ignore yourself
- 
neverJoinedTarget player has never joined the serverPlaceholders: - <player>- the player's username
 - Parameters:
- player- The player's username
 
- 
incomingDisabledTarget player have disabled their incoming private messages.Placeholders: - <player>- the player's username
 - Parameters:
- player- The player's username
 
- 
notInTeamTrying to message a team, but not in one
 
-