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

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.

Parameters
contextContext information about the conversation.
Returns
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: