You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
.required("conversation", conversationArgument(main), NQDescription.of("Name of the Conversation."))
181
181
.flag(NQFlag.presence("printToConsole", NQDescription.of("Prints the output to the console"))).commandDescription(NQDescription.of("Analyze specific conversations."))
182
182
.handler((context) -> {
@@ -195,7 +195,7 @@ public AdminConversationCommands(final NotQuests main,
195
195
}));
196
196
197
197
manager.command(conversationBuilder
198
-
.literal("start")
198
+
.literal("start", NQDescription.of("Starts the selected conversation."))
199
199
.required("conversation", conversationArgument(main), NQDescription.of("Name of the Conversation."))
200
200
.senderType(Player.class).commandDescription(NQDescription.of("Starts a conversation."))
201
201
.handler((context) -> {
@@ -209,12 +209,12 @@ public AdminConversationCommands(final NotQuests main,
finalNQCommandBuilderconversationEditBuilder = conversationBuilder.literal("edit", NQDescription.of("Opens subcommands for editing a saved conversation."))
213
213
.required("conversation", conversationArgument(main), NQDescription.of("Name of the Conversation."));
214
214
215
215
manager.command(conversationEditBuilder
216
-
.literal("npcs")
217
-
.literal("add")
216
+
.literal("npcs", NQDescription.of("Manages NPCs attached to this quest or conversation."))
217
+
.literal("add", NQDescription.of("Attaches the selected conversation to an NPC or armor stand."))
218
218
.required("NPC", nqNPCArgument(main, false, true), NQDescription.of("ID of the NPC which should start the conversation")).commandDescription(NQDescription.of("Add conversation to NPC"))
.literal("speakers", NQDescription.of("Manages speakers used by conversation lines."))
300
+
.literal("add", NQDescription.of("Creates a new speaker for the selected conversation."), "create")
301
+
.required("speaker-name", NQArguments.stringArgument(), NQDescription.of("Unique speaker identifier used by conversation lines and speaker options."), (context, input) -> {
302
302
List<String> completions = newArrayList<>();
303
303
completions.add("<Enter new Speaker Name>");
304
304
returncompletions;
@@ -333,8 +333,8 @@ public AdminConversationCommands(final NotQuests main,
333
333
}));
334
334
335
335
manager.command(conversationEditBuilder
336
-
.literal("speakers")
337
-
.literal("list", "show").commandDescription(NQDescription.of("Adds / creates a new speaker for the conversation."))
336
+
.literal("speakers", NQDescription.of("Manages speakers used by conversation lines."))
337
+
.literal("list", NQDescription.of("Lists every speaker in the selected conversation."), "show").commandDescription(NQDescription.of("Lists every speaker in the conversation."))
@@ -390,8 +392,8 @@ public AdminConversationCommands(final NotQuests main,
390
392
}));
391
393
392
394
manager.command(conversationEditBuilder
393
-
.literal("category")
394
-
.literal("show").commandDescription(NQDescription.of("Shows the current category of this Conversation.."))
395
+
.literal("category", NQDescription.of("Shows or changes the category assigned to the selected conversation."))
396
+
.literal("show", NQDescription.of("Shows the category currently assigned to the selected conversation.")).commandDescription(NQDescription.of("Shows the current category of this Conversation.."))
@@ -404,8 +406,8 @@ public AdminConversationCommands(final NotQuests main,
404
406
}));
405
407
406
408
manager.command(conversationEditBuilder
407
-
.literal("category")
408
-
.literal("set")
409
+
.literal("category", NQDescription.of("Shows or changes the category assigned to the selected conversation."))
410
+
.literal("set", NQDescription.of("Moves the selected conversation into another category."))
409
411
.required("category", categoryArgument(main), NQDescription.of("New category for this Conversation.")).commandDescription(NQDescription.of("Changes the current category of this Conversation."))
0 commit comments