v1.16 - Quality-of-Life Tweaks & Bug Fixes
This is likely to be the last update to ChatColor for a long time (unless there are any major bugs!). Thank you all very much for your support of my plugin, it was the first project I ever made when I started learning programming so it's been a long journey! <3
Glad to have helped so many of you have a colourful server chat!
All the best,
Sulphi~
Changes:
- Added COMMAND type items to the GUI
- These will run a command from the console on click
- The data field should be the command, you can use %player% as a placeholder for the player's name
- Added ability to choose the default colour from the GUI
- To make use of this, add a COLOUR item with 'default' as the data field
- Added ability to use the existing item's material when a player doesn't have permission for the colour
- To use this, set the material for the no-permission item to COPY in gui.yml
- Added a separate default GUI configuration for MC versions <1.16 to remove invalid colours & player heads
- This will stop all errors when first setting up the plugin on legacy versions
- Added verbose colour & modifier permissions
- For example chatcolor.color.red, chatcolor.modifier.bold
- Added support for custom modifier display names in the GUI
- The obfuscated modifier uses this by default now
- To make use of this, set the name field on the modifier item, just like any other GUI item
- Tweaked the ChatColorEvent class to avoid issues with Paper servers
- Tweaked the use-color-codes permission to more accurately detect when a player's chat message is coloured
- Added a console message when player heads are not supported; normal player heads will show in the GUI instead of throwing errors
- You can no longer set broken gradient colours via command in MC versions <1.16 (as it should be!)
Many thanks to you all, it's been great!
