Newer
Older
ultramine_bukkit / src / main / java / org / bukkit / conversations / ConversationPrefix.java
@vlad20012 vlad20012 on 24 Feb 2017 515 bytes initial
package org.bukkit.conversations;

/**
 * A ConversationPrefix implementation prepends all output from the
 * conversation to the player. The ConversationPrefix can be used to display
 * the plugin name or conversation status as the conversation evolves.
 */
public interface ConversationPrefix
{

	/**
	 * Gets the prefix to use before each message to the player.
	 *
	 * @param context Context information about the conversation.
	 * @return The prefix text.
	 */
	String getPrefix(ConversationContext context);
}