Bukkit-API  1.7.9-R0.2
The inofficial Bukkit-API
ConversationPrefix.java
1 package org.bukkit.conversations;
2 
4 
5 /**
6  * A ConversationPrefix implementation prepends all output from the
7  * conversation to the player. The ConversationPrefix can be used to display
8  * the plugin name or conversation status as the conversation evolves.
9  */
10 public interface ConversationPrefix {
11 
12  /**
13  * Gets the prefix to use before each message to the player.
14  *
15  * @param context Context information about the conversation.
16  * @return The prefix text.
17  */
18  String getPrefix(ConversationContext context);
19 }
String getPrefix(ConversationContext context)