Files
DeltaZern/paper-api/src/main/java/org/bukkit/conversations/ConversationPrefix.java
T
Bukkit/Spigot bb50f1a774 Pulling all pending Bukkit-JavaDoc changes
A special thanks goes to @aerouk for almost all of the changes found here.

By: Wesley Wolfe <weswolf@aol.com>
2013-12-15 01:07:43 -05:00

20 lines
579 B
Java

package org.bukkit.conversations;
import org.bukkit.command.CommandSender;
/**
* 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);
}