HavenBags - Shulker-like Player Bound Bags [1.18-1.21.4] icon

HavenBags - Shulker-like Player Bound Bags [1.18-1.21.4] -----

Create shulker-like bags of varying sizes bound to a player, or accessible by anyone.



v1.34.0.2099 Auto-sort, Pre-made bags, and more.
Added: Bags now store their material in their data, so when restored they're the actual material they once were.
In cases where multiple materials are used.

Added: Bags now store their custom names, so when restored player's dont have to rename it again.
Existing bags will have to be renamed.

Added: You can now create and give out pre-defined bags.
Create bags in custom-bags.yml, and give them out with /havenbags give <player> <bag>

Added: You can now create, load, and save custom bag contents, which can be used for pre-defined bags, using the following commands:
- /havenbags customcontent edit - Edit a GUI inventory.
- /havenbags customcontent save <name> - Save the GUI inventory.
- /havenbags customcontent load <name> - Replace the GUI inventory with a saved one.
(Command may be changed later)

Added: Per-player option bag auto sorting, using the new command "/havenbags autosort <on/off>".
New lang.yml values:
Code (YAML):
bag-lore-add :
- ' %bound-to%'
 - ' %bag-size%'
 - ' %bag-auto-pickup%'
 - ' %bag-trusted%'
 - ' %bag-autosort%'
 - ' %bag-weight%'

# If the bag has auto-sort enabled.
# %sorting% - bag-autosort-on or bag-autosort-off, depending on on/off.
bag-autosort
: '&7Auto-Sort : %sorting%'
bag-autosort-on
: '&aOn'
bag-autosort-off
: '&cOff'

# Should the be hidden if 'off' ?
bag-autosort-off-hide
: false
Changed: Updated internally where FILES database data is saved.

Changed: You can now give skin tokens directly to players, by adding the player to the end of the command.
i.e: "/havenbags token <texture/custommodeldata> <value> [player]"

Fixed: A mistake causing parts of bag data not saving, when database type was FILES.
Content were always being saved, but other parts weren't.
Unsure why I made it that way initially.

Fixed: An issue causing bags unable to be upgraded.

Fixed: An issue showing Ownerless bags in the AdminGUI section Preview and Deletion.

Fixed: Bags should no longer say they're already open, and yet still open.
This wasn't an issue with the dupe prevention, it was an issue of the event listener triggering twice.

Removed: The "keep-bags" config entry, this is now standard and no longer optional.

Refactored:
- Removed old unnecessary code.
- Made older method use newer functions.
- Removed "bag-trusted" NBT data from bag items, as it's needed anymore.
- Updated how bag lore is updated, split apart new and used bags for a better overview.
- Moved towards using BagData for functions rather than NBT, except when handling unused bags.

Commit: dee17de
----------, Apr 9, 2025
Resource Information
Author:
----------
Total Downloads: 17,036
First Release: Jun 12, 2023
Last Update: Apr 12, 2025
Category: ---------------
All-Time Rating:
24 ratings
Find more info at discord.gg...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings