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
Command | Permission | Description |
---|---|---|
/is | inventoryswitch.* | Shows the help |
/is get | inventoryswitch.get | Retrieves an inventory |
/is set | inventoryswitch.set | Saves an inventory |
/is del | inventoryswitch.del | Deletes an inventory |
/is list | inventoryswitch.list | Lists 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!
Please let "set" overwrite existing inventories.
@Clinot
It seems like you have downloaded an old version. Try downloading 3.5.
I have found a few bugs in this great plugin, when you save and item in a stack that is more then 1 it multiply the stack by 10 when you get the inventory back, enchantments and dyes are lost on retrieval, and the last potion in a row becomes a water bottle. The rest of the plugin works great, it just has these few issues.
Suggestion :
You can choose your inventory in a beautiful menu (a chest-menu) !
Why wont the plug in install when I put it in the plugin dir?
@br45entei
I am not going to use any dependencies because eventually I will turn this plugin in an API.
Does it support Item Names, lore, and written books/book and quills? If not, I'd be happy to let you use my InventoryAPI class for functionality from here(scroll down to bottom of page for the api class source code). If you do use it, it'd be cool if you give me some credit for my hard work!
this is good now i can see what other players have on my server
@Marium0505
yes
Does the plugin work on 1.5.2?
PLEASE, make it so it saves enchantments values. Great plugin but really need to also saves enchants on items like armor and weapons.
Great plugin! I play games on my server with more than 1 friend, and need to switch between games.
This is great but I need one for switching between survival and creative so people can easily keep their two jobs separate. It's all for the same world though. Permissions would be nice aswell.
I just wanted to know if that is where the plug-in is heading?
This is looking great so far though!
This is a great idea! Saves time when wanting only certain things! Will try out and get back to you as soon as i can!