# Changelog 23.08.2024
### Added:
- New events for handling backpacks, opening/closing
- Added ability to set custom items to gui as buttons, etc. [Preview](https://www.youtube.com/watch?v=0YHGMNJyUCM)
- Spanish language Translated by: `Sopherine(isofix19)`
- Added support for the ResourcePackManager plugin
- Default resourcepack will be in folder: `BackpackPlus/pack` (of course, changes to it will not be taken into account
by the plugin, you must have a ResourcePackManager for the changes to take effect)
- Added ability to turn off showing backpack contents in lore: `show-backpack-content-lore`
- Added ability to block putting backpacks into containers (config.yml: `block-backpack-insert-containers`)
- Added checking if the plugin is connected to the database. If it is not connected the plugin will be disabled
### Changes:
- Improved the code so that it works with events
- Changes in config and [resourcepack](https://mc-packs.net/download/e1a5ae322cdaf23fa993487f8caddb4384a7b140), from now
on it will also be in the `BackpackPlus/pack` folder
### Added options to config.yml:
- Custom fill object between buttons:
- `Gui.filling-use-custom-model` - Whether it should use a custom item
- `Gui.filling-custom-model-id` - Custom Model Id
- `Gui.filling-custom-model-material` - Custom Model Material
- Custom item to fill excess spaces in backpacks:
- `Gui.overfill-use-custom-model` - Whether it should use a custom item
- `Gui.overfill-custom-model-id` - Custom Model Id
- `Gui.overfill-custom-model-material` - Custom Model Material
- Custom Next page item:
- `Gui.page-next-button-use-custom-model` - Should the next page button be as a custom model if it is on false will
be used head player
- `Gui.page-next-button-custom-model-id` - Custom Model Id
- `Gui.page-next-button-custom-model-material` - Custom Model Material
- Custom Previous page item
- `Gui.page-previous-button-use-custom-model` - Should the previous page button be as a custom model if it is on
false will be used head player
- `Gui.page-previous-button-custom-model-id` - Custom Model Id
- `Gui.page-previous-button-custom-model-material` - Custom Model Material
- `show-backpack-content-lore` - If the option is enabled it will show the contents of the backpack in lore
- `block-backpack-insert-containers`- If this option is enabled putting backpacks into specific containers will be
blocked
- `blocked-containers` - List of containers to be blocked, that is, it will not be possible to put backpacks in them
### Fixed:
- From now on, backpacks should not be opened several times what happened in the case after RMB spamming
- When a player loses connection or anything else the backpack should not leave locked
- Fixed closing all backpacks when reloading the server
- From now on, there should be no more problems with disappearing items from backpacks
- Fixed the command to block items/materials - from now on, the command will save blocked items
Developer information
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle.
maven { name = "Modrinth"; url = "https://api.modrinth.com/maven" }