How the plugin manages a player's inventory
PrisonPick is able to manage a player's inventory and their custom item. It has multiple features that allow for a unique experience, and all features listed below can be toggled within the config.yml.
When the player breaks a block, the plugin can do the following things, if they are enabled:
When a player mines, blocks will be directly put into their inventory. This can be applied to all blocks that are broken by the player. Drops will also be changed according to what level of Fortune the player is using. If the player's inventory is full, by default, drops will be dropped on the ground - this is configurable.
When the setting
blockBreak.itemsToInventory.autosellis enabled in the config.yml, if the player is able to sell the material that they are collecting, the material will be sold instead of being given to the player. For detailed information on how it's determined if a player can autosell an item, click here.
When a player mines, any experience that is dropped will directly be given to the player.
When a player joins, the lore of their pickaxe will be automatically updated to their statistics. If nothing has changed, the lore will be the exact same.
If this option is enabled, it will prevent the player from dropping their custom item.
If enabled, a player's custom item will be dropped when a player dies. This only applies to custom item's that the player is the owner of.
The update timer, if enabled, will [by default] run every 15 seconds. This loops through all players and runs a series of actions based upon which options are enabled. By default, all below are enabled.
This loops through player's inventory and if they have a duplicated custom item or an item that does not belong to them, it will be deleted.