InventorySwitch


Current version: 3.5

InventorySwitch is a plugin that will help you out if you have some inventory management issues. This plugin allows you to switch between different inventories. It allows you to switch between multiple inventories. You can load and save inventories as well as delete them. It works with damage values, so if you save a damaged item, it would come out damaged. It would also change the type of wool. It also can save enchantments!

Github: https:github.com/Vilsol/InventorySwitch


Features

CommandPermissionDescription
/isinventoryswitch.*Shows the help
/is getinventoryswitch.getRetrieves an inventory
/is setinventoryswitch.setSaves an inventory
/is delinventoryswitch.delDeletes an inventory
/is listinventoryswitch.listLists all available inventories

You can also use inventoryswitch.get.<name> and inventoryswitch.del.<name> to add permissions to specific inventories.

There is also a setting in config file, where you can alternate between public or private inventories. If it is set to private, only the player who set the inventory will be able to access it.


Explination

Example of code:
276:1:8:19.2,261:1:11:51.1,322:59,+5,262:64,+27,313:1:22:0.3,312:1:22:3.4,311:1:22:0.3,310:1:22:1.3|5.3

Colored:
276:1:8:19.2,261:1:11:51.1,322:59,+5,262:64,+27,313:1:22:0.3,312:1:22:3.4,311:1:22:0.3,310:1:22:1.3|5.3

Explination:
276 - ItemID
: - Data Delimiter
1 - Item Amount
8 - Item Damage
19 - Enchantment ID
. - Enchantment Level Delimter
2 - Enchantment Level
, - Item Delimiter
| - Enchantment Delimiter


Changelog

Version 3.5:

  • Efficiency upgrade!
  • Replaced all 0's with +amount
  • Storing enchantment ID's instead of names
  • Fixed damaged enchanted item saving and loading

Version 3.0:

  • Complete code rewrite!
  • Now supports enchantments!

Version 2.5:

  • Added public and non-public config.
  • Moved all inventories to new file.
  • Added custom permissions.
  • Added a list command.

Version 2.4:

  • Updated to 1.5!
  • Efficiency upgrade! Now doesn't store unneccessary values!

Version 2.3:

  • Added dev-url for CBUTD

Version 2.2:

  • Added Metrics!

Version 2.1:

  • Made more efficient!

Version 2.0:

  • Now supports custom inventories!

Version 0.1:

  • First official release

If you like the plugin, please leave a comment. I would appreciate any critics or suggestions!


Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

Categories

Members

Recent Files