HavenBags
ArchivedCreate shulker-like bags of varying sizes bound to a player, or accessible by anyone.
Compatibility
Minecraft: Java Edition
Platforms
Supported environments
75% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Creators
Details
Please visit the SpigotMC page for an updated version. https://www.spigotmc.org/resources/havenbags-shulker-like-player-bound-bags-1-17-1-21.110420/
About
Create shulker-like bags of varying sizes bound to a player, or accessible by anyone.
Helpful Features
â–¶ Custom Bag Crafting
You can create custom crafting recipes to allow players to craft bags.
These are specified and enabled in plugins/HavenBags/recipes.yml.
â–¶ Placement Blocker
To avoid bags being placed down and the data destroyed, bags are unable to be placed down.
â–¶ Dupe Prevention
If multiple of the same bags are detected, a warning will be sent in the console, and one of the players will have their bag forcefully closed.
â–¶ Bag Protection (Optional)
Bags cannot be destroyed by things such as fire, lava and cactus.
Among other things.
You can disable this option any time in the config file.
Even the mighty Spicy Water stands no chance again the power of the bag!
Commands
- /havenbags rename <value> - Rename the bag in your hand. You cannot rename any bags you aren't bound to. (Supports Hex. Leave value empty to reset.)
- /havenbags create <size> - Create a new bag.
- /havenbags create ownerless <size> - Create a new ownerless bag.
- /havenbags give <player> <size> - Give player a bag.
- /havenbags give <player> ownerless <size> - Give player an ownerless bag.
- /havenbags restore <player> - Shows a list of bags by that player.
- /havenbags restore <player> <bag-uuid> - Gives a copy of the bag. stored on the server.
- /havenbags preview <player> - Shows a list of bags by that player.
- /havenbags preview <player> <bag-uuid> - Preview a copy of the bag stored on the server.
- /havenbags reload - Reloads config.yml & lang.yml. All commands can be shortened to /bags & /bag
Permissions
- havenbags.* - Gives all HavenBags permissions.
- havenbags.use - Allows you to use bags.
- havenbags.rename - Allows you to rename bags. Without havenbags.bypass, you can only rename your own bags
- havenbags.create - Allows you to create bags.
- havenbags.give - Allows you to give bags.
- havenbags.restore - Allows you to restore bags.
- havenbags.bypass - Allows you to bypass ownership locks.
- havenbags.preview - Allows you to preview a copy of a bag, and take their content.
- havenbags.reload - Allows you to reload the plugin.
Dependency
My plugin requires the utility library plugin ValorlessUtils v1.3.0.130 or newer to function. It's 100% free, and works with all my plugins.
Plugin Support
HavenBags supports ChestSort, so you can easily sort the bag.
FAQ
Q: Can you add my language to HavenBags?
NOTICE: lang.yml can be manually translated. Languages are only for item/block names.
A: Sure thing!
Feel free to message me what language you'd like added, and I'll see what I can do.
Q: What happens to open bags when restarting or reloading?
A: HavenBags keeps record of open bags, and will force any open bags to close, and return them to the player before shutting down.
Q: What happens if you close an open bag with a full inventory?
A: The bag will drop below the player instead of returning to the inventory.
Q: A bag isn't opening, why?
A: If a bag fails to open, it is likely there is no file on record with the bag's UUID, or something went wrong.
There should be a message in the console, if not, feel free to DM me :)
Q: Will bags be removed from players, if the files on the server are deleted?
A: Bags in-game will remain, but be unable to open.