Package org.bukkit.conversations
Interface ConversationPrefix
- All Known Implementing Classes:
NullConversationPrefix
,PluginNameConversationPrefix
Deprecated, for removal: This API element is subject to removal in a future version.
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 TypeMethodDescriptiongetPrefix
(@NotNull ConversationContext context) 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.
-
AsyncChatEvent
or alternatively usingDialog
to get user input.