Backpack Plus
Backpack Plus is a plugin for Minecraft servers that adds three new types of backpacks to the game: Basic, Golden, and Diamond. These backpacks offer players additional storage space for items, making it easier to manage their inventory and providing more freedom to explore the Minecraft world. You have full configuration over the plugin
Features
- Addition of three new backpack types with different capacities:
- Basic (9 slots)
- Golden (27 slots)
- Diamond (54 slots)
- Ability to craft backpacks in crafting
- Ability to change crafting in the configuration file or GUI
- Possibility to add new backpacks
- Ability to change the model as well as the texture of the backpacks
- Possibility to change crafting with the command
/backpack crafting - Unique textures for each backpack type
- You can set as many slots as you like
Backpacks allow players to store more items than regular gear, so players can carry more gear and deal with adversity more easily in the Minecraft world. In addition, each type of backpack has a unique texture, making it easy to distinguish between them.
⚠ Please read the changelog before you update the plugin
Feel free to check the community configs and get the latest one here: Github
Resourcepack for 1.21.4: link
Bedrock files: BackpackPlus Bedrock Resource Pack (.mcpack & mappings)
Commands
/backpack crafting- Opens GUI with crafting backpacks./backpack resourcepack- Reloads resourcepack for the player./backpack resourcepack reload- Reloads resourcepack from config.yml and updates it in all players/backpack backpacks <online player | player uuid>- Displays all backpacks created by a given player./backpack players- Displays all players who have created backpacks./backpack give <tier> [<player>]- Adds backpack to player.
Permissions
backpackplus.admin.crafting-/backpack craftingbackpackplus.command.use-/backpackbackpackplus.command.resourcepack-/backpack resourcepackbackpackplus.admin.view.backpacks-/backpack players/backpacksbackpackplus.admin.resourcepack.reload-/backpack resourcepack reloadbackpackplus.admin.give.backpacks-/backpack give
Discord: Link
Version Beta 0.0.4
Version 0.0.2
Special thanks to:
- belter(belterrwan) (CEO of lomihost) for providing the server
Donate
You can donate by using HERE. Any donation is appreciated. :D
Known Bugs
No known bugs. Please report them if you find any. Thanks!
Discord: Link
How to Install Backpack Plus (Plugin)
Backpack Plus by ItQerk is verified for Bukkit, Folia, Paper, Purpur, Spigot across Minecraft versions 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2 (latest release: 3.2.0, file size: 656 KB). Follow the steps below to install it safely from ModCraft.tv:
- Click the Download button above and select your Minecraft version (1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2) and platform (Bukkit, Folia, Paper, Purpur, Spigot).
- Make sure you have the compatible loader or environment installed for Bukkit, Folia, Paper, Purpur, Spigot.
- Move the downloaded Backpack Plus file into your Minecraft
.minecraft/pluginsfolder and launch the game.
All Versions
+ Add Version> **⚠️ Note:** If you are upgrading from an older version, please update your message configurations to the MiniMessage format, as Legacy Colors are no longer supported. Failure to do so will result in your messages appearing without colors.
> If something doesn't work as expected, please report the error on [Discord](https://discord.com/invite/Ty7JUbz8Cv) or [GitHub Issues](https://github.com/ItQerk/BackpackPlus-Issues/issues).
> **⚠️ Warning:** Before proceeding with this update:
> 1. Backup the
BackpackPlus folder to avoid losing custom configurations or data.> 2. If you are using a MySQL database, ensure it is backed up to prevent any potential data loss.
## Key Changes
- Added:**
- Added admin command:
/backpack info| permission:backpackplus.admin.backpack.info- displays information about the held backpack - Added automatic migration: the
is_opencolumn is now automatically added to the backpacks table if it does not exist - Added failure message for
/backpack force transfer owner - Added the ability to set custom heads for GUI buttons:
- ``
yml
custom-model:
# Should the next page button be as a custom model if it is on false will be used head player
use: false
# Custom Model Material
material: MAP
# Custom Model Id
custom-model-id: 810003
skull:
is-skull: true
skull-hash: "eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvN2M2OWQ0MTA3NmE4ZGVhNGYwNmQzZjFhOWFjNDdjYzk5Njk4OGI3NGEwOTEzYWIyYWMxYTc0Y2FmNzA4MTkxOCJ9fX0="
display-name: <dark_green><bold>→
# Whether the tooltip should be hidden
hide-tooltip: false
`
- Fixed:**
- Backpack models now automatically update upon opening if changed in the config
- Fixed a bug that allowed blacklisted items to be placed in backpacks after being renamed
- Fixed a bug where closing the crafting table with an active backpack recipe would return a free backpack. This issue only occurred when the backpack limit option was enabled
- Improved:**
- The player heads system has been rewritten and should work much better now. If you encounter any bugs related to them, please report it
- Improved database stability, connection handling, thread safety, and SQLite performance.
- Removed:**
- Removed
NBT-API dependency
### Upgrade Steps
1. Backup the necessary files and database as described above.
2. Replace the existing plugin jar with the new version.
3. Update config.yml` according to the latest format.4. Restart the server and verify that everything is functioning correctly.
## Fixed
- Fixed a bug in the
/backpack remove ownercommand that caused an error when the backpack was not loaded in memory
# For the full changelog, see [3.1.0](https://modrinth.com/plugin/backpack-plus/version/3.1.0)
> **⚠️ Note:** If you are upgrading from an older version, please update your message configurations to the MiniMessage format, as Legacy Colors are no longer supported. Failure to do so will result in your messages appearing without colors.
> If something doesn't work as expected, please report the error on [Discord](https://discord.com/invite/Ty7JUbz8Cv) or [GitHub Issues](https://github.com/ItQerk/BackpackPlus-Issues/issues).
> **⚠️ Warning:** Before proceeding with this update:
> 1. Backup the
BackpackPlus folder to avoid losing custom configurations or data.> 2. If you are using a MySQL database, ensure it is backed up to prevent any potential data loss.
## Key Changes
- Main:**
- Updated
NBT-APIto the latest version - The plugin now runs on version
26.1.1 - Player names are now updated in the database upon joining the server
- Fixed:**
- Fixed an SQLite error related to a duplicate tier column, which could prevent the plugin from starting if the database didn't exist
- Fixed incorrect timestamps caused by a rare bug
- Added:**
- Added an admin command to change backpack ownership:
/backpack force transfer owner <backpack uuid> <player>| Permission:backpackplus.admin.force.transfer.owner - Added a feature to save the last viewed backpack page - when a player reopens their backpack, it will now open on the same page they previously closed (if this option is enabled:
keep-player-last-backpack-page) - Added an option to block backpack opening when interacting with specific blocks:
yml
# While holding the backpack, clicking on a block will trigger the block's native interaction instead of opening the backpack
blocked-backpack-interaction-blocks:
- CRAFTING_TABLE
- ENDER_CHEST
- ENCHANTING_TABLE
- ANVIL
- GRINDSTONE
- LOOM
- SMITHING_TABLE
- STONECUTTER
- CARTOGRAPHY_TABLE
- OAK_BUTTON
`
- Added a command to delete backpacks from the database:
/backpack delete <backpack uuid>. Permission: backpackplus.admin.backpack.deleteAdded command: /backpack remove owner. Permission: backpackplus.remove.owner - used for transferring backpack ownership. After executing this command, the next person to open the backpack will become its new owner.If a backpack has a pending ownership change NBT, the owner's name will no longer be displayed; instead, the default placeholder from the config will be shown. Changed:** Expanded the inventory backpack limit system: ``yml# Block the possibility of having more than the set number of backpacks in the inventory
limit-backpack-per-inventory:
# If true, the plugin will check and enforce the backpack limit for players
enable: false
# The default limit for players who do not have any specific permission from the list below
default-limit: 1
# Custom limits based on permissions.
# If a player has multiple permissions, the highest v
...
> **⚠️ Note:** If you are upgrading from an older version, please update your message configurations to the MiniMessage format, as Legacy Colors are no longer supported. Failure to do so will result in your messages appearing without colors.
> If something doesn't work as expected, please report the error on [Discord](https://discord.com/invite/Ty7JUbz8Cv) or [GitHub Issues](https://github.com/ItQerk/BackpackPlus-Issues/issues).
> **⚠️ Warning:** Before proceeding with this update:
> 1. Backup the
BackpackPlus folder to avoid losing custom configurations or data.> 2. If you are using a MySQL database, ensure it is backed up to prevent any potential data loss.
## Key Changes
- Main:**
- Spigot servers** are no longer supported.
- Paper API** has been implemented instead of Spigot API.
- Legacy Colors** are no longer supported; please update them to the
MiniMessageformat. You can use the default files as a template. - All messages now support the **MiniMessage** format.
- The plugin now supports versions **1.20 and newer**.
- Added:**
- Added a check to verify if the server software is supported (**Folia / Paper / Paper forks**).
- Added pagination for the GUI showing all players' backpacks.
- Added the ability to set a default placeholder for
<backpack_owner>: - ``
yml
backpack-owner-name: "<#1cc2f6><player>"
- Added new NBT tags for backpacks:
- Backpack Owner UUID
- Backpack Owner Name
- Added a template for backpack lore content (colors and formatting can now be customized):
- `
yml
backpack-placeholders-defaults:
#... other
# <amount> = amount of specific item
# <name> = material or custom item name
content-lore-template: "<#f9c100><amount>x <#dadada><name>"
- You can now customize virtually all messages.
- Added a custom logging system for testing purposes.
- Added the /backpack recipes
command (backpackplus.view.recipes), which displays all craftable backpacks. - Added a new config option to prevent opening a backpack when right-clicking a chest or similar block; the block will be opened instead. This also applies to doors and trapdoors: block-interaction-blocks-prevent-backpack-open
. - Added support for Folia
. - Added an option to hide tooltips for GUI elements.
- Added the remove-inactive-backpacks
option, which removes inactive backpacks after a specified number of days. - Added support for these plugins:
- DeluxeCombat
- PvPManager
- Added an option to enable or disable the ability to use backpacks during combat (if you have one of the supported plugins installed). Option: allow-open-backpacks-in-combat: false
- Added cannot-use-in-combat` message to language files
- Removed:**
- Removed saving the backpack tier and size within the content.
- GUI buttons will
> **⚠️ Note:** This version is not compatible with the old config (older than 2.0.0). Rename or delete it and restart the server to generate the default config, then update it.
> If something doesn't work as it should report the error on [discord](https://discord.com/invite/Ty7JUbz8Cv)
> **⚠️ Warning:** Before proceeding with this update:
> 1. Backup the
BackpackPlus folder to avoid losing custom configurations or data.> 2. If you are using a MySQL database, ensure it is backed up to prevent any potential data loss.
## Key Changes
- Fixed:**
- Fixed a bug where
last_player_uuidwas null, which caused the backpack to not load correctly
### Upgrade Steps
1. Backup the necessary files and database as described above.
2. Replace the existing plugin files with the new version.
3. Update
config.yml according to the latest format (refer to the provided [config template for 2.0.0](https://www.dropbox.com/scl/fi/9r62ixg0wx2causz1vpd2/config.yml?rlkey=ms7cs3nlg3113ljfwottgom4g&st=r78mi7l2&dl=0)).4. Restart the server and verify that everything is functioning correctly.
> **⚠️ Note:** This version is not compatible with the old config. Rename or delete it and restart the server to generate the default config, then update it.
> If something doesn't work as it should report the error on [discord](https://discord.com/invite/Ty7JUbz8Cv)
> **⚠️ Warning:** Before proceeding with this update:
> 1. Backup the
BackpackPlus folder to avoid losing custom configurations or data.> 2. If you are using a MySQL database, ensure it is backed up to prevent any potential data loss.
## Key Changes
- Added:**
- Added limit for lore - maximum can be 256 lines (minecraft limit)
- Added configuration option:
allow-bundles-in-backpacks: "Should it be possible to place bundles in backpacks?" - Added more database configuration options
- Added command for console:
/backpackplus mysql pool stats - Added option for
limit-backpack-per-inventory limit-backpack-per-inventory-amountdetermines how many backpacks a player can have in inventory at one time- Added all gui names to language files now you can translate them, etc.
- Added all BackpackPlus items to language files so you can translate them any way you like
- Added display of last player's name in backpack preview
- Added check for newer database backpack if you use backpack on several servers
- Added a column to the database:
is_open(It should create itself) - Fixed:**
- Blocking backpacks from being placed into bundles now works for all bundle types
- Fixed the show-content option, which, when set to false and the description was empty, would still add the backpack's contents to the lore
- Fixed bug with non-existent
setMaxStackSizemethod on version 1.20.1 if it does not exist it will not be set - Fixed loading of backpacks in admin panel if settings for that backpack are not found
- Updated:**
- Updated the class responsible for MySQL to be compatible with the updated dependencies.
- Replaced the fields
use-sslandcheck-server-certificatewithssl-mode(Modern TLS switch: when set, overrides the legacy flags below: DISABLED | PREFERRED | REQUIRED | VERIFY_CA | VERIFY_IDENTITY) - Language files updated
- Updated libraries
- Improved:**
- Rewritten the class responsible for backpack gui interactions
- Improved several functions
### Upgrade Steps
1. Backup the necessary files and database as described above.
2. Replace the existing plugin files with the new version.
3. Update
config.yml according to the latest format (refer to the provided [config template for 2.0.0](https://www.dropbox.com/scl/fi/9r62ixg0wx2causz1vpd2/config.yml?rlkey=ms7cs3nlg3113ljfwottgom4g&st=r78mi7l2&dl=0)).4. Restart the server and verify that everything is functioning correctly.
> **⚠️ Note:** Review the changes from version [1.5.0](https://modrinth.com/plugin/backpack-plus/version/1.5.0-beta) before you upgrade.
> If something doesn't work as it should report the error on [discord](https://discord.com/invite/Ty7JUbz8Cv)
> **⚠️ Warning:** Before proceeding with this update:
> 1. Backup the
BackpackPlus folder to avoid losing custom configurations or data.> 2. If you are using a MySQL database, ensure it is backed up to prevent any potential data loss.
## Key Changes
- Added:**
- Prevent crafting with filled containers and bundles in backpack recipes
- Added saving the last player who used the backpack to the database
- Fixed:**
- Fixed backpack being locked by an inspector currently viewing it
- Updated:**
- Language files updated
- Improved:**
- Improved several functions
### Upgrade Steps
1. Backup the necessary files and database as described above.
2. Replace the existing plugin files with the new version.
3. Update
config.yml according to the latest format (refer to the provided [config template for 1.5.5](https://www.dropbox.com/scl/fi/usp53vprxbfz8pbwfyx9v/config.yml?rlkey=x8rj14pq5qgceofzbhegu1pg9&st=i6fmyw0g&dl=0)).4. Restart the server and verify that everything is functioning correctly.
> **⚠️ Note:** Review the changes from version [1.5.0](https://modrinth.com/plugin/backpack-plus/version/1.5.0-beta) before you upgrade.
> If something doesn't work as it should report the error on [discord](https://discord.com/invite/Ty7JUbz8Cv)
> **⚠️ Warning:** Before proceeding with this update:
> 1. Backup the
BackpackPlus folder to avoid losing custom configurations or data.> 2. If you are using a MySQL database, ensure it is backed up to prevent any potential data loss.
## Key Changes
- Fixed:**
- Fixed a bug when decoding an object from base64
- Added:**
- Added support for
MMOItemsplugin when handling allowed items in the filtered backpack. - Added NBT (
nbt:plugin:namespace:valueValue must be of type String) support for allowed items in filtered backpack. - Added GUI display for allowed items with custom NBT data (e.g., items from
MMOItems). - A small API for the plugin has been added: [link](https://www.dropbox.com/scl/fo/764j4m5dxo503p6zacr63/APQ1F0MltlpX3_Z4yQcDt1w?rlkey=blj6zirda5elcob63w0toas90&st=917xqm6h&dl=0)
- Added option in config.yml
owner-onlyonly the owner of the backpack can open it - Changed:**
- Set
max_stack_sizefor backpacks to 1 - Updated:**
- Language files updated (Added
not-owner)
### Upgrade Steps
1. Backup the necessary files and database as described above.
2. Replace the existing plugin files with the new version.
3. Update
config.yml according to the latest format (refer to the provided [config template for 1.5.5](https://www.dropbox.com/scl/fi/usp53vprxbfz8pbwfyx9v/config.yml?rlkey=x8rj14pq5qgceofzbhegu1pg9&st=i6fmyw0g&dl=0)).4. Restart the server and verify that everything is functioning correctly.
> **⚠️ Note:** Review the changes from version [1.5.0](https://modrinth.com/plugin/backpack-plus/version/1.5.0-beta) before you upgrade.
> If something doesn't work as it should report the error on [discord](https://discord.com/invite/Ty7JUbz8Cv)
> **⚠️ Warning:** Before proceeding with this update:
> 1. Backup the
BackpackPlus folder to avoid losing custom configurations or data.> 2. If you are using a MySQL database, ensure it is backed up to prevent any potential data loss.
## Key Changes
- Fixed:**
- Fixed use of gui-title for backpack inventory title
### Upgrade Steps
1. Backup the necessary files and database as described above.
2. Replace the existing plugin files with the new version.
3. Update
config.yml according to the latest format (refer to the provided [config template](https://www.dropbox.com/scl/fi/3kppnra5vjercjfv5x7qv/config.yml?rlkey=bhr802coitt51026ne5bqjung&st=3io4nbpc&dl=0)).4. Restart the server and verify that everything is functioning correctly.
> **⚠️ Note:** Review the changes from version [1.5.0](https://modrinth.com/plugin/backpack-plus/version/1.5.0-beta) before you upgrade.
> If something doesn't work as it should report the error on [discord](https://discord.com/invite/Ty7JUbz8Cv)
> **⚠️ Warning:** Before proceeding with this update:
> 1. Backup the
BackpackPlus folder to avoid losing custom configurations or data.> 2. If you are using a MySQL database, ensure it is backed up to prevent any potential data loss.
## Key Changes
- Added:**
- Added support for PostgreSQL database
- Added if a player leaves the server the backpacks they last used will be deleted from the server memory (**not the database**)
- Other:**
- Improved code readability not yet for entire project
### Upgrade Steps
1. Backup the necessary files and database as described above.
2. Replace the existing plugin files with the new version.
3. Update
config.yml according to the latest format (refer to the provided [config template](https://www.dropbox.com/scl/fi/3kppnra5vjercjfv5x7qv/config.yml?rlkey=bhr802coitt51026ne5bqjung&st=3io4nbpc&dl=0)).4. Restart the server and verify that everything is functioning correctly.
> **⚠️ Note:** Review the changes from version [1.5.0](https://modrinth.com/plugin/backpack-plus/version/1.5.0-beta) before you upgrade.
> If something doesn't work as it should report the error on [discord](https://discord.com/invite/Ty7JUbz8Cv)
> **⚠️ Warning:** Before proceeding with this update:
> 1. Backup the
BackpackPlus folder to avoid losing custom configurations or data.> 2. If you are using a MySQL database, ensure it is backed up to prevent any potential data loss.
## Key Changes
- Fixed:**
- Fixed bug with InventoryView not found on versions 1.20/4
- Update:**
- 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 the necessary files and database as described above.
2. Replace the existing plugin files with the new version.
3. Update
config.yml according to the latest format (refer to the provided [config template](https://www.dropbox.com/scl/fi/3kppnra5vjercjfv5x7qv/config.yml?rlkey=bhr802coitt51026ne5bqjung&st=3io4nbpc&dl=0)).4. Restart the server and verify that everything is functioning correctly.
> **⚠️ Note:** Review the changes from version [1.5.0](https://modrinth.com/plugin/backpack-plus/version/1.5.0-beta) before you upgrade.
> If something doesn't work as it should report the error on [discord](https://discord.com/invite/Ty7JUbz8Cv)
> **⚠️ Warning:** Before proceeding with this update:
> 1. Backup the
BackpackPlus folder to avoid losing custom configurations or data.> 2. If you are using a MySQL database, ensure it is backed up to prevent any potential data loss.
## Key Changes
- Fixed:**
- Fixed the option to save backpacks in the player's inventory (caused a database disconnection error for SQLite)
### Upgrade Steps
1. Backup the necessary files and database as described above.
2. Replace the existing plugin files with the new version.
3. Update
config.yml according to the latest format (refer to the provided [config template](https://www.dropbox.com/scl/fi/3kppnra5vjercjfv5x7qv/config.yml?rlkey=bhr802coitt51026ne5bqjung&st=3io4nbpc&dl=0)).4. Restart the server and verify that everything is functioning correctly.
## Important Notes
> **⚠️ Note:** This version introduces significant changes that may not be compatible with previous versions unless
config.yml is updated.> If something doesn't work as it should report the error on [discord](https://discord.com/invite/Ty7JUbz8Cv)
> **⚠️ Warning:** Before proceeding with this update:
> 1. Backup the
BackpackPlus folder to avoid losing custom configurations or data.> 2. If you are using a MySQL database, ensure it is backed up to prevent any potential data loss.
## Key Changes
- 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:**
- Message displayed if a backpack fails to load from the database (or does not exist).
- Saving of backpacks in inventory after player's death:
- To enable, set
keep-backpacks-after-deathtotrue - You can also configure permissions for this feature. The default is:
backpackplus.keep.backpacks - Per-backpack material customization.
- Cache system for improved performance.
- Ability to set the backpack type to "filtered," allowing only specified items to be stored.
- Command to change basic backpack settings:
/backpackplus settings <tier> - Sounds when moving items in a backpack.
- To enable, set
play-song-when-item-moved-in-backpacktotrue - Additional MySQL database options related to HikariCP settings.
- Ability to set backpack descriptions in the configuration.
- Option to disable displaying the contents of backpacks.
### Upgrade Steps
1. Backup the necessary files and database as described above.
2. Replace the existing plugin files with the new version.
3. Update
config.yml according to the latest format (refer to the provided [config template](https://www.dropbox.com/scl/fi/3kppnra5vjercjfv5x7qv/config.yml?rlkey=bhr802coitt51026ne5bqjung&st=3io4nbpc&dl=0)).4. Restart the server and verify that everything is functioning correctly.
### Fixed:
- Loading options for custom items (filling and overfill)
If something doesn't work as it should report the error on [discord](https://discord.com/invite/Ty7JUbz8Cv)
# 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](https://discord.com/invite/Ty7JUbz8Cv)

