A bit late to the party, however this update finally brings 1.20.6 and 1.21 support to the plugins!
As always, and especially now as 1.20.6 changed a lot of things, please join the discord and let us know if there are any issues!
This update brings about a very simple fix:
- Backpacks no longer able to be worn as armor
This should prevent some interactions with some plugins which people reported.
With the previous updates, a lot of internal changes have been made.
This update removes a small field used for reflection which is no longer used by the API.
This update fixes a bug with custom packets being sent in 1.20
This update brings about two important bugfixes in the internal core library:
- Fixed titlebars not being properly translated in lower versions
- Fixed particles not working in 1.9
This update brings a small bugfix which patches out the title bar not working properly in 1.8.x versions.
This update brings a small bugfix which caused skulls to not work properly in 1.20.4 in certain cases.
This fixes an issue caused by a missing NBT tag setter in non 1.18 versions.
With that, full 1.20.4 support should be here!
After an internal revamp of our NBT Data structures, we now have full 1.20.4 support!
Hopefully this should lead to faster times on new releases!
As always, if any issues arise, drop by the discord and let us know!
The long awaited 1.20.2 support has finally arrived!
As always, if anything goes wrong, let us know through the Discord server!
This update brings quite a couple of bugfixes, and should allow for more stability when dealing with the plugin!
Fixed a small bug in the core library which sometimes caused cache misses on the class names, and it should bring far more consistent tick times to the plugin.
- Backpack type placeholder will now return the backpack type rather than "backpack"/"sack"
Added some more clarifications to how the progress bar works in the config with some comments!
This should make the config easier to deal with!
This update brings a cool feature for survival builders! WHen a sack is being held in the offhand, while building, blocks will be automatically refilled from your sack!
This update brings a minor overhaul of the crafting system. The plugin now allows contents of other backpacks (or sacks) to be transferred from one to another when they are combined!
As always, if any issues arise, please let us know in the Discord server!
This update brings a small adjustment to how messages are handled in the plugins.
Specifically, this brings a performance increase in all versions between 1.12 and 1.16
This update brings a patch with how placeholders on backpacks are parsed. Specifically, certain plugins tend to output color to the placeholder (to make it easier for administrators to use it in certain places). This update modifies the behaviour to check the placeholder containing to lowercase rather than being identical.
This should fix an issue when a backpack is opened and a player doesn't have the required permission.
We have now implemented one of the most requested features for this plugin: per backpack permission!
Server owners are now able to implement a per backpack (or sack) policy which allows only certain players to open different types of backpacks.
Simply add the permission directive under any backpack or sack and reload the configuration!
This update brings a patch for 1.20.1.
This has been thoroughly tested, however if any issue show up, please let us know!
After countless hours spent by the development team to ensure everything is up to date, we happily present you Spigot 1.20 support.
This update brings full compatibility with all the features that this brings.
Please join our discord at
https://discord.gg/FdMjWSP to report any issues you might have with any of the plugins in 1.20
- Custom Model Data for locked pane slot is now fully configurable through the config
- Added an option inside of the config.yml in order to allow customization of the locked slot.
This update brings full compatibility with 1.17 as well as implementing a simple message which shows up when a player tries to insert a blacklisted item into their backpack.
There was a bug in the time formatting API which caused certain durations to show up with erroneous commas.
This update brings a full patch as well as adding years as a potential time unit.
Fixed an issue with ClassNotFoundException in versions under 1.18
In 1.18 a new class was introduced in order to help with the management of skulls. This update brings a fix which allows the plugin to work using this class, even in versions prior to 1.18
Internal library change:
- Fixed an issue where the pointer file would be interpreted as an old config for migration
Internal library change:
- All plugins now have a messages.yml file which points to the correct location
Internal library change:
- Fixed an issue with skull serialization
This update brings full compatibility with the 1.19.4 Spigot version!
This update brings the /bp give command such that both /bp give <player> <backpack> and /bp give <backpack> <player> will work.
This update brings a couple important bugfixes to the plugin which improve overall stability and consistency:
- Patched up a couple of ways of placing a backpack in a backpack which would lock the backpack inside.
- Fixed an issue when the file exists, but is empty, which can happen on server crashes, and would make backpacks unopenable
- Added extra failsafe for placing backpacks
Fixed an issue with progress bars!
- Fixed an issue with how an empty configuration for the progress bar is handled
Fixed a couple issues with how opened Backpack GUI's are tracked
This update brings a couple of bug fixes to how placeholders work as well as a couple of performance improvements.
Bug fixes:
- Fixed an issue with how prevent-open works on backpacks
- Internal matching of our library to increase performance
- Added default values for the progress bar in order to prevent NPE's
This update brings a quick feature in order to make it easier for server admins to incorporate other plugins into MTBackpacks:
Code (yml (Unknown Language)):
# If any of these are equal to "true", the player will not be able to open their backpack.
backpack-prevent-open-placeholders:
- "false"
# - "%pvpmanager_is_in_combat%"
This will prevent players from opening backpacks in certain conditions, such as them being in combat!
Give command now includes player in message for easier debugging and logging.
Modified a couple things about how the plugin is structure internally to deduplicate some code.
A couple internal modifications to the plugin structure. Should feel a bit more consistent now.
The invalid-player message will now contain the name of the player that was inputted for easier integration and debugging when working with other players.
The /bp give <player> <type> subcomamnd was incorrectly assigned as a player only command. This should now be fixed.
The progress bar will now take into account items max stack sizes when calculating percentages!
This update brings a bunch of features as well as overall stability improvements.
Firstly, the default configuration is now done with skulls for a better look and experience out of the box.
Secondly, the major feature on this update are lore and name placeholders.
1. %capacity_bar% - This will display a capacity bar showing how full a backpack is.
For this placeholder to function, the following section needs to be added inside of the config file!
Code (yml (Unknown Language)):
backpack-progress-bar:
character-used: "\u2589"
character-empty: "\u2589"
character-used-color: "&a"
character-empty-color: "&7"
bar-length: 10
2. %percentage% - This placeholder will be replaced with a number between 0 and 100, and it will be the percentage of the space being used in the backpack.
Lastly, a couple of consistency issues have been fixed:
- Title for Backpack inventory now supports %slots% placeholder
- Internal optimizations for the code and improved consistency and behavior for blacklists and whitelists throughout all storages.
- Fixed autosell integration being placed twice in the config
This update brings two cool features to the plugin!
You can now disable the backpacks when certain placeholders are set to false!
This is useful for situations where you want to prevent the backpacks from being open while in combat.
Additionally, for performance, admins can now set a cooldown on how often backpacks can be opened/closed, by adding a cooldown on them.
Extra bug fixes:
- Sacks will now refuse to be tampered with while in a lockdown
- Fixed a couple unused imports in the JAR
API Changes:
- Added SackModifyEvent
- Removed
@API annotation (in case anyone was using it)
Fixed a bug with the positioning cache not being properly invalidated after a backpack update
- Added the /mtbp update command. This will allow server administrators to update all backpacks on the server to the size in the config or some other size. This is in order to facilitate updates if something needs to be nerfed. It should be noted that this command does have the potential to lead to item loss, and/or upgrade loss depending on how it's used!
- This update also adds /bp preview <backpack> in the help message, as it was omitted.
Hello there everyone! We bring another update containing a lot of information. This update is extremely recommended to be used as it fixes a bunch of possible issues with the plugin.
- Fixed a bug where adding items to a backpack through the external API would sometimes cause a desync, by updating the container of the backpack on more actions
- Fixed an issue with an optimization check executed on the fitting function (which decides if an item should fit in a backpack) caused by API access
- Modified the API such that getItems now returns an unmodifiable map, meaning no more invalid access by the API should be possible.
- Fixed a bug with items inside the backpack being modified while the backpack is open
- Updated AutoSell hook to match the new API
- Updated ShopGuiPlus hook to match the API
Fixed a small bug with rendering the item type when a sack is empty
This update brings a small quality-of-life change to sacks. Currently, when clicking on a sack, you would see the item name nicely rendered in the chat, however, when hovering on top of it in your inventory it would show up as WOODEN_SWORD for example.
This has now been fixed, and the two are consistent.
Happy new years everyone <3
- Merge branch 'dana' into 'master'
fixes issues when downsizing bp/sack
See merge request teammt1/mtbackpack!1
- fixes issues when downsizing bp/sack
- Added release repository
This update brings full compatibility with the new Minecraft 1.19.3 release, meaning it should be fully compatible with it now!
Other changes this update include:
- Split up types message into multiple types in /bp types
- Removed some unused code inside the Auto sell hook + general code cleanup
- Ensured compatibility with 1.19.3 NBT API
- Fixed an issue which could sometimes arise when clicking both mouse buttons at the same time when holding a backpack, or other state invalidating measures.
This update introduces experimental support for the upcoming MTBackpacks Preview Mod. The mod will soon be available on Modrinth. Since the process itself can be resource intensive at times, it is currently disabled by default, but can be easily enabled with the backpack-preview: true option in your config!
- Optimized re-rendering times
- Added ID to backpack content
- Setup backpack preview experimental
- Fixed a couple of bugs in the backpack recipe previewer and made crafting of backpacks sensitive to the reload command inside /mtbp
- Implemented recipe preview for backpacks! Players can now use /bp recipe to view all crafting recipes and /bp recipe <recipe> to view a specific crafting recipe for a backpack
- Made the algorithm for adding items far more precise, this should fix any issues with backpacks sometimes triggering false "cannot fit" alarms.
- Fixed an issue with sacks sometimes bypassing the blacklist and whitelist when adding items into them
- Fixed an issue with the MTBackpackAPI#willFit method in the API sometimes returning false when the items could have fit in both the backpack and the inventory
- Created MTBackpackAPI#willFitWithoutInventory to check if you can place the given items exclusively within the backpacks and/or sacks
- Heavily improved when and how sacks get re-rendered in order to improve performance. This should also fix any visual discrepancies in how sacks behave when other plugin hook into MTBackpack
- Made AutoSell integration toggleable and added a fix for a possible issue with backpacks
- Fixed up a possible issue with how max stack size is handled
- Fixed a bug without certain items are handled in SGP when selling from the backpack
- Accidentally uploaded wrong JAR, this should fix it.
You can now disable the ability to break ripe crops!
This should 100% fix any issues that might arise with spotty replanting.
You will need to add this line to your config
With that being said, we've also fixed a minor bug with how canceling drop rates worked in <1.12.2.
Code (YAML):
allow-break-non-ripe
: false
# Allow breaking non-ripe crops
Fixed an issue with how unknown items are handled
- Modified how the item is found without shops
- Fixed a bug with how sellall functions and sacks
- Version up
- Fixed an issue with some versions not having functional sack clicks
- Implemented ShopGUIPlus integration!
- Fixed an issue with crafting getting enabled
- Fixed up the error inventory sometimes showing up when opening a backpack.
- Version to 1.0.14
- Added PlaceholderAPI to depends to fix a warning
- Made config clearer on how everything works
- Added a small safeguard against null backpacks should they happen
- Implemented a fix for the visual in-inventory offhand bug
- Fixed an issue with the off-hand opening backpacks when it shouldn't
- Fixed up a small issue with how backpacks are handled.
- Fixed up an issue with how skulls are generated such that skulls can be properly generated on all versions.
An issue with the component parsing engine was causing an improper class lookup. This should now be fully fixed.
This update fixed a bunch of issues which came as a result of some NMS shenanigans happening in the background. It should now be fully fixed, and the plugin should be back to working.
- Internal modifications to the M-Lib engine.
- Added a clearer comment on how to do CustomModelData
- Added a log message when crafting is enabled
- Fixed an issue with post-aquatic item data ID's,
- Added a warning to not edit data.yml
- Updated plugin file to match actual plugin version, fixing a visual mismatch.
- API access no longer bypasses whitelist and blacklist
- Made commands fully clickable
- Updated message of plugin to look nicer.
- Added unloading + nicer containing
- Implemented drop on sack placement
- Fixed bug where items of sack can't be changed + further improvements
- Project cleanup
- Fixed a bug with 1.8 and new NMS api
- Fixed crafting overrider
- Modified a bunch of things to the new API
Fixed an issue where using PLAYER_HEAD on 1.12.2 would sometimes lead to issues which could prevent backpack generation.
I fixed an issue with bugs which arose when some internal HashMap's were not updated internally properly.
Title says it all. Here is an example on how to set them up
Code (YAML):
backpacks:
common_bp
:
# The name can be anything, but needs to be unique across both backpacks and sacks.
size
: 9
# The size for a backpack
inventory_title
:
"&aCommon backpack"
# The title you get when opening the inventory
# These are optional
# open_sound:
# sound_type: BLOCK_CHEST_OPEN
# volume: 1.0
# pitch: 1.0
# listener: PLAYER # This means only the player who opened the backpack
# # can hear the sound. Can also be ALL, so everyone hears it
# close_sound:
# sound_type: BLOCK_CHEST_CLOSE
# volume: 1.0
# pitch: 1.0
# listener: PLAYER
item:
type
: CHEST
# The item used to display it as a backpack
name
:
"&aCommon Backpack"
# The item name
lore
:
# The item lore
-
""
-
"&8This is a common backpack"
- "&8Capacity
:
&a%slots% slots
"
# Optional, this will override the global lists.
whitelist:
enabled: false # This will toggle off this check.
items: # These are the only items which will be allowed
- DIRT
- IRON_INGOT
blacklist:
enabled: false
items: # These will not be allowed
- DIAMOND_SWORD
You can use 0 slot backpacks in order to create custom items to be used in crafting. You can give them via config, via give command or via the setsize command.
Added an optional attribute for crafting recipes which allows you to add a permission to deny or allow certain crafting recipes!