Minecraft Mods

HavenBags - Shulker-like Player Bound Bags [1.17-1.20.4]

  • 3,557 views, 53 today
  • 414 downloads, 1 today
  • 12
  • 9
Alynie's Avatar Alynie
Level 54 : Grandmaster Programmer
90
This page might not be entirely up to date, refer to SpigotMC for an up-to-date version.

HavenBags - Shulker-like Player Bound Bags [1.17-1.20.4] Minecraft ModHavenBags - Shulker-like Player Bound Bags [1.17-1.20.4] Minecraft Mod
HavenBags - Shulker-like Player Bound Bags [1.17-1.20.4] Minecraft Mod

About


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

Languages Supported: English, Danish, German, Spanish, French, Turkish, Dutch, Japanese, Korean, Chinese (Simplified), Russian, Polish


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.
Recipe Examples

The crafting is not very advanced, and will not be expanded upon. Sorry.

▶ Auto-Pickup

You can set to bags to automatically pick up items for you.
Images
[IMG] [IMG]



▶ Weight Limits

Bags can be given a specific weight they can carry.
You can specify the weight of items any time.
Images


▶ 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

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.
GIFs

Even the mighty Spicy Water stands no chance again the power of the bag!


▶ Admin GUI

The Admin GUI allows you to easily create, restore and preview bags.
Images


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 empty -Dump the content of the bag in your hand, onto the ground.
- /havenbags autopickup <filter> - Set your bag to automatically pick up items for you.
- /havenbags gui - Opens Admin GUI
- /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 info - Shows information about the bag you're currently holding.
- /havenbags rawinfo - Shows raw metadata about the bag you're currently holding.
- /havenbags weight <number> - Set the weight limit of the bag you're holding.
- /havenbags help - Help menu, showing commands you have permissions to.
- /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.empty - Allows you to dump bag contents.
- havenbags.autopickup - Allows you to use the auto-pickup feature.
- 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.info - Allows you to view information regarding the currently held-in-hand bag.
-
havenbags.weight - Allows you to set the weight limit of bags.
-
havenbags.reload - Allows you to reload the plugin.
- havenbags.gui - Allows you to use the Admin GUI.
-
havenbags.help - Shows the entire help list, regardless of permissions.




Dependency

My plugin requires the utility library plugin ValorlessUtils v1.5.3.173 or newer to function.
It's 100% free, and works with all my plugins.

Plugin Support

HavenBags supports the following plugins:

ChestSort, so you can easily sort the bag.
[​IMG]
ChestSort GIF



PlaceholderAPI.
[​IMG]

FAQ

Can you add my language to HavenBags?
NOTICE: lang.yml can be manually translated. Languages are only for item/block names.
Sure thing!
Feel free to message me what language you'd like added, and I'll see what I can do.
Note that your language must be on this list of languages.
HavenBags has been updating a lot lately, how come?
I try to combine all new updates and additions into one big update.
But when a bug or issue has been reported, I try to fix it as quickly as I can, and update the plugin to get rid of the problem.
The problem can be niche and only affect a handful, or they can affect everyone.
Nonetheless the plugin will be updated asap.

Please check the update note before updates, to see if it is worth for you to update.
What happens to open bags when restarting or reloading?
HavenBags keeps record of open bags, and will force any open bags to close, and return them to the player before shutting down.
What happens if you close an open bag with a full inventory?
The bag will drop below the player instead of returning to the inventory.
A bag isn't opening, why?
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 :)
Will bags be removed from players, if the files on the server are deleted?
Bags in-game will remain, but will be removed once the player attempts to open it.

Please if you discover any bugs, or the plugin isn't right for you.
Please do not leave a bad review. Instead message me and I'll fix the bug.
Progress100% complete
Game VersionMinecraft 1.20.4
Tags

26 Update Logs

v1.19.0.1474 Skin Tokens & Hotfixes : by Alynie 05/27/2024 8:35:02 amMay 27th

Huge thanks to ArturoAtomplay for helping me test and locate bugs!

Added: Skin Tokens.
Create tokens players can combine with their bag, to change the skin of their bag.
Config
# Skin Token
# Used to create a generic token, which you can edit in-game.
# The rest of the data for the token is given when using the command.
# You can create skins in the 'textures.yml' file.
# Placeholders:
# %skin% - Name of the skin, found in textures.yml.
# (Works in name and lore)
skin-token:
display-name: '&aSkin Token'
# If material is PLAYER_HEAD, the head's texture will be the same as the skin.
material: PLAYER_HEAD
custommodeldata: 0 # 0 to ignore
# Placeholders:
# %skin% - Name of the skin, found in textures.yml.
lore:
- '&7Combine with a bag in an anvil to apply.'
- '&7Skin: &e%skin%'
# You can add extra lore in-game, with things such as which skin it is.


Added: Command '/havenbags token <type> <value>'
Type is either 'texture' or 'custommodeldata'.

Added: CustomModelData per-size.
Works the same way as textures-per-size.

Added: 'bag-textures' validation.
If any textures are left empty, they will automatically be filled with the default texture.
This only runs when the plugin is being enabled, and not with '/havenbags reload'.

Added: EquipPrevention - Bags can no longer be equipped as a helmet.

Added: To prevent players bypassing the weight limit, you can no longer split stacks by dragging the mouse, while weight is enabled.
Only taking effect while inside a bag.

Added: If enabled, bags can only be picked up by their owners.
protect-bags-players: true

Added: Upgrading bags will now also increase their weight limit, if 'weight-per-size' is enabled.

Changed: Hotswapping prevention has been updated slightly, and should only affect bag items now.
Credit: ArturoAtomplay

Fixed: Bag's weight limit is now correctly stored and loaded from the data files.

Fixed: Open bags with an Auto-pickup filter, will not pick up items anymore.
This is to prevent unintended consequences.

Fixed: Ownerless bags should no longer bind to the player.
When the data was created, the player would still be bound, for some reason.

Fixed: Command 'give' now works when the config 'bag-textures' is enabled.
Due to a minor mistake, the sizes never aligned, and the item was never created, causing the error.

Fixed: Commands 'restore' and 'preview' should work correctly again.
Forcing it to use a new method of getting the bag's contents.

Fixed: Command 'weight' should now work correctly again.

Fixed: Deleting bags from the AdminGUI now also removes the cached data alongside the file.

Removed: Bag weight is no longer stored in the data file, as saving it is not needed.
LOAD MORE LOGS

Create an account or sign in to comment.

Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome