Interface ConversationPrefix

All Known Implementing Classes:
NullConversationPrefix, PluginNameConversationPrefix

@Deprecated(forRemoval=true) public interface ConversationPrefix
Deprecated, for removal: This API element is subject to removal in a future version.
The conversation API has been deprecated for removal. This system does not support component based messages and has been slowly losing functionality over the years as Minecraft has changed that this API can not adapt to. It is recommended you instead manually listen to the AsyncChatEvent or alternatively using Dialog to get user input.
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.
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
    Gets the prefix to use before each message to the player.
  • Method Details

    • getPrefix

      Deprecated, for removal: This API element is subject to removal in a future version.
      Gets the prefix to use before each message to the player.
      Parameters:
      context - Context information about the conversation.
      Returns:
      The prefix text.