- Added a contrast checker, so when players pick their own color using "/cc hex" they don't pick a color that is way too dark/unreadable (you can toggle this in settings.yml)
- Added AxQuestBoard hook, which can be used as a currency
- Added suffixes for each currency, which can be used with the %suffix% placeholder in GUI names, lores and purchasing messages
- Internal code changes
- Fixed an issue with the plugin not loading up in certain cases (IMPORTANT: IF YOU ARE USING A H2 DATABASE TO STORE THE PLUGIN DATA YOU'LL HAVE TO DELETE IT BEFORE REBOOTING/STARTING YOUR SERVER AFTER UPDATING)
- Now you can change the default value of the %aliienchatcolor_format% placeholder in the settings.yml file (including using colors if you want to)
- Now if vault does not have any permissions plugin hooked into it purchases won't be run, rather than running the color purchases and failing to give players the respective permission
- If a purchase cannot be handled due to the server lacking a permissions plugin with vault, it will notify all online players with the aliien.chatcolor.admin permission
- Now if you select an invalid storage type the plugin will throw a warning in console and default to SQLite, instead of just defaulting to SQLite
- Removed the aliien.* permission due to it being unecessary/confusing if you are using any other of my plugins (aliien.chatcolor.* is still available)
- Fixed the confirmation-gui.yml file failing to reload
- Other internal edits that won't make any difference to you, but will allow updates to roll out more easily in the future
- Added a confirmation gui for color purchases
- Added a toggleable option in settings.yml to toggle the use of the confirmation menu (I recommend leaving this on)
- Now you can use aliien.* and aliien.chatcolor.* permissions to grant all plugin perms
- Now you can use aliien.chatcolor.admin.* to grant all admin perms
- Recoded the way commands are handled to be a lot cleaner
- Fixed an issue where the plugin would say it'd hook into vault 2 times
Important: vault is now a required dependency if you want to use the new features (if you don't you can still use this update with them disabled and not have vault)
- Added new economy option to make chat colors purchasable through the main menu, which should support 99% of the economy plugins out there, and even custom-made ones (read the documentation for how to use this)
- Optimized the way the plugin handles opening the main menu (it should be a lot faster now)
- Optimized the way the plugin saves active chat colors
- Added %aliienchatcolor_purchasable_<color>% and %aliienchatcolor_is_purchasable_<color>%, returning "True" or "False" if a color is purchasable or not
- Added a toggleable logs file, which logs when a player purchases a chat color into a .txt file
- Changed the default storage option from PDC to SQLITE
- Added a few just-in-case features in case you accidentally misconfigure a chat color
- Fixed a bug where chat colors would be blindly saved into memory even if they were invalid
- Fixed a few GUI row-mismatch edge cases
- Refactored a good chunk of the code
- Fixed a bug that would make the plugin not load in certain cases
- Internal optimization changes.
- Updated dependencies.
- The plugin will now generate an "AliienCore" folder inside your /plugins folder. Please ignore this, as this was done to reduce the plugin's jar size by a lot.
