Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- ALL - Enum constant in enum class com.nickuc.chat.api.events.PrivateMessageEvent.Type
- ALL - Enum constant in enum class com.nickuc.chat.api.events.ProxyPrivateMessageEvent.Type
C
- cancelled - Variable in class com.nickuc.chat.api.events.internal.nChatEvent
- Channel - Interface in com.nickuc.chat.channel
-
This interface is used to indicate an nChat channel.
- ChannelType - Enum Class in com.nickuc.chat.channel
- clone() - Method in interface com.nickuc.chat.api.util.Component
-
Creates a clone of this component's instance.
- clone() - Method in class com.nickuc.chat.api.util.map.MessagePieceMap
- clone() - Method in interface com.nickuc.chat.api.util.MessagePiece
-
Creates a clone of the instance of this message piece.
- com.nickuc.chat.api - package com.nickuc.chat.api
- com.nickuc.chat.api.events - package com.nickuc.chat.api.events
- com.nickuc.chat.api.events.internal - package com.nickuc.chat.api.events.internal
- com.nickuc.chat.api.translator - package com.nickuc.chat.api.translator
- com.nickuc.chat.api.types - package com.nickuc.chat.api.types
- com.nickuc.chat.api.util - package com.nickuc.chat.api.util
- com.nickuc.chat.api.util.map - package com.nickuc.chat.api.util.map
- com.nickuc.chat.channel - package com.nickuc.chat.channel
- component() - Method in interface com.nickuc.chat.api.util.Component
-
Returns the native component encapsulated by nChat.
- component() - Method in interface com.nickuc.chat.api.util.MessagePiece
-
Gets the
Componentof this message piece. - Component - Interface in com.nickuc.chat.api.util
-
This interface is used to encapsulate the components used by nChat.
- convertComponent(Component, Class<T>) - Method in interface com.nickuc.chat.api.nChatAPI.nChatInternal
- copyChannel(File) - Method in interface com.nickuc.chat.api.nChatAPI.nChatInternal
- createChannel(Channel) - Method in interface com.nickuc.chat.api.nChatAPI
-
Creates a new channel
- createComponent(Object) - Method in interface com.nickuc.chat.api.nChatAPI.nChatInternal
D
- deleteChannel(Channel) - Method in interface com.nickuc.chat.api.nChatAPI
-
Deletes a channel.
E
- editComponent(Component) - Method in interface com.nickuc.chat.api.util.MessagePiece
-
Edits the
Componentof this message piece. - editText(String) - Method in interface com.nickuc.chat.api.util.MessagePiece
-
Modifies the
Componentcontent of this message piece. - emptyReadOnlyComponent() - Method in interface com.nickuc.chat.api.nChatAPI.nChatInternal
- ERR_NOT_AUTHENTICATED - Static variable in class com.nickuc.chat.api.events.ProxyPrivateMessageEvent
- ERR_PLAYER_IS_OFFLINE - Static variable in class com.nickuc.chat.api.events.ProxyPrivateMessageEvent
- ERR_TELL_DISABLED - Static variable in class com.nickuc.chat.api.events.ProxyPrivateMessageEvent
- ERR_TELL_IGNORED - Static variable in class com.nickuc.chat.api.events.ProxyPrivateMessageEvent
F
- fill(int) - Static method in class com.nickuc.chat.api.util.map.MessagePieceMap
- FragmentableMessageEvent<T> - Class in com.nickuc.chat.api.events.internal
-
Event triggered when a message with a fragmentable format is sent.
- FragmentableMessageEvent(PublicChannel, String) - Constructor for class com.nickuc.chat.api.events.internal.FragmentableMessageEvent
- from(Object) - Static method in interface com.nickuc.chat.api.util.Component
-
Converts Minecraft components to nChat components.
G
- getApi() - Static method in interface com.nickuc.chat.api.nChatAPI
-
Returns the nLogin api.
- getApiVersion() - Method in interface com.nickuc.chat.api.nChatAPI
-
Returns the version of the api.
- getBungeeTellFormats(PrivateChannel, int) - Static method in class com.nickuc.chat.api.events.ProxyPrivateMessageEvent
-
Deprecated.
- getChannel() - Method in class com.nickuc.chat.api.events.internal.FragmentableMessageEvent
-
Gets the channel used in this event.
- getChannel() - Method in class com.nickuc.chat.api.events.PreMessageEvent
-
Gets the channel that will be used in this message.
- getChannel() - Method in class com.nickuc.chat.api.events.PrivateMessageEvent
-
Deprecated.
- getChannel() - Method in class com.nickuc.chat.api.events.ProxyPrivateMessageEvent
-
Gets the channel used in this event.
- getChannel() - Method in class com.nickuc.chat.api.events.VirtualMessageEvent
-
Gets the channel involved in this event.
- getChannelByCommand(String) - Method in interface com.nickuc.chat.api.nChatAPI
-
Gets a public channel registered by command.
- getChannelByName(String) - Method in interface com.nickuc.chat.api.nChatAPI
-
Gets a public channel registered by name.
- getChannelByNameAndCommand(String) - Method in interface com.nickuc.chat.api.nChatAPI
-
Gets a public channel registered by name and command.
- getCommand() - Method in class com.nickuc.chat.channel.PublicChannel
- getCommands() - Method in class com.nickuc.chat.channel.PublicChannel
- getDelayMessage() - Method in class com.nickuc.chat.channel.PrivateChannel
- getDelayMessage() - Method in class com.nickuc.chat.channel.PublicChannel
- getDistance() - Method in class com.nickuc.chat.channel.PublicChannel
- getFocusedChannel() - Method in interface com.nickuc.chat.api.types.PlayerSession
-
Returns the default public channel used for this player (configured by the "/focus" command)
- getFocusedPrivateChatter() - Method in interface com.nickuc.chat.api.types.PlayerSession
-
Returns the player whose conversation is focused (used to send private messages to a specific player without using the "/tell" command)
- getFocusedPrivateChatterPlayer() - Method in interface com.nickuc.chat.api.types.PlayerSession
-
Returns the player whose conversation is focused (used to send private messages to a specific player without using the "/tell" command)
- getFormat() - Method in class com.nickuc.chat.api.events.internal.FragmentableMessageEvent
-
Gets the message format.
- getFormat() - Method in class com.nickuc.chat.api.events.VirtualMessageEvent
-
Gets the message format.
- getFormat() - Method in class com.nickuc.chat.channel.PublicChannel
- getFormat(int) - Method in class com.nickuc.chat.api.events.internal.MultiFragmentableMessageEvent
- getFormat(PrivateMessageEvent.Type) - Method in class com.nickuc.chat.api.events.PrivateMessageEvent
- getFormat(ProxyPrivateMessageEvent.Type) - Method in class com.nickuc.chat.api.events.ProxyPrivateMessageEvent
- getGlobalTag(String) - Method in interface com.nickuc.chat.api.nChatAPI
-
Returns the content of a global nChat tag.
- getHandlers() - Method in class com.nickuc.chat.api.events.internal.nChatEvent
- getId() - Method in class com.nickuc.chat.api.types.PlayerNameIdPair
- getIgnored() - Method in interface com.nickuc.chat.api.types.PlayerSession
-
Returns all players who have been blocked (configured by the "/ignore" command)
- getIgnoredPlayers() - Method in interface com.nickuc.chat.api.types.PlayerSession
-
Returns all players who have been blocked (configured by the "/ignore" command)
- getLastPrivateChatter() - Method in interface com.nickuc.chat.api.types.PlayerSession
-
Returns the last player who chatted privately with this player (used for the "/reply" command).
- getLastPrivateChatterPlayer() - Method in interface com.nickuc.chat.api.types.PlayerSession
-
Returns the last player who chatted privately with this player (used for the "/reply" command).
- getMessage() - Method in class com.nickuc.chat.api.events.internal.MultiFragmentableMessageEvent
- getMessageCost() - Method in class com.nickuc.chat.channel.PrivateChannel
- getMessageCost() - Method in class com.nickuc.chat.channel.PublicChannel
- getMinBalance() - Method in class com.nickuc.chat.channel.PrivateChannel
- getMinBalance() - Method in class com.nickuc.chat.channel.PublicChannel
- getName() - Method in class com.nickuc.chat.api.types.PlayerNameIdPair
- getName() - Method in interface com.nickuc.chat.channel.Channel
- getName() - Method in class com.nickuc.chat.channel.PrivateChannel
- getName() - Method in class com.nickuc.chat.channel.PublicChannel
- getOriginalEvent() - Method in class com.nickuc.chat.api.events.PreMessageEvent
-
Gets the original event who produced this message.
- getOriginalMessage() - Method in class com.nickuc.chat.api.events.internal.MultiFragmentableMessageEvent
- getOwner() - Method in interface com.nickuc.chat.api.translator.GlobalTag
-
Gets the plugin instance that owns this global tag.
- getPermission() - Method in class com.nickuc.chat.channel.PrivateChannel
- getPermission() - Method in class com.nickuc.chat.channel.PublicChannel
- getPiece(int, String) - Method in class com.nickuc.chat.api.events.internal.MultiFragmentableMessageEvent
- getPiece(String, PrivateMessageEvent.Type) - Method in class com.nickuc.chat.api.events.PrivateMessageEvent
- getPiece(String, ProxyPrivateMessageEvent.Type) - Method in class com.nickuc.chat.api.events.ProxyPrivateMessageEvent
- getPieces(int) - Method in class com.nickuc.chat.api.events.internal.MultiFragmentableMessageEvent
- getPieces(PrivateMessageEvent.Type) - Method in class com.nickuc.chat.api.events.PrivateMessageEvent
- getPieces(ProxyPrivateMessageEvent.Type) - Method in class com.nickuc.chat.api.events.ProxyPrivateMessageEvent
- getPrivateChannelByName(String, boolean) - Method in interface com.nickuc.chat.api.nChatAPI
-
Gets a private channel registered by name.
- getPrivateChannels() - Method in interface com.nickuc.chat.api.nChatAPI
-
Lists all registered private channels.
- getProxyServers() - Method in class com.nickuc.chat.channel.PrivateChannel
- getProxyServers() - Method in class com.nickuc.chat.channel.PublicChannel
- getProxyTellFormats(PrivateChannel, int) - Static method in class com.nickuc.chat.api.events.ProxyPrivateMessageEvent
- getPublicChannels() - Method in interface com.nickuc.chat.api.nChatAPI
-
Lists all registered public channels.
- getRecipients() - Method in class com.nickuc.chat.api.events.internal.MessageEvent
- getSender() - Method in class com.nickuc.chat.api.events.PrivateMessageEvent
-
Gets the player who produced this message.
- getSender() - Method in class com.nickuc.chat.api.events.ProxyPrivateMessageEvent
-
Gets the player who produced this message.
- getSender() - Method in class com.nickuc.chat.api.events.ProxyPublicMessageEvent
-
Gets the name of the player who produced this message.
- getSender() - Method in class com.nickuc.chat.api.events.PublicMessageEvent
-
Gets the player who produced this message.
- getSender() - Method in class com.nickuc.chat.api.events.VirtualMessageEvent
-
Gets the name of the player who produced this message.
- getSenderChannel() - Method in class com.nickuc.chat.api.events.PrivateMessageEvent
-
Gets the sender's channel used in this event.
- getSenderFormat() - Method in class com.nickuc.chat.api.events.PrivateMessageEvent
-
Gets the sender's format.
- getSenderFormat() - Method in class com.nickuc.chat.api.events.ProxyPrivateMessageEvent
-
Gets the sender's format.
- getSenderFormat() - Method in class com.nickuc.chat.channel.PrivateChannel
- getSenderId() - Method in class com.nickuc.chat.api.events.ProxyPrivateMessageEvent
-
Gets the UUID of the player who produced this message.
- getSenderId() - Method in class com.nickuc.chat.api.events.ProxyPublicMessageEvent
-
Gets the UUID of the player who produced this message.
- getSenderPiece(String) - Method in class com.nickuc.chat.api.events.internal.FragmentableMessageEvent
- getSenderPieces() - Method in class com.nickuc.chat.api.events.internal.FragmentableMessageEvent
- getServerName() - Method in class com.nickuc.chat.api.events.ProxyPrivateMessageEvent
-
Gets the server name who produced this message.
- getServerName() - Method in class com.nickuc.chat.api.events.ProxyPublicMessageEvent
-
Gets the name of the server that produced this message.
- getSession(Player) - Method in interface com.nickuc.chat.api.nChatAPI
-
Returns a player's session.
- getSpyFormat() - Method in class com.nickuc.chat.api.events.internal.FragmentableMessageEvent
-
Gets the spy's format.
- getSpyFormat() - Method in class com.nickuc.chat.api.events.PrivateMessageEvent
-
Returns the spy's format.
- getSpyFormat() - Method in class com.nickuc.chat.api.events.ProxyPrivateMessageEvent
-
Gets the spy's format.
- getSpyFormat() - Method in class com.nickuc.chat.channel.PrivateChannel
- getSpyFormat() - Method in class com.nickuc.chat.channel.PublicChannel
- getSpyPiece(String) - Method in class com.nickuc.chat.api.events.internal.FragmentableMessageEvent
- getSpyPieces() - Method in class com.nickuc.chat.api.events.internal.FragmentableMessageEvent
- getSpyTag(String) - Method in class com.nickuc.chat.api.events.internal.FragmentableMessageEvent
-
Deprecated.
- getSpyTagComponent(String) - Method in class com.nickuc.chat.api.events.internal.FragmentableMessageEvent
- getSpyTags() - Method in class com.nickuc.chat.api.events.internal.FragmentableMessageEvent
-
Gets all the spy tags.
- getSpyTagValue(String) - Method in class com.nickuc.chat.api.events.internal.FragmentableMessageEvent
-
Deprecated.
- getStage() - Method in class com.nickuc.chat.api.events.ProxyPrivateMessageEvent
-
Returns the stage of this message.
- getTag(int, String) - Method in class com.nickuc.chat.api.events.internal.MultiFragmentableMessageEvent
- getTag(String) - Method in class com.nickuc.chat.api.events.internal.FragmentableMessageEvent
-
Deprecated.use
FragmentableMessageEvent.getTagComponent(String)instead - getTag(String, PrivateMessageEvent.Type) - Method in class com.nickuc.chat.api.events.PrivateMessageEvent
-
Deprecated.
- getTag(String, ProxyPrivateMessageEvent.Type) - Method in class com.nickuc.chat.api.events.ProxyPrivateMessageEvent
-
Deprecated.
- getTagComponent(String) - Method in class com.nickuc.chat.api.events.internal.FragmentableMessageEvent
- getTagComponent(String, PrivateMessageEvent.Type) - Method in class com.nickuc.chat.api.events.PrivateMessageEvent
- getTagComponent(String, ProxyPrivateMessageEvent.Type) - Method in class com.nickuc.chat.api.events.ProxyPrivateMessageEvent
- getTags() - Method in class com.nickuc.chat.api.events.internal.FragmentableMessageEvent
-
Gets all the tags.
- getTags(int) - Method in class com.nickuc.chat.api.events.internal.MultiFragmentableMessageEvent
- getTagValue(String) - Method in class com.nickuc.chat.api.events.internal.FragmentableMessageEvent
-
Deprecated.use
FragmentableMessageEvent.getTagComponent(String)instead - getTagValue(String, PrivateMessageEvent.Type) - Method in class com.nickuc.chat.api.events.PrivateMessageEvent
-
Deprecated.
- getTagValue(String, ProxyPrivateMessageEvent.Type) - Method in class com.nickuc.chat.api.events.ProxyPrivateMessageEvent
-
Deprecated.
- getTarget() - Method in class com.nickuc.chat.api.events.PrivateMessageEvent
-
Gets the player who will receive this message.
- getTarget() - Method in class com.nickuc.chat.api.events.ProxyPrivateMessageEvent
-
Gets the player who will receive this message.
- getTargetChannel() - Method in class com.nickuc.chat.api.events.PrivateMessageEvent
-
Gets the target's channel used in this event.
- getTargetFormat() - Method in class com.nickuc.chat.api.events.PrivateMessageEvent
-
Gets the target's format.
- getTargetFormat() - Method in class com.nickuc.chat.api.events.ProxyPrivateMessageEvent
-
Gets the target's format.
- getTargetFormat() - Method in class com.nickuc.chat.channel.PrivateChannel
- getTargetId() - Method in class com.nickuc.chat.api.events.ProxyPrivateMessageEvent
-
Gets the UUID of the player who will receive this message.
- getVersion() - Method in interface com.nickuc.chat.api.nChatAPI
-
Returns the version of the plugin.
- GlobalTag - Interface in com.nickuc.chat.api.translator
-
Global tags can be used to replace custom tags in all nChat contexts.
H
- handlePublicMessage(Player, String, PublicChannel, boolean, Consumer<PublicMessageEvent>) - Method in interface com.nickuc.chat.api.nChatAPI
-
Sends a message on nChat.
- handlePublicMessage(Player, String, PublicChannel, Consumer<PublicMessageEvent>) - Method in interface com.nickuc.chat.api.nChatAPI
-
Sends a message on nChat.
- handleVirtualMessage(String, PublicChannel, boolean, Consumer<VirtualMessageEvent>) - Method in interface com.nickuc.chat.api.nChatAPI
-
Sends a virtual message on nChat.
- handleVirtualMessage(String, PublicChannel, Consumer<VirtualMessageEvent>) - Method in interface com.nickuc.chat.api.nChatAPI
-
Sends a virtual message on nChat.
- handleVirtualMessage(String, String, PublicChannel, boolean, Consumer<VirtualMessageEvent>) - Method in interface com.nickuc.chat.api.nChatAPI
-
Sends a virtual message on nChat.
- handleVirtualMessage(String, String, PublicChannel, Consumer<VirtualMessageEvent>) - Method in interface com.nickuc.chat.api.nChatAPI
-
Sends a virtual message on nChat.
- hasChannelByCommand(String) - Method in interface com.nickuc.chat.api.nChatAPI
-
Check if a public channel exists by command.
- hasChannelByName(String) - Method in interface com.nickuc.chat.api.nChatAPI
-
Check if a public channel exists by name.
- hasChannelByNameAndCommand(String) - Method in interface com.nickuc.chat.api.nChatAPI
-
Check if a public channel exists by name or command.
- hasPrivateChannelByName(String, boolean) - Method in interface com.nickuc.chat.api.nChatAPI
-
Check if a private channel exists by name.
I
- id - Variable in enum class com.nickuc.chat.api.events.PrivateMessageEvent.Type
- id - Variable in enum class com.nickuc.chat.api.events.ProxyPrivateMessageEvent.Type
- id() - Method in interface com.nickuc.chat.api.types.PlayerSession
-
Returns the UUID of the owner of this player session.
- init(nChatAPI) - Static method in class com.nickuc.chat.api.nChatAPIHolder
- internal() - Method in interface com.nickuc.chat.api.nChatAPI
-
Returns the nChat internal api.
- isHighlight() - Method in class com.nickuc.chat.api.events.ProxyPublicMessageEvent
-
Gets if highlight mode is being used in this event.
- isHighlight() - Method in class com.nickuc.chat.api.events.VirtualMessageEvent
-
Gets if highlight mode is being used in this event.
- isHighlight() - Method in class com.nickuc.chat.channel.PublicChannel
- isLoaded() - Method in interface com.nickuc.chat.api.nChatAPI
-
Deprecated.
- isLoggable() - Method in class com.nickuc.chat.channel.PrivateChannel
- isLoggable() - Method in class com.nickuc.chat.channel.PublicChannel
- isMentionable() - Method in class com.nickuc.chat.channel.PublicChannel
- isMentionable(UUID, Channel) - Method in interface com.nickuc.chat.api.types.PlayerSession
-
Checks whether the player (owner of this session) can be mentioned by another player on a specific channel.
- isPreventCapslock() - Method in class com.nickuc.chat.channel.PrivateChannel
- isPreventCapslock() - Method in class com.nickuc.chat.channel.PublicChannel
- isPrivateChannelDisabled() - Method in interface com.nickuc.chat.api.types.PlayerSession
-
Returns the current state of tell/reply (private channel).
- isPrivateChannelEnabled() - Method in interface com.nickuc.chat.api.types.PlayerSession
-
Returns the current state of tell/reply (private channel).
- isProxyChannel() - Method in class com.nickuc.chat.channel.PrivateChannel
- isProxyChannel() - Method in class com.nickuc.chat.channel.PublicChannel
- isShowMessageCost() - Method in class com.nickuc.chat.channel.PublicChannel
- isSpoofSend() - Method in interface com.nickuc.chat.api.events.internal.SpoofableEvent
-
Returns if spoof mode is being used in this event.
- isSpoofSend() - Method in class com.nickuc.chat.api.events.PrivateMessageEvent
-
Returns if spoof mode is being used in this event.
- isSpoofSend() - Method in class com.nickuc.chat.api.events.ProxyPrivateMessageEvent
-
Returns if spoof mode is being used in this event.
- isSpoofSend() - Method in class com.nickuc.chat.api.events.ProxyPublicMessageEvent
-
Returns if spoof mode is being used in this event.
- isSpoofSend() - Method in class com.nickuc.chat.api.events.PublicMessageEvent
-
Returns if spoof mode is being used in this event.
K
- key() - Method in interface com.nickuc.chat.api.util.MessagePiece
-
Gets the key of this message piece.
M
- MessageEvent<T> - Class in com.nickuc.chat.api.events.internal
-
Event triggered when a message is sent.
- MessageEvent() - Constructor for class com.nickuc.chat.api.events.internal.MessageEvent
- MessagePiece - Interface in com.nickuc.chat.api.util
-
This interface is used to reference the "message pieces" implemented by nChat.
- MessagePieceMap - Class in com.nickuc.chat.api.util.map
- MessagePieceMap() - Constructor for class com.nickuc.chat.api.util.map.MessagePieceMap
- MultiFragmentableMessageEvent<T> - Class in com.nickuc.chat.api.events.internal
-
Event triggered when a message with a fragmentable format is sent.
- MultiFragmentableMessageEvent(String, int, String...) - Constructor for class com.nickuc.chat.api.events.internal.MultiFragmentableMessageEvent
N
- nChatAPI - Interface in com.nickuc.chat.api
-
nChat API interface.
- nChatAPI.nChatInternal - Interface in com.nickuc.chat.api
-
Interface used for internal nChat calls.
- nChatAPIHolder - Class in com.nickuc.chat.api
-
nChat API Holder.
- nChatAPIHolder() - Constructor for class com.nickuc.chat.api.nChatAPIHolder
- nChatEvent - Class in com.nickuc.chat.api.events.internal
-
Generic nChat event.
- nChatEvent(boolean) - Constructor for class com.nickuc.chat.api.events.internal.nChatEvent
P
- pieces - Variable in class com.nickuc.chat.api.events.internal.MultiFragmentableMessageEvent
- PlayerNameIdPair - Class in com.nickuc.chat.api.types
-
Creates a player using the name and UUID used.
- PlayerNameIdPair(UUID, String) - Constructor for class com.nickuc.chat.api.types.PlayerNameIdPair
- PlayerSession - Interface in com.nickuc.chat.api.types
-
Interface used to encapsulate the data of an nChat player session.
- PreMessageEvent - Class in com.nickuc.chat.api.events
-
Event triggered before a message is sent.
- PreMessageEvent(AsyncPlayerChatEvent, Channel) - Constructor for class com.nickuc.chat.api.events.PreMessageEvent
- PRIVATE - Enum constant in enum class com.nickuc.chat.channel.ChannelType
- PrivateChannel - Class in com.nickuc.chat.channel
-
This channel is used for private messages.
- PrivateChannel() - Constructor for class com.nickuc.chat.channel.PrivateChannel
- PrivateMessageEvent - Class in com.nickuc.chat.api.events
-
Event triggered when a private message is sent.
- PrivateMessageEvent(PrivateChannel, PrivateChannel, Player, Player, String) - Constructor for class com.nickuc.chat.api.events.PrivateMessageEvent
- PrivateMessageEvent.Type - Enum Class in com.nickuc.chat.api.events
- processFormat(MessagePieceMap[], int, String) - Method in interface com.nickuc.chat.api.nChatAPI.nChatInternal
- ProxyPrivateMessageEvent - Class in com.nickuc.chat.api.events
-
Event triggered when a private message is received via proxy.
- ProxyPrivateMessageEvent(PrivateChannel, UUID, UUID, String, String, String, String, int, String...) - Constructor for class com.nickuc.chat.api.events.ProxyPrivateMessageEvent
- ProxyPrivateMessageEvent.Type - Enum Class in com.nickuc.chat.api.events
- ProxyPublicMessageEvent - Class in com.nickuc.chat.api.events
-
Event triggered when a message is received via proxy.
- ProxyPublicMessageEvent(PublicChannel, UUID, String, String, String, boolean) - Constructor for class com.nickuc.chat.api.events.ProxyPublicMessageEvent
- PUBLIC - Enum constant in enum class com.nickuc.chat.channel.ChannelType
- publicChannel - Variable in class com.nickuc.chat.api.events.internal.FragmentableMessageEvent
- PublicChannel - Class in com.nickuc.chat.channel
-
This channel is used for public messages.
- PublicChannel() - Constructor for class com.nickuc.chat.channel.PublicChannel
- PublicMessageEvent - Class in com.nickuc.chat.api.events
-
Event triggered when a message is sent on any public channel.
- PublicMessageEvent(PublicChannel, Player, String) - Constructor for class com.nickuc.chat.api.events.PublicMessageEvent
R
- recipients - Variable in class com.nickuc.chat.api.events.internal.MessageEvent
- reloadChannel(Channel) - Method in interface com.nickuc.chat.api.nChatAPI
-
Reloads a canal.
- reloadChannels() - Method in interface com.nickuc.chat.api.nChatAPI
-
Reloads nChat's public and private channels.
- reloadConfig() - Method in interface com.nickuc.chat.api.nChatAPI
-
Reloads the nChat config.
- removeGlobalTag(String) - Method in interface com.nickuc.chat.api.nChatAPI
-
Deletes a global nChat tag.
- replacePlaceholders(Player, String) - Method in interface com.nickuc.chat.api.nChatAPI
-
Replaces an input with nChat placeholders.
- replaceTag(Player, String) - Method in interface com.nickuc.chat.api.translator.GlobalTag
-
Replaces a registered tag.
S
- saveChannel(Channel) - Method in interface com.nickuc.chat.api.nChatAPI
-
Saves a canal.
- SENDER - Enum constant in enum class com.nickuc.chat.api.events.PrivateMessageEvent.Type
- SENDER - Enum constant in enum class com.nickuc.chat.api.events.ProxyPrivateMessageEvent.Type
- setCommand(String) - Method in class com.nickuc.chat.channel.PublicChannel
- setCommands(Collection<String>) - Method in class com.nickuc.chat.channel.PublicChannel
- setDelayMessage(double) - Method in class com.nickuc.chat.channel.PrivateChannel
- setDelayMessage(double) - Method in class com.nickuc.chat.channel.PublicChannel
- setDistance(double) - Method in class com.nickuc.chat.channel.PublicChannel
- setFocusedChannel(PublicChannel) - Method in interface com.nickuc.chat.api.types.PlayerSession
-
Defines the default public channel used for this player.
- setFocusedPrivateChatter(PlayerNameIdPair) - Method in interface com.nickuc.chat.api.types.PlayerSession
-
Defines the player whose conversation is focused (used to send private messages to a specific player without using the "/tell" command)
- setFormat(int, String) - Method in class com.nickuc.chat.api.events.internal.MultiFragmentableMessageEvent
- setFormat(String) - Method in class com.nickuc.chat.api.events.internal.FragmentableMessageEvent
- setFormat(String) - Method in class com.nickuc.chat.channel.PublicChannel
- setFormat(String, PrivateMessageEvent.Type) - Method in class com.nickuc.chat.api.events.PrivateMessageEvent
- setFormat(String, ProxyPrivateMessageEvent.Type) - Method in class com.nickuc.chat.api.events.ProxyPrivateMessageEvent
- setGlobalTag(String, GlobalTag) - Method in interface com.nickuc.chat.api.nChatAPI
-
Defines a global nChat tag.
- setGlobalTag(String, GlobalTag, boolean) - Method in interface com.nickuc.chat.api.nChatAPI
-
Defines a global nChat tag.
- setHighlight(boolean) - Method in class com.nickuc.chat.api.events.ProxyPublicMessageEvent
- setHighlight(boolean) - Method in class com.nickuc.chat.channel.PublicChannel
- setIgnoredPlayers(Collection<PlayerNameIdPair>) - Method in interface com.nickuc.chat.api.types.PlayerSession
-
Defines all players who have been blocked (configured by the "/ignore" command)
- setLastPrivateChatter(PlayerNameIdPair) - Method in interface com.nickuc.chat.api.types.PlayerSession
-
Defines the last player who chatted privately with this player (used for the "/reply" command).
- setLoggable(boolean) - Method in class com.nickuc.chat.channel.PrivateChannel
- setLoggable(boolean) - Method in class com.nickuc.chat.channel.PublicChannel
- setMentionable(boolean) - Method in class com.nickuc.chat.channel.PublicChannel
- setMessage(String) - Method in class com.nickuc.chat.api.events.internal.MultiFragmentableMessageEvent
- setMessageCost(double) - Method in class com.nickuc.chat.channel.PrivateChannel
- setMessageCost(double) - Method in class com.nickuc.chat.channel.PublicChannel
- setMinBalance(double) - Method in class com.nickuc.chat.channel.PrivateChannel
- setMinBalance(double) - Method in class com.nickuc.chat.channel.PublicChannel
- setName(String) - Method in class com.nickuc.chat.channel.PrivateChannel
- setName(String) - Method in class com.nickuc.chat.channel.PublicChannel
- setPermission(String) - Method in class com.nickuc.chat.channel.PrivateChannel
- setPermission(String) - Method in class com.nickuc.chat.channel.PublicChannel
- setPreventCapslock(boolean) - Method in class com.nickuc.chat.channel.PrivateChannel
- setPreventCapslock(boolean) - Method in class com.nickuc.chat.channel.PublicChannel
- setPrivateChannelEnabled(boolean) - Method in interface com.nickuc.chat.api.types.PlayerSession
-
Defines if the private channel is enabled;
- setProxyChannel(boolean) - Method in class com.nickuc.chat.channel.PrivateChannel
- setProxyChannel(boolean) - Method in class com.nickuc.chat.channel.PublicChannel
- setProxyServers(String[]) - Method in class com.nickuc.chat.channel.PrivateChannel
- setProxyServers(String[]) - Method in class com.nickuc.chat.channel.PublicChannel
- setRecipients(Set<Player>) - Method in class com.nickuc.chat.api.events.internal.MessageEvent
- setSenderFormat(String) - Method in class com.nickuc.chat.channel.PrivateChannel
- setShowMessageCost(boolean) - Method in class com.nickuc.chat.channel.PublicChannel
- setSpoofSend() - Method in interface com.nickuc.chat.api.events.internal.SpoofableEvent
-
Defines that spoof mode will be used in this event.
- setSpoofSend() - Method in class com.nickuc.chat.api.events.PrivateMessageEvent
-
Defines that spoof mode will be used in this event.
- setSpoofSend() - Method in class com.nickuc.chat.api.events.ProxyPrivateMessageEvent
-
Defines that spoof mode will be used in this event.
- setSpoofSend() - Method in class com.nickuc.chat.api.events.ProxyPublicMessageEvent
-
Defines that spoof mode will be used in this event.
- setSpoofSend() - Method in class com.nickuc.chat.api.events.PublicMessageEvent
-
Defines that spoof mode will be used in this event.
- setSpyFormat(String) - Method in class com.nickuc.chat.api.events.internal.FragmentableMessageEvent
- setSpyFormat(String) - Method in class com.nickuc.chat.channel.PrivateChannel
- setSpyFormat(String) - Method in class com.nickuc.chat.channel.PublicChannel
- setSpyTag(String, Component) - Method in class com.nickuc.chat.api.events.internal.FragmentableMessageEvent
- setSpyTag(String, String) - Method in class com.nickuc.chat.api.events.internal.FragmentableMessageEvent
- setSpyTag(String, TextComponent) - Method in class com.nickuc.chat.api.events.internal.FragmentableMessageEvent
-
Deprecated.
- setTag(int, String, Component) - Method in class com.nickuc.chat.api.events.internal.MultiFragmentableMessageEvent
- setTag(int, String, String) - Method in class com.nickuc.chat.api.events.internal.MultiFragmentableMessageEvent
- setTag(String, Component) - Method in class com.nickuc.chat.api.events.internal.FragmentableMessageEvent
- setTag(String, Component, PrivateMessageEvent.Type) - Method in class com.nickuc.chat.api.events.PrivateMessageEvent
- setTag(String, Component, ProxyPrivateMessageEvent.Type) - Method in class com.nickuc.chat.api.events.ProxyPrivateMessageEvent
- setTag(String, String) - Method in class com.nickuc.chat.api.events.internal.FragmentableMessageEvent
- setTag(String, String, PrivateMessageEvent.Type) - Method in class com.nickuc.chat.api.events.PrivateMessageEvent
- setTag(String, String, ProxyPrivateMessageEvent.Type) - Method in class com.nickuc.chat.api.events.ProxyPrivateMessageEvent
- setTag(String, TextComponent) - Method in class com.nickuc.chat.api.events.internal.FragmentableMessageEvent
-
Deprecated.
- setTag(String, TextComponent, PrivateMessageEvent.Type) - Method in class com.nickuc.chat.api.events.PrivateMessageEvent
-
Deprecated.
- setTag(String, TextComponent, ProxyPrivateMessageEvent.Type) - Method in class com.nickuc.chat.api.events.ProxyPrivateMessageEvent
-
Deprecated.
- setTargetFormat(String) - Method in class com.nickuc.chat.channel.PrivateChannel
- SpoofableEvent - Interface in com.nickuc.chat.api.events.internal
-
Indicates that an event can be spoofed (pretending to send the message).
- SPY - Enum constant in enum class com.nickuc.chat.api.events.PrivateMessageEvent.Type
- SPY - Enum constant in enum class com.nickuc.chat.api.events.ProxyPrivateMessageEvent.Type
- STAGE_SENDER_PREPARING_MESSAGE - Static variable in class com.nickuc.chat.api.events.ProxyPrivateMessageEvent
-
Sender to Target (preparation) Server: the same as the sender (server A). Available player instances: only the sender Available formats: target and spy. What is performed: translators are called to process internal tags.
- STAGE_SENDER_TO_TARGET - Static variable in class com.nickuc.chat.api.events.ProxyPrivateMessageEvent
-
Sender to Target (ready) Server: the same as the target (server B). Available player instances: only the target Available formats: target and spy. What is performed: translators are called to process the external tags.
- STAGE_TARGET_PREPARING_MESSAGE - Static variable in class com.nickuc.chat.api.events.ProxyPrivateMessageEvent
-
Target to Sender (preparation) Server: the same as the target (server B). Available player instances: only the target Available formats: sender and spy. What is performed: translators are called to process internal tags.
- STAGE_TARGET_TO_SENDER - Static variable in class com.nickuc.chat.api.events.ProxyPrivateMessageEvent
-
Target to Sender (ready) Server: the same as the sender (server A). Available player instances: only the sender Available formats: sender and spy. What is performed: translators are called to process the external tags.
- start - Variable in class com.nickuc.chat.api.events.internal.nChatEvent
T
- TARGET - Enum constant in enum class com.nickuc.chat.api.events.PrivateMessageEvent.Type
- TARGET - Enum constant in enum class com.nickuc.chat.api.events.ProxyPrivateMessageEvent.Type
- text() - Method in interface com.nickuc.chat.api.util.Component
-
Gets the content of this component.
- to(Component, Class<T>) - Static method in interface com.nickuc.chat.api.util.Component
-
Converts nChat components to Minecraft components.
- to(Class<T>) - Method in interface com.nickuc.chat.api.util.Component
-
Converts nChat components to Minecraft components.
- toArray() - Method in class com.nickuc.chat.api.util.map.MessagePieceMap
- toString() - Method in class com.nickuc.chat.api.events.PreMessageEvent
- toString() - Method in class com.nickuc.chat.api.events.PrivateMessageEvent
- toString() - Method in class com.nickuc.chat.api.events.ProxyPrivateMessageEvent
- toString() - Method in class com.nickuc.chat.api.events.ProxyPublicMessageEvent
- toString() - Method in class com.nickuc.chat.api.events.PublicMessageEvent
- toString() - Method in class com.nickuc.chat.api.events.VirtualMessageEvent
V
- valueOf(String) - Static method in enum class com.nickuc.chat.api.events.PrivateMessageEvent.Type
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.nickuc.chat.api.events.ProxyPrivateMessageEvent.Type
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.nickuc.chat.channel.ChannelType
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.nickuc.chat.api.events.PrivateMessageEvent.Type
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.nickuc.chat.api.events.ProxyPrivateMessageEvent.Type
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.nickuc.chat.channel.ChannelType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- VirtualMessageEvent - Class in com.nickuc.chat.api.events
-
Event triggered when a virtual message is sent.
- VirtualMessageEvent(PublicChannel, String, String, boolean) - Constructor for class com.nickuc.chat.api.events.VirtualMessageEvent
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
ProxyPrivateMessageEvent.getProxyTellFormats(PrivateChannel, int)instead