Added: You can now use textures for individual bags.
Either use the Base64 value or one of the templates from textures.yml.
Added: Long awaited Bag Upgrades!
Using an Anvil and upgrade materials defined in config.yml, the player can upgrade their bag to the rank above it.
(from 9 to 18, and so on)
You can also define if the upgrade material requires a specific CustomModelData.
Added: textures.yml
File containing templates for '/havenbags texture <texture>'.
Added: Command '/havenbags texture <texture or base64>'.
Added: Permissions
Code (YAML):
A part of havenbags.player:
havenbags.upgrade.9:
description: Allows you to upgrade bags with a size of 9.
havenbags.upgrade.18:
description: Allows you to upgrade bags with a size of 18.
havenbags.upgrade.27:
description: Allows you to upgrade bags with a size of 27.
havenbags.upgrade.36:
description: Allows you to upgrade bags with a size of 36.
havenbags.upgrade.45:
description: Allows you to upgrade bags with a size of 45.
A part of havenbags.admin:
havenbags.texture:
description: Allows you to set textures of bags you own.
Note: havenbags.texture can be assigned to players of a specific rank, to allow them to change their bag's texture.
Changed: The console debug "Loaded Bags: X", has been moved to Info, and will show regardless of debug status.
Only triggered when loading bag data.
Changed: Updated '/havenbags help' to accommodate the new changes.
Fixed: '/havenbags info' should no longer error when the creator value is "null".
Fixed: Admin GUI should now ignore old data files.
NOTE: Ngl I've been a little stressed, so some minor changes might have been missed on this log.