AutoInventory

AutoInventory 1.2.1

Fixing spawn duplication bug
The event priority for the event handler handling block break events was too low, and allowed players to break blocks that were not allowed to be broken in certain regions. The event would be cancelled later by the higher priority plugin, but the block the player was given was not removed, creating a duplication glitch. The priority for this plugin is now at the highest level.

I also added command parameters, so that the usage and description of each command is visible as you type.
I added two commands:

/AutoInventory All (Toggles the default setting for everyone On or Off)
/AutoInventory CanChoose (Toggles whether player's choice can deviate from server default)

/AutoInv (Toggles player's choice for using auto inventory)

Further, when using commands, the person sending them now receives a message telling them if they have toggled a setting on or off.
When using the Factions plugin, a duplication bug was caused by mining blocks in a territory claimed by another faction. This has now been fixed.
When used with ProtectedWorlds, the plugin would allow blocks to be mined without any of them breaking in protected worlds. This has now been fixed.

Replaced the text description for the /DropWhenFull command to reflect the change in default behavior.
I accidentally left some alerts that spammed the console, this update removes them.
  • Like
Reactions: mistersam11
Fixed plugin behavior to either drop blocks or add them to your inventory but never both.
When using /dropwhenfull, it would toggle on but not off, and would continue to add items to your inventory as well as dropping them, a duplication bug. Both have been fixed.

I added a config file to change the default setting for /dropwhenfull.
An update caused a class casting issue within the Residence plugin. This has been resolved, and AutoInv and Residence are now compatible with the newer version of the server.
I've added support for BetterSpawnProtection and Residence plugins. Before this update, you could mine blocks within a protected spawn or residence, without destroying any of the blocks. Now these blocks are no longer added to the inventory.​
Top