Skip to content

Releases: alikindsys/safemine

1.2 Version

04 Aug 02:20
Compare
Choose a tag to compare

New Feature : Backpacks

This feature allow you to create backpacks using shulker boxes.

In order to create a backpack, simply put an item that you'd want on said backpack, and keep it on your inventory. As you mine it will automatically fill!


This even works with multiple backpacks! Once a block is mined, the item will follow this order

    1. Player's inventory (1st stack, if you have that item on the inventory)
    1. Any matching backpack
    1. Player's inventory
      If all reserved slots are filled the item will be added to the player (Backpacks don't add items onto empty slots, only in existing ones)

New configuration values

backpack

Set this to false to disable the backpack feature

backpack: true

Default value : true

1.1 Version

02 Aug 06:34
Compare
Choose a tag to compare
  • Added blockEvent and silent values to the configuration
  • Changed default behavior. Items will now drop normally when the inventory is full, offhand behavior remains the same (Items will not get added there, unless there is already an item with the same type there)
  • Plugin now uses an ActionBar instead of a Title for a less obstructive notification

Explanation of the new configuration values

silent

Set this value to true to disable the sound from being played.

Default value : false

silent: false

blockEvent

Set this value to true for the attempt of mining to be completely blocked if the inventory is full

Items will not drop if the inventory is full.

Default value : false

blockEvent: false

Default configuration

message.fullInv: "Inventory Full"
blockEvent : false
silent: false

Initial release

02 Aug 00:43
Compare
Choose a tag to compare
1.0

Add source code