Bukkit-API  1.7.9-R0.2
The inofficial Bukkit-API
org.bukkit.conversations.PluginNameConversationPrefix Class Reference
Inheritance diagram for org.bukkit.conversations.PluginNameConversationPrefix:

Public Member Functions

 PluginNameConversationPrefix (Plugin plugin)
 PluginNameConversationPrefix (Plugin plugin, String separator, ChatColor prefixColor)
String getPrefix (ConversationContext context)

Protected Attributes

String separator
ChatColor prefixColor
Plugin plugin

Detailed Description

PluginNameConversationPrefix is a ConversationPrefix implementation that displays the plugin name in front of conversation output.

Definition at line 11 of file PluginNameConversationPrefix.java.

Member Function Documentation

String org.bukkit.conversations.PluginNameConversationPrefix.getPrefix ( ConversationContext  context)

Prepends each conversation message with the plugin name.

contextContext information about the conversation.
An empty string.

Implements org.bukkit.conversations.ConversationPrefix.

Definition at line 37 of file PluginNameConversationPrefix.java.

37  {
38  return cachedPrefix;
39  }

The documentation for this class was generated from the following file: