fancydialogs: Fix dialog ids in default config

This commit is contained in:
Oliver
2025-06-27 19:02:16 +02:00
parent 6ed7b60f8a
commit b8f027a125

View File

@@ -23,10 +23,10 @@ public class FancyDialogsConfig {
logLevel = (String) ConfigHelper.getOrDefault(config, "log_level", "INFO"); logLevel = (String) ConfigHelper.getOrDefault(config, "log_level", "INFO");
config.setInlineComments("log_level", List.of("The log level of the plugin. Possible values: DEBUG, INFO, WARN, ERROR.")); config.setInlineComments("log_level", List.of("The log level of the plugin. Possible values: DEBUG, INFO, WARN, ERROR."));
welcomeDialogID = (String) ConfigHelper.getOrDefault(config, "welcome_dialog_id", "welcome_to_fancydialogs_dialog"); welcomeDialogID = (String) ConfigHelper.getOrDefault(config, "welcome_dialog_id", "welcome_to_fancydialogs");
config.setInlineComments("welcome_dialog_id", List.of("The ID of the dialog which will be shown to the player when they join the server for the first time.")); config.setInlineComments("welcome_dialog_id", List.of("The ID of the dialog which will be shown to the player when they join the server for the first time."));
quickActionsDialogID = (String) ConfigHelper.getOrDefault(config, "quick_actions_dialog_id", "quick-actions-dialog"); quickActionsDialogID = (String) ConfigHelper.getOrDefault(config, "quick_actions_dialog_id", "quick_actions");
config.setInlineComments("quick_actions_dialog_id", List.of("The ID of the dialog which will be shown to the player when they click on the quick actions key ('G' by default).")); config.setInlineComments("quick_actions_dialog_id", List.of("The ID of the dialog which will be shown to the player when they click on the quick actions key ('G' by default)."));
FancyDialogsPlugin.get().saveConfig(); FancyDialogsPlugin.get().saveConfig();