001 package org.bukkit.conversations; 002 003 import org.bukkit.command.CommandSender; 004 005 /** 006 * A ConversationPrefix implementation prepends all output from the 007 * conversation to the player. The ConversationPrefix can be used to display 008 * the plugin name or conversation status as the conversation evolves. 009 */ 010 public interface ConversationPrefix { 011 012 /** 013 * Gets the prefix to use before each message to the player. 014 * 015 * @param context Context information about the conversation. 016 * @return The prefix text. 017 */ 018 String getPrefix(ConversationContext context); 019 }