⚡ MTBackpacks ⚡ TeamMT ⚡ icon

⚡ MTBackpacks ⚡ TeamMT ⚡ -----

Never have to worry about inventory space ever again!




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!
----------, Aug 18, 2024

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.
----------, Mar 3, 2024

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.
----------, Feb 29, 2024

This update fixes a bug with custom packets being sent in 1.20
----------, Feb 26, 2024

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
----------, Feb 26, 2024

This update brings a small bugfix which patches out the title bar not working properly in 1.8.x versions.
----------, Feb 25, 2024

This update brings a small bugfix which caused skulls to not work properly in 1.20.4 in certain cases.
----------, Feb 24, 2024

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!
----------, Feb 14, 2024

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!
----------, Feb 13, 2024

The long awaited 1.20.2 support has finally arrived!

As always, if anything goes wrong, let us know through the Discord server!
----------, Nov 27, 2023

This update brings quite a couple of bugfixes, and should allow for more stability when dealing with the plugin!
----------, Oct 10, 2023

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.
----------, Aug 25, 2023

- Backpack type placeholder will now return the backpack type rather than "backpack"/"sack"
----------, Aug 23, 2023

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!
----------, Aug 21, 2023

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!
----------, Jul 23, 2023

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!
----------, Jun 30, 2023

This update brings full hex color support using the standard &#123456 format in the messages file!

For more information check out the wiki

https://panel.masecla.dev/wiki/General Options/Messages File
----------, Jun 28, 2023

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
----------, Jun 27, 2023

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.
----------, Jun 25, 2023

This should fix an issue when a backpack is opened and a player doesn't have the required permission.
----------, Jun 24, 2023

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!
----------, Jun 24, 2023

This update brings a patch for 1.20.1.

This has been thoroughly tested, however if any issue show up, please let us know!
----------, Jun 24, 2023

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
----------, Jun 10, 2023

- Custom Model Data for locked pane slot is now fully configurable through the config
----------, May 22, 2023

- Added an option inside of the config.yml in order to allow customization of the locked slot.
----------, May 18, 2023

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.
----------, May 17, 2023

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.
----------, Apr 24, 2023

Fixed an issue with ClassNotFoundException in versions under 1.18
----------, Mar 27, 2023

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
----------, Mar 26, 2023

Internal library change:
- Fixed an issue where the pointer file would be interpreted as an old config for migration
----------, Mar 23, 2023

Internal library change:
- All plugins now have a messages.yml file which points to the correct location
----------, Mar 23, 2023

Internal library change:
- Fixed an issue with skull serialization
----------, Mar 22, 2023

This update brings full compatibility with the 1.19.4 Spigot version!
----------, Mar 17, 2023

This update brings the /bp give command such that both /bp give <player> <backpack> and /bp give <backpack> <player> will work.
----------, Feb 12, 2023

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
----------, Jan 31, 2023

Fixed an issue with progress bars!

- Fixed an issue with how an empty configuration for the progress bar is handled
----------, Jan 30, 2023

Fixed a couple issues with how opened Backpack GUI's are tracked
----------, Jan 28, 2023

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
----------, Jan 24, 2023

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!
----------, Jan 23, 2023

Give command now includes player in message for easier debugging and logging.
----------, Jan 22, 2023

Modified a couple things about how the plugin is structure internally to deduplicate some code.
----------, Jan 20, 2023

A couple internal modifications to the plugin structure. Should feel a bit more consistent now.
----------, Jan 20, 2023

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.
----------, Jan 19, 2023

The /bp give <player> <type> subcomamnd was incorrectly assigned as a player only command. This should now be fixed.
----------, Jan 18, 2023

The progress bar will now take into account items max stack sizes when calculating percentages!
----------, Jan 18, 2023

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
----------, Jan 18, 2023

- Internal optimizations for the code and improved consistency and behavior for blacklists and whitelists throughout all storages.
----------, Jan 15, 2023

- Fixed autosell integration being placed twice in the config
----------, Jan 12, 2023

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)
----------, Jan 12, 2023

Fixed a bug with the positioning cache not being properly invalidated after a backpack update
----------, Jan 10, 2023

- 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.
----------, Jan 10, 2023

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
----------, Jan 8, 2023

Fixed a small bug with rendering the item type when a sack is empty
----------, Jan 7, 2023

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
----------, Jan 4, 2023

- 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
----------, Jan 3, 2023

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
----------, Jan 2, 2023

- 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.
----------, Nov 30, 2022

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
----------, Nov 29, 2022

- Fixed a couple of bugs in the backpack recipe previewer and made crafting of backpacks sensitive to the reload command inside /mtbp
----------, Oct 7, 2022

- 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
----------, Oct 7, 2022

- Made the algorithm for adding items far more precise, this should fix any issues with backpacks sometimes triggering false "cannot fit" alarms.
----------, Oct 6, 2022

- 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
----------, Oct 4, 2022

- 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
----------, Oct 3, 2022

- Accidentally uploaded wrong JAR, this should fix it.
----------, Sep 30, 2022

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
----------, Sep 29, 2022

Fixed an issue with how unknown items are handled
----------, Sep 28, 2022

- Modified how the item is found without shops
----------, Sep 28, 2022

- Fixed a bug with how sellall functions and sacks
----------, Sep 25, 2022

- Version up
- Fixed an issue with some versions not having functional sack clicks
- Implemented ShopGUIPlus integration!
- Fixed an issue with crafting getting enabled
----------, Sep 22, 2022

- Fixed up the error inventory sometimes showing up when opening a backpack.
----------, Sep 18, 2022

- Version to 1.0.14
- Added PlaceholderAPI to depends to fix a warning
- Made config clearer on how everything works
----------, Sep 12, 2022

- 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.
----------, Sep 10, 2022

- Fixed up an issue with how skulls are generated such that skulls can be properly generated on all versions.
----------, Aug 30, 2022

An issue with the component parsing engine was causing an improper class lookup. This should now be fully fixed.
----------, Aug 19, 2022

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.
----------, Aug 18, 2022

- Internal modifications to the M-Lib engine.
----------, Aug 12, 2022

- Added a clearer comment on how to do CustomModelData
----------, Aug 7, 2022

- Added a log message when crafting is enabled
----------, Aug 4, 2022

- Fixed an issue with post-aquatic item data ID's,
----------, Aug 3, 2022

- Added a warning to not edit data.yml
----------, Jul 31, 2022

- Updated plugin file to match actual plugin version, fixing a visual mismatch.
----------, Jul 31, 2022

- API access no longer bypasses whitelist and blacklist
- Made commands fully clickable
----------, Jul 28, 2022

- 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
----------, Jun 5, 2022

Fixed an issue where using PLAYER_HEAD on 1.12.2 would sometimes lead to issues which could prevent backpack generation.
----------, Apr 8, 2021

I fixed an issue with bugs which arose when some internal HashMap's were not updated internally properly.
----------, Mar 29, 2021

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
----------, Feb 26, 2021

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.
----------, Feb 22, 2021

Added an optional attribute for crafting recipes which allows you to add a permission to deny or allow certain crafting recipes!
----------, Feb 20, 2021

Resource Information
Author:
----------
Total Downloads: 173
First Release: Jan 24, 2021
Last Update: Aug 18, 2024
Category: ---------------
All-Time Rating:
38 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings