- changed default present type textures to custom textures I assembled
- allowed MySql persistence on the present data to allow for BungeeCord/Multi-Server support
*Please also update the core library to v1.8 for this update
*This version requires Java 17 to run and is for MC versions 1.17+
*For existing users, please make backups of your data.yml file before updating. There is code to migrate this (now stored in data/presents.yml) but it's best to be safe =]
- separated out config files for ease of use
- configs auto reload when the file is updated
- added the ability to add more present types (up to 54), just add more items to the present-types.yml file!
- reworked some of the on-screen text so things may look a bit different
*Please also update the core library to v1.6 for this update
- Fixed bug that made items unstackable
- moved reload command to the core plugin
- updated config to use MessageFormat. Please replace '%s' with '{0}', '{1}' etc. (or delete config and let it regenerate)
- made code changes from linting suggestions
*Please also update the core library to v1.5 as this includes a lot of refactoring to how GUIs work
- Added option to increase the allowed capacity of each individual present type from anything between 1 and 54. If present types have different capacities this will be displayed on the present selection screen so that the player sees the difference in what they are picking.
In making the above change I also did a lot of testing around the refactoring I did and discovered 2 bugs which are now fixed:
- Items could get lost if the server is stopped and either a present fill or present receive menu is open. I have added a shutdown hook that will close inventories and resolve items before the players are kicked on shutdown.
- Items can get shift clicked into the present receive menu if they are the same type but only the original quantity of items could be retrieved from the present. To stop this I have prevented stacking of items inside the present with that of a player's inventory until the item has left the present.
Thank you for the continued interest, support and suggestions for my plugin, and of course, have a fantastic Christmas! =]
- Added Vault integration as a soft dependency that allows presents to have a cost
- Added version update notifier which notifies op roles
- Added bstats metrics
- updated the config to add descriptions
- bugfix to prevent present creation with shulker box as this willl increase the size of the present and could allow people to have infinite invenotry size which is not good. Thanks
elek__for the suggestion.
- Updated to only alow for one slot to be used. This is a design decision to prevent players creating presents to allow them to carry more items for free.
- Added backwards compatibility for v1.0 to allow opening of a present with more than 1 item.
- Fix to stop present creation if no items were added to the present.
- Supported and tested on Minecraft 1.18.