All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.bukkit.conversations.ConversationPrefix Maven / Gradle / Ivy

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);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy