Class ConversationManager
java.lang.Object
rocks.gravili.notquests.paper.conversation.ConversationManager
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionanalyze
(ConversationLine conversationLine, String beginningSpaces) void
deepDiveAndConnectStarterLines
(Conversation conversation, ArrayList<ConversationLine> lines, org.bukkit.configuration.file.YamlConfiguration config) final ArrayList<Conversation>
final Conversation
getConversation
(String identifier) final Conversation
getConversationAttachedToArmorstand
(org.bukkit.entity.ArmorStand armorstand) getConversationForNPCID
(int npcID) getConversationsFolder
(Category category) final int
getOpenConversation
(UUID uuid) final HashMap<UUID,
ConversationPlayer> void
void
loadConversationsFromConfig
(Category category) parseActionString
(List<String> allActionsString) parseConditionsString
(List<String> allConditionsString) void
playConversation
(org.bukkit.entity.Player player, Conversation conversation) void
stopConversation
(ConversationPlayer conversationPlayer)
-
Constructor Details
-
ConversationManager
-
-
Method Details
-
getMaxChatHistory
public final int getMaxChatHistory() -
getConversationsFolder
-
getConversationForNPCID
-
getOpenConversation
-
getOpenConversations
-
createTestConversation
-
playConversation
-
loadConversationsFromConfig
public void loadConversationsFromConfig() -
loadConversationsFromConfig
-
deepDiveAndConnectStarterLines
public void deepDiveAndConnectStarterLines(Conversation conversation, ArrayList<ConversationLine> lines, org.bukkit.configuration.file.YamlConfiguration config) -
getChatHistory
-
getConversationChatHistory
-
getAllConversations
-
stopConversation
-
parseConditionsString
-
parseActionString
-
getConversation
-
getConversationAttachedToArmorstand
public final Conversation getConversationAttachedToArmorstand(org.bukkit.entity.ArmorStand armorstand) -
analyze
-