Simple case with the API
Conversation manipulation
// Get the manager
ConversationManager conversationManager = ConversationManager.getInstance();
// Get the conversation
Conversation conversation = conversationManager.getConversation("conversationId");
// Start a conversation
ActiveConversation activeConv = conversation.startNewConversation(player);// Get the manager
ConversationManager conversationManager = ConversationManager.getInstance();
// Check if player in conversation
if (conversationManager.inConversation(player)) {
// Do something
}Bukkit Events
Get information
Last updated