Skip to content

v1.43.0.2963 Huge Update & Fixes

Latest

Choose a tag to compare

@Valorless Valorless released this 06 Aug 11:28
ed33cc8

Experimental Added: HavenBags-Standalone version, runs without needing ValorlessUtils, as it has it inside it instead.
This has yet to be play-tested, therefore do not use it in production and only testing.

Added: FeaturesGUI - Right-click bag in the inventory to open a gui where you can toggle features.
Requested by @Cr4zyGeek #50

Added: Auto-crafting!
Automatically run all items in the bag through 3x3 crafting, placing the result and any unused ingredients into the chest.

Added: Vault Economy integration, moved away from EssentialsX-only to allow additional economy plugins for the Insurance feature.

Added: Bag contents can now stack in the lore (Enabled by default)
showing
"ITEM: x128"
instead of
"ITEM: x64
ITEM: x64"

lang.yml

# Should items stack, showing 2 stacks of 64 as x128, instead of 2 x64.
bag-content-stack: true

Added: Auto-pickup filters in filters.yml now support ItemTags https://minecraft.wiki/w/Item_tag_(Java_Edition)

filters.yml

filters:
 armor:
  displayname: '&eᴀʀᴍᴏʀ'
  gui:
   show: true
   icon: IRON_CHESTPLATE
  items:
   - '#minecraft:head_armor'
   - '#minecraft:chest_armor'
   - '#minecraft:leg_armor'
   - '#minecraft:foot_armor'

Added: In addition, you can create custom tags within filters.yml to use in filters.

Added: Oraxen support, used the same way as Nexo support, but oraxen:id not nexo:id.

Changed: Certain dependencies are no longer shaded, lowering the size of the plugin file.

Changed: Config validation has been tweaked.

Changed: Bags can no longer be upgraded by players that don't own the bag, or have the bypass permission.

Changed: /havenbags rawinfo will no longer return the raw ItemMeta component, but instead the Bag's datamodel, containing only information about the bag, and not the item itself.

Changed: Refilling: If your hand is empty the item will be put directly in your hand, rather than your first empty slot.

Fixed: Players can no longer upgrade bags to a size they don't themselves have access to open.

Fixed: A bug causing all bags to auto-save, regardless whether they were changed or not.

Fixed: Eco now correctly initializes.

API Changes:

  • Datamodel "Data" has been renamed to "Bag" for clarity and representation.
  • Fixed a minor mistake in the API when creating Ethereal bags.

Internal:

  • Refactored all methods to start with small letters as opposed to large ones.
    I.e. plugin.ExampleMethod() -> plugin.exampleMethod();
  • Renamed BagData -> Database, to avoid confusion with the Bag datamodel.
  • Renamed datamodel Data -> Bag, to better represent it and clarity.

Commit: ed33cc8
Pull: #51