Key Changes Fixed: - Fixed bug with InventoryView not found on versions
1.20/4 Updated: - Updated in resourcepack settings and file(`resourcepack.zip`) to the latest, from now it works from version 1.19 to the latest thanks to user:
iijj22gg Added: - Added 3 missing options to config.yml (This did not affect the operation of the plugin because they were automatically completed)
Upgrade Steps
1.
Backup Files: Follow the instructions in the "Important Notes" section above.
2.
Replace Plugin Files: Replace the existing plugin files with the new version.
3.
Update config.yml: Update your configuration file to the latest format using the provided
config template.
4.
Restart the Server: Restart your server and verify that everything is functioning correctly.
Fixed: - Fixed the option to save backpacks in the player's inventory (caused a database disconnection error for SQLite)
Upgrade Steps
1.
Backup Files: Follow the instructions in the "Important Notes" section above.
2.
Replace Plugin Files: Replace the existing plugin files with the new version.
3.
Update config.yml: Update your configuration file to the latest format using the provided
config template.
4.
Restart the Server: Restart your server and verify that everything is functioning correctly.
Configuration Overhaul - Major updates to
config.yml. Refer to the updated documentation for details on the required changes.
- Added new configuration options to enhance flexibility and control.
Database Enhancements - Optimized database queries for better performance.
- Introduced support for additional database configurations.
- Improved compatibility with MySQL and SQLite.
Added Features -
Error Message: Displayed if a backpack fails to load from the database (or does not exist).
-
Backpacks After Death: - Saving of backpacks in inventory after a player's death.
- To enable, set
keep-backpacks-after-death to
true.
- Configurable permissions for this feature (
backpackplus.keep.backpacks by default).
-
Per-Backpack Material Customization. -
Cache System: Improved performance through caching.
-
Filtered Backpacks: - Ability to set a backpack type to "filtered," allowing only specified items to be stored.
-
Command for Settings: -
/backpackplus settings <tier> to change basic backpack settings.
-
Item Movement Sounds: - Sounds when moving items in a backpack.
- To enable, set
play-song-when-item-moved-in-backpack to
true.
-
Additional MySQL Options: Related to HikariCP settings.
-
Backpack Descriptions: Ability to set descriptions in the configuration.
-
Content Display Option: Option to disable displaying the contents of backpacks.
Upgrade Steps
1.
Backup Files: Follow the instructions in the "Important Notes" section above.
2.
Replace Plugin Files: Replace the existing plugin files with the new version.
3.
Update config.yml: Update your configuration file to the latest format using the provided
config template.
4.
Restart the Server: Restart your server and verify that everything is functioning correctly.
I recommend making a copy of the BackpackPlus folder before updating the plugin Remember to change only the .jar file and do not delete the BackpackPlus folder.
Fixed: - Loading options for custom items (filling and overfill)
If something doesn't work as it should report the error on
discord
I recommend making a copy of the BackpackPlus folder before updating the plugin Remember to change only the .jar file and do not delete the BackpackPlus folder.
Changelog 20.09.2024 [1.4.4]
Fixed:
The code responsible for players' heads has been improved
Error with “Cannot have empty/air choice” has been fixed
Changed:
Needed libraries will now be loaded by “SpigotLibraryLoader”
If something doesn't work as it should report the error on
discord
I recommend making a copy of the BackpackPlus folder before updating the plugin
Remember to change only the .jar file and do not delete the BackpackPlus folder.
Changelog 14.09.2024 [1.4.3]
Improved:
Updated the code responsible for the commands
Command messages will depend on the language set (not all)
Empty messages will not be sent for players
Fixed sending messages when the player clicks on the backpack menu
Added:
Added command: /backpack resourcepack reload (permission: backpackplus.admin.resourcepack.reload) to reload resourcepack from config.yml
Remember to back up the entire BackpackPlus folder and if you are using MySQL back up the backpack database as well. Remember to change only the .jar file and do not delete the BackpackPlus folder.
Changelog 23.08.2024
Added:
New events for handling backpacks
Added ability to set custom items to gui as buttons, etc. [Preview]
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], 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
Remember to make a copy of your BackpackPlus folder
Changelog 09.06.2024
Added:
Added ability to lock an item to prevent it from being placed in a backpack
Command to block items: `/backpack block <hand | name> [<Material Name>]` Permission: `backpackplus.admin.block` - Adds item/material to blocked list. If it gets bugged let me know
Fixed:
Fixed a bug related to fireworks that made it impossible to load a backpack.
Remember to make a copy of your BackpackPlus folder
Changelog 06.06.2024 Fixed:
Fixed an issue where a player could not create a new backpack due to a message indicating they already had one. This pertains to the limit-backpack-per-inventory option.
Fixed the Event responsible for item pickup. This pertains to the limit-backpack-per-inventory option.
Fixed the change of backpack material in the config.
Players who have never been on the server should now be displayed correctly.
Remember to make a copy of your BackpackPlus folder
Changelog 14.05.2024
Added:
Ability to change plugin language (custom languages can be added)
Ability to set permissions for using a specific backpack
Ability to set permissions for crafting a specific backpack
Ability to block having more than one backpack at a time
Fixed:
Fixed the /backpack players command, it should now work correctly. Previously, it was bugging out and showing a message that no player had created a backpack yet.
Added options to config.yml:
language: - All languages are in the folder: localization, to add a language simply duplicate an already existing one and rename it
limit-backpack-per-inventory: - block the possibility of having more than 1 backpack in the inventory
permissions-to-use-backpack: - Whether to require permissions for a player to use backpacks (different for each tier)
crafting-backpack-requires-permission: - Whether the craft of the backpack is to require the appropriate permission
backpack-tiers.<tier>.permission-craft: - Permission required to craft the backpack
backpack-tiers.<tier>.permission-use: - Permission required to use the backpack
backpack-tiers.<tier>.can-be-crafted: - Whether the backpack can be crafted
Change option: use-skulls-backpack to true and from now on resourcepack will not be used
Reload your server
Remember that the use-skulls-backpack option on the true value will disable resourcepack support I do not recommend enabling this option if you have previously used resourcepack. If you want backpacks from resourcepack and from players' heads then wait for the next update.
Backpacker should no longer color plaques and sheep (If you continue to experience this problem please report it)
Added:
Resourcepack will display a message to accept resourcepack, if the player does not accept it he will be kicked off the server, this can be changed in config
If you use my resourcepack (not changed) then add what config.yml:
Code (YAML):
# You can also download the resourcepack and change it: https://www.dropbox.com/scl/fo/kha2b9dqw1fiwnhnawlmf/h?dl=1&rlkey=jfslhpxfb3c937hhn5vhjcq1x # # If you have your own resourcepack then upload it # https://mc-packs.net/ # # Download URL: resource-pack-url: "https://download.mc-packs.net/pack/6998056b7754a0a2c71a61ba66f26908f6816194.zip" # SHA-1 Hash: resource-pack-hash: "6998056b7754a0a2c71a61ba66f26908f6816194" # If you are using server resourcepack set this to false use-resource-pack: true
# If the player does not accept the resourcepack, then if the value is on true it will be discarded force-resource-pack: true
resource-pack-message: -
"&l&8[&6To play you must accept the server resourcepack&l&8]"
Keep in mind that if you have been using a version lower than 0.0.4, I do not recommend upgrading to the latest version (0.0.5) because the item storage system is different than on 0.0.3. If you decide to upgrade to the latest version from the old one, you will lose your previous backpacks.
Fixed continuous return of items when canceling a crafting change, this can also be turned off in config
If you need a basic config:
Code (YAML):
# https://colors-picker.com/hex-color-picker/ # From this page you can take the color hex, of course you can from other pages. # You can also use regular colors e.g. &2 Gui:
chose-crafting:
title: "#194d33Choose which backpack you want to change crafting" edit-crafting:
title: "#194d33You are changing the crafting %crafting%" Command:
no-permissions: "&4You do not have the permissions to use this command" Messages:
cooldown: "#eb0000You must wait before using it again"
# Time in milliseconds, 1 second = 1000 milliseconds backpack-cooldown: 2000
# Set to true if it should return items after canceling a crafting change return-items-on-close: true
# Link to your resourcepack with your own backpacks # remember that customModelId corresponds to the id of the backpack # If you want to add a backpack model remember to add it to brown_dye.json in the server resourcepack
# Example brown_dye.json: # "parent": "minecraft:item/generated", # "textures": { # "layer0": "minecraft:item/brown_dye" # }, # "overrides": [ # { # "predicate": { # "custom_model_data": 800001 <- Here is the id of the backpack you should set in config # }, # "model": "item/backpack_tier_1" <- Your model here # }, # { # "predicate": { # "custom_model_data": 800002 <- Here is the id of the backpack you should set in config # }, # "model": "item/backpack_tier_2" <- Your model here # }, # { # "predicate": { # "custom_model_data": 800003 <- Here is the id of the backpack you should set in config # }, # "model": "item/backpack_tier_3" <- Your model here # } # ] #}
# You can also download the resourcepack and change it resource-pack-url: "https://www.dropbox.com/scl/fo/kha2b9dqw1fiwnhnawlmf/h?dl=1&rlkey=jfslhpxfb3c937hhn5vhjcq1x" # If you are using server texturepack set this to false # Just remember to add the texture and model of the backpack use-resource-pack: true