From b601e9722c05376633669620eef936e07129824f Mon Sep 17 00:00:00 2001 From: Ryder Belserion Date: Wed, 14 Aug 2024 22:37:06 -0400 Subject: [PATCH] update default config/messages file --- src/main/resources/config.yml | 94 ++++++++++++++++----------------- src/main/resources/messages.yml | 29 +++++++++- 2 files changed, 74 insertions(+), 49 deletions(-) diff --git a/src/main/resources/config.yml b/src/main/resources/config.yml index f73bd2244..4014f5b02 100644 --- a/src/main/resources/config.yml +++ b/src/main/resources/config.yml @@ -1,9 +1,9 @@ # Support: https://discord.gg/badbones-s-live-chat-182615261403283459 # Github: https://github.com/Crazy-Crew -# +# # Issues: https://github.com/Crazy-Crew/CrazyCrates/issues # Features: https://github.com/Crazy-Crew/CrazyCrates/issues -# +# # List of all sounds: https://minecraft.wiki/w/Sounds.json#Java_Edition_values # List of all enchantments: https://jd.papermc.io/paper/1.20/org/bukkit/enchantments/Enchantment.html root: @@ -44,7 +44,7 @@ root: # This will wipe the example folder on /crazycrates reload or plugin startup. so you always have fresh examples to look at. update-examples-folder: true # The prefix used in commands - command_prefix: '[CrazyCrates]: ' + command_prefix: "[CrazyCrates]: " # Settings related to guis. gui: # If /crates should open the main menu. Warning: This will remove the menu button from crate previews. @@ -105,7 +105,7 @@ gui: # The custom model data for the item, -1 is disabled. custom-model-data: -1 # The name of the item. - name: ' ' + name: " " # The lore of the item. lore: [] customizer: @@ -113,48 +113,48 @@ gui: toggle: true # The items to set to the gui. items: - - 'slot:1, item:red_stained_glass_pane, name: ' - - 'slot:2, item:red_stained_glass_pane, name: ' - - 'slot:3, item:red_stained_glass_pane, name: ' - - 'slot:4, item:red_stained_glass_pane, name: ' - - 'slot:5, item:red_stained_glass_pane, name: ' - - 'slot:6, item:red_stained_glass_pane, name: ' - - 'slot:7, item:red_stained_glass_pane, name: ' - - 'slot:8, item:red_stained_glass_pane, name: ' - - 'slot:9, item:red_stained_glass_pane, name: ' - - 'slot:37, item:red_stained_glass_pane, name: ' - - 'slot:38, item:red_stained_glass_pane, name: ' - - 'slot:39, item:red_stained_glass_pane, name: ' - - 'slot:40, item:red_stained_glass_pane, name: ' - - 'slot:41, item:red_stained_glass_pane, name: ' - - 'slot:42, item:red_stained_glass_pane, name: ' - - 'slot:43, item:red_stained_glass_pane, name: ' - - 'slot:44, item:red_stained_glass_pane, name: ' - - 'slot:45, item:red_stained_glass_pane, name: ' - - 'slot:10, item:blue_stained_glass_pane, name: ' - - 'slot:19, item:blue_stained_glass_pane, name: ' - - 'slot:28, item:blue_stained_glass_pane, name: ' - - 'slot:18, item:blue_stained_glass_pane, name: ' - - 'slot:27, item:blue_stained_glass_pane, name: ' - - 'slot:36, item:blue_stained_glass_pane, name: ' - - 'slot:11, item:cyan_stained_glass_pane, name: ' - - 'slot:13, item:cyan_stained_glass_pane, name: ' - - 'slot:15, item:cyan_stained_glass_pane, name: ' - - 'slot:25, item:cyan_stained_glass_pane, name: ' - - 'slot:17, item:cyan_stained_glass_pane, name: ' - - 'slot:20, item:cyan_stained_glass_pane, name: ' - - 'slot:21, item:cyan_stained_glass_pane, name: ' - - 'slot:22, item:cyan_stained_glass_pane, name: ' - - 'slot:23, item:cyan_stained_glass_pane, name: ' - - 'slot:24, item:cyan_stained_glass_pane, name: ' - - 'slot:25, item:cyan_stained_glass_pane, name: ' - - 'slot:26, item:cyan_stained_glass_pane, name: ' - - 'slot:29, item:cyan_stained_glass_pane, name: ' - - 'slot:31, item:cyan_stained_glass_pane, name: ' - - 'slot:32, item:cyan_stained_glass_pane, name: ' - - 'slot:33, item:cyan_stained_glass_pane, name: ' - - 'slot:34, item:cyan_stained_glass_pane, name: ' - - 'slot:35, item:cyan_stained_glass_pane, name: ' + - "slot:1, item:red_stained_glass_pane, name: " + - "slot:2, item:red_stained_glass_pane, name: " + - "slot:3, item:red_stained_glass_pane, name: " + - "slot:4, item:red_stained_glass_pane, name: " + - "slot:5, item:red_stained_glass_pane, name: " + - "slot:6, item:red_stained_glass_pane, name: " + - "slot:7, item:red_stained_glass_pane, name: " + - "slot:8, item:red_stained_glass_pane, name: " + - "slot:9, item:red_stained_glass_pane, name: " + - "slot:37, item:red_stained_glass_pane, name: " + - "slot:38, item:red_stained_glass_pane, name: " + - "slot:39, item:red_stained_glass_pane, name: " + - "slot:40, item:red_stained_glass_pane, name: " + - "slot:41, item:red_stained_glass_pane, name: " + - "slot:42, item:red_stained_glass_pane, name: " + - "slot:43, item:red_stained_glass_pane, name: " + - "slot:44, item:red_stained_glass_pane, name: " + - "slot:45, item:red_stained_glass_pane, name: " + - "slot:10, item:blue_stained_glass_pane, name: " + - "slot:19, item:blue_stained_glass_pane, name: " + - "slot:28, item:blue_stained_glass_pane, name: " + - "slot:18, item:blue_stained_glass_pane, name: " + - "slot:27, item:blue_stained_glass_pane, name: " + - "slot:36, item:blue_stained_glass_pane, name: " + - "slot:11, item:cyan_stained_glass_pane, name: " + - "slot:13, item:cyan_stained_glass_pane, name: " + - "slot:15, item:cyan_stained_glass_pane, name: " + - "slot:25, item:cyan_stained_glass_pane, name: " + - "slot:17, item:cyan_stained_glass_pane, name: " + - "slot:20, item:cyan_stained_glass_pane, name: " + - "slot:21, item:cyan_stained_glass_pane, name: " + - "slot:22, item:cyan_stained_glass_pane, name: " + - "slot:23, item:cyan_stained_glass_pane, name: " + - "slot:24, item:cyan_stained_glass_pane, name: " + - "slot:25, item:cyan_stained_glass_pane, name: " + - "slot:26, item:cyan_stained_glass_pane, name: " + - "slot:29, item:cyan_stained_glass_pane, name: " + - "slot:31, item:cyan_stained_glass_pane, name: " + - "slot:32, item:cyan_stained_glass_pane, name: " + - "slot:33, item:cyan_stained_glass_pane, name: " + - "slot:34, item:cyan_stained_glass_pane, name: " + - "slot:35, item:cyan_stained_glass_pane, name: " # Settings related to crates. crate: # Whether to show the display item when opening QuickCrate @@ -199,4 +199,4 @@ crate: disabled-worlds: - world_nether # This option if set to true will force the crate to take the required keys set in the crate file - use-required-keys: true \ No newline at end of file + use-required-keys: false \ No newline at end of file diff --git a/src/main/resources/messages.yml b/src/main/resources/messages.yml index a86848cbf..8aacf8f31 100644 --- a/src/main/resources/messages.yml +++ b/src/main/resources/messages.yml @@ -1,9 +1,9 @@ # Support: https://discord.gg/badbones-s-live-chat-182615261403283459 # Github: https://github.com/Crazy-Crew -# +# # Issues: https://github.com/Crazy-Crew/CrazyCrates/issues # Features: https://github.com/Crazy-Crew/CrazyCrates/issues -# +# misc: # A list of available placeholders: {command} unknown-command: "{prefix}{command} is not a known command." @@ -131,6 +131,31 @@ command: no-item-in-hand: "{prefix}You need to have an item in your hand to add it {crate}." # A list of available placeholders: {crate}, {prize} add-item-from-hand: "{prefix}The item has been added to the {crate} in prize #{prize}." + migrate: + # A list of available placeholders: {file}, {type}, {reason} + error: + "{prefix}We could not migrate {file} using {type} + migration for {reason}." + # A list of available placeholders: {prefix} + not-available: "{prefix}This migration type is not available." + plugin-not-available: "{prefix}The plugin {name} is not enabled. Cannot use as migration!" + # A list of available placeholders: {type}, {files} + # + # {files} will output multiple crates if migrating from another plugin + success: + - "━━━━━━━━━━━━━━━━━━━ Migration Stats ━━━━━━━━━━━━━━━━━━━" + - "» Successful Conversions: " + - " ⤷ {succeeded_amount}" + - "» Failed Conversions: " + - " ⤷ {failed_amount}" + - "" + - "Conversion Time: {time}" + - "Conversion Type: {type}" + - "" + - "Converted Files:" + - "{files}" + - "" + - "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━" convert: no-files-to-convert: "No available plugins to convert files." error-converting-files: "An error has occurred while trying to convert files. We could not convert {file} so please check the console."