main/1.1.2
Compatible with CraftBukkit 1.5.1 (v1.1.2)
Major version upgrade: v1.1.2
How to Upgrade from 0.0.x to 1.x.x
NOTE: 1.0.0-PRE is incompatible with previous version(v0.0.x). I mean all your inventories or special inventories will be removed. Before reading any further, PLEASE backup all of your files or items.
- Step1. Backup all your items to chests.
- Step2. Type '/tis reset-default -f' and '/tis reset -f'
- Step3. That's all. Have fun :)
-------
About ToggleInventory
This is a plugin for multiple inventory. You can get 4 inventories and easy to switch them. The amount of inventories is configurable using permission. If you use a permissions plugin you can set enable/disable to toggle inventory.
<Tutorial video on YouTube>
Installation
Simply download the JAR file, copy to your Bukkit server's "plugins" directory and reload plugins/restart server.
Configuration and inventory-save-files is automatically generated when needed for each players.
Features
- Multiple inventory (amount of inventories are configurable using permission)
- Special inventory is available
- Easy to use: Just type "/ti" to toggle inventory.
- ALL ITEMS support include custom items which using NBTTag.
- Permissions support
Special Inventories
You can toggle special inventories just type /tis.
It's only enabled for operators(op) by default.
Special inventory is a temporary inventory.
You can't save any items you get while using it, so you should pay attention when you toggle special inventory.
From v1.0.0 you can add/delete special inventories for each users.
Command Reference
Command | Description | Usage | Permission | Permission Default |
---|---|---|---|---|
/ti <number> | toggle inventory | /ti 1 | toggle_inventory.toggle | Operators |
/it | toggle inventory (reverse) | /it | toggle_inventory.toggle | Operators |
/tis <name> | toggle special inventory | /tis /tis foobar | toggle_inventory.toggle_special | Operators |
/its | toggle special inventory (reverse) | /its | toggle_inventory.toggle_special | Operators |
/tis copy <name> <number> | copy a special inventory contents to normal inventory | /tis copy foobar 1 | toggle_inventory.toggle_special | Operators |
/tis add <name> | add current inventory to special inventory | /tis add foobar | toggle_inventory.toggle_special | Operators |
/tis delete <name> | delete from special inventory | /tis delete foobar | toggle_inventory.toggle_special | Operators |
/tis reset [-f] | reset special inventory by default | /tis reset -f | toggle_inventory.toggle_special | Operators |
/tis add-default <name> | add current inventory to default-special-inventory | /tis add-default foobar | toggle_inventory.toggle_special | Operators |
/tis delete-default <name> | delete from default-special-inventory | /tis delete-default foobar | toggle_inventory.toggle_special | Operators |
/tis reset-default [-f] | reset default-special-inventory | /tis reset-default -f | toggle_inventory.toggle_special | Operators |
Config: Amount of Inventories
toggle_inventory.[2-30]
These permissions are the player's amount of inventories. If set not, players have only 4 invs.
Example: If a player have the permission "toggle_inventory.2", this means he has only 2 inventories.
Source code (GitHub)
This plugin is an Open Source Software.
Source code can be found on github.com.
If you like this plugin, please give me a star :)
Need staff
Would anyone please correct my poor English?
Change Log
v1.0.0-PRE
- Refine config logic. One config file per user. /plugin/ToggleInventory/players/[username].yml
- Implement full item serialization. This plugin can save/restore ALL ITEMS including custom items using NBTTag in Minecraft.
- Implement reverse-rotation command.
- /ti <=> /it, or /tis <=> /its
- Each admin users can have different special inventories.
- Add commands for managing special inventories.
- /tis [add|delete] [name]
- Add or delete special inventories. '/tis add foobar' means save current inventory to special inventory named 'foobar'.
- /tis [add-default|delete-default] [name]
- Add or delete default special inventories. Default special inventories are stored in /plugin/ToggleInventory/special_inventories.yml . This commands let you add/delete this file.
- /tis reset [-f]
- Reset special inventories to default (using special_inventories.yml).
- /tis reset-default [-f]
- Reset default-special-inventories to installed one.
- /tis copy [name] [inventory index]
- Copy a special inventory to normal inventory.
- /tis [add|delete] [name]
<sub> I'm sorry for my poor English. </sub>
Comments