Package org.bukkit.conversations
Class PluginNameConversationPrefix
java.lang.Object
org.bukkit.conversations.PluginNameConversationPrefix
- All Implemented Interfaces:
ConversationPrefix
PluginNameConversationPrefix is a
ConversationPrefix
implementation
that displays the plugin name in front of conversation output.-
Field Summary
-
Constructor Summary
ConstructorDescriptionPluginNameConversationPrefix
(Plugin plugin) PluginNameConversationPrefix
(Plugin plugin, String separator, ChatColor prefixColor) -
Method Summary
Modifier and TypeMethodDescriptiongetPrefix
(ConversationContext context) Prepends each conversation message with the plugin name.
-
Field Details
-
separator
-
prefixColor
-
plugin
-
-
Constructor Details
-
PluginNameConversationPrefix
-
PluginNameConversationPrefix
-
-
Method Details
-
getPrefix
Prepends each conversation message with the plugin name.- Specified by:
getPrefix
in interfaceConversationPrefix
- Parameters:
context
- Context information about the conversation.- Returns:
- An empty string.
-