For this version, you will need to add a new key to your config, "language" (full default config available at the bottom); default value is "en_US" for English. Also remove the entire messages section from the config.yml. Lastly, start/restart your server and let the new language structure and file generate.
Alternatively, you can backup your entire Bloons plugin folder, delete it, let it regenerate, and then migrate your old settings.
Changes:
- Fixed lead dropping when moving at fast, non-vanilla, speeds
- Fixed issues regarding messages not loading
- Added new key to config "language." Default value: "language: en_US"
- Restructured language configuration-language files are now in "/languages"
Latest default config.yml:
YAML:# --------------------------------------------------# # # Bloons 1.1.6 # Made by Jeqo # # Wiki: https://jeqo.net/wiki/bloons # Discord: https://jeqo.net/discord # # Default Assets Made by TwistedDreams # Get custom balloons and more for your server: # https://mcmodels.net/vendors/pixelsonpoint/ # # --------------------------------------------------# # SETTINGS # # --------------------------------------------------# # # Send a message to operators when they join if there is a Bloons update. check-for-updates: true # The language file to load. This will be used for all messages in the plugin. language: en_US # Do you want to close the menu when a player equips a balloon? close-on-equip: true # Do you want to close the menu when a player unequips a balloon? close-on-unequip: true # Do you want to hide balloons that the player does not have permission for? hide-balloons-without-permission: true # Title for the balloons menu. menu-title: "&f" # Amount of slots per page. Valid values: 27, 36, 45, and 54. 9 of these slots will be used for the menu buttons. menu-size: 54 # Amount of slots from the top that you want the balloons to appear in. Valid values: 9, 18, 27, 36, and 45. # This has the be at least 9 less than the menu-size! balloon-slots: 45 # Notice: Keep buttons in the last row of your entire menu to avoid any bugs! buttons: previous-page: material: FLINT custom-model-data: 1 name: '<gray>← ᴘʀᴇᴠɪᴏᴜs ᴘᴀɢᴇ' slots: - 48 unequip: material: FLINT custom-model-data: 2 name: '<gray>ᴜɴᴇǫᴜɪᴘ ʙᴀʟʟᴏᴏɴ' slots: - 49 next-page: material: FLINT custom-model-data: 3 name: '<gray>ɴᴇxᴛ ᴘᴀɢᴇ →' slots: - 50
Changes:
- Added a check to check if the type is valid and is there in a balloon config
There has been a config restructure with this version release! Create a backup of your current Bloons folder before proceeding with the update. Simply move all your balloon entries from your current config into a designated "balloons" directory within the Bloons plugin folder (Bloons/balloons/) and create YML files with any name and insert your balloons in there.
The new structure should look similar to this:
Code:Bloons/ ├── config.yml └── balloons/ ├── balloons_pack_1.yml └── balloons_pack_2.yml
Changes:
- New config restructure to support "packs"
- Fixed an issue with colors in the menu title
- Fixed items' lore not appearing sometimes in the balloon menu
- Overhauled the way configs are loaded
- Codebase organized and cleaned up-minimized size and increased performance