ToggleInventory

Compatible with CraftBukkit 1.7.9 R0.1 (+1.7.2 R0.3)
April 1st 2014. This project is still alive ;)
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 (Thanks VariationVault!)>
<Tutorial video on YouTube (Thanks AbsintoJ!)>
<Tutorial video on YouTube (Thanks UltiByte!)>
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 (= like a kit) is available
- Easy to use: Just type "/ti" to toggle inventory.
- ALL ITEMS support include custom items which using NBTTag.
- ALL potion effects support (from 1.3.0)
- 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.
If you couldn't use special invs, try below commands.
1. /tis reset-default -f
2. /tis reset -f
3. /tis
Command Reference
| Command | Description | Usage | Permission | Permission Default |
|---|---|---|---|---|
| /ti <number> | toggle inventory | /ti 1 | toggle_inventory.toggle | Operators |
| /ti help | show usage | /ti h | toggle_inventory.toggle | Operators |
| /ti <enable/disable> gamemode | enable/disable toggle with gamemode | /ti e g | 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 :)
Privacy
This plugin has update-checking, auto-updating, and stats collection(see below section).
You can disable these features in plugins/ToggleInventory/config.yml.
Below example shows disable above features.
[config.yml]
update-check: false auto-update: false disable-mcstats: true
Privacy: stats collection
This plugin uses Hidendra's plugin metrics system (MCStats, http://mcstats.org/). Opting out of this service can be done by editing plugins/Plugin Metrics/config.yml and changing opt-out to true.
Following information is collected and sent to mcstats.org:
- A unique identifier
- The server's version of Java
- Whether the server is in offline or online mode
- The plugin's version
- The server's version
- The OS version/name and architecture
- The core count for the CPU
- The number of players online
- The Metrics version
Change Log
v1.3.2
updated for 1.7.5-R0.1, and add disable options for mcstats.
v1.3.1
updated for 1.7.1-R0.1 but no compatibility with older version.
v1.3.0
toggle with potion/gamemode support. compatible with 1.6.4-R2.0
v1.2.2
updated for 1.6.2
v1.2.2
updated for 1.6.2
v1.2.1
updated for 1.6.1
-
View User Profile
-
Send Message
Posted Mar 17, 2013@nicatronTg
Thanks!!!!! :)
-
View User Profile
-
Send Message
Posted Mar 17, 2013@Janmm14
OK. I added timeout (max 10sec) when update check. This change is temporary so I'll implement multi-thread update check later.
-
View User Profile
-
Send Message
Posted Mar 17, 2013an update for 1.5 please, current latest has internal errors.
-
View User Profile
-
Send Message
Posted Mar 15, 2013Love it, keep it up.
-
View User Profile
-
Send Message
Posted Mar 11, 2013On startup you are checking for updates.
But if the bukkit server is not available you are stopping the startup some seconds (Conneciton time out).
Please use a seperated thread to do this.
-
View User Profile
-
Send Message
Posted Feb 1, 2013@Glacksy
Maybe, it works. Please try it.
-
View User Profile
-
Send Message
Posted Jan 31, 2013does this work with Tekkit Lite? i mean items and damage values...
-
View User Profile
-
Send Message
Posted Jan 21, 2013@Ta6akus5
@XeonG8
I've uploaded a binary for 1.4.7-R0.1 Please wait til bukkit admin approve. (If you can't, DL link is here: http://dev.bukkit.org/media/files/666/626/ToggleInventory.jar)
-
View User Profile
-
Send Message
Posted Jan 21, 2013@Ta6akus5
MobArena plugin clear your inventory when join as default.
That behavior is configurable in MobArena's config.
Detail: https://github.com/garbagemule/MobArena/wiki/Setting-up-the-config-file
-
View User Profile
-
Send Message
Posted Jan 21, 2013@HuberSepp123
Uhm, on my server, it works fine.
type
/pex user [username]
and confirm a user has 'toggle_inventory.n' permission.
If user has permissions properly, please tell me your environment (version of server, os, etc...)
-
View User Profile
-
Send Message
Posted Jan 20, 2013yeh i think update for 1.4.7 is needed
-
View User Profile
-
Send Message
Posted Jan 11, 2013sry, but this command doesn´t work on my server! Can you add an other command, which works correctly? Or can you tell me an other command?
-
View User Profile
-
Send Message
Posted Jan 10, 2013@HuberSepp123
Sorry. I forgot writing about that.
Type following commands to limit user's inventory.
/pex user [user] add toggle_inventory.2
If a player has toggle_inventory.2 and toggle_inventory.3 at once, maximum one will be preceded, so he has 3 inventories.
-
View User Profile
-
Send Message
Posted Jan 9, 2013I want to give a player the command, that he can use only 2 inventorys. How can I set it in PremissionsEx or in an other permissions plugin???
-
View User Profile
-
Send Message
Posted Jan 5, 2013@XeonG8
I forgot to tell you, before '/tis add' you need
/tis reset-default -f
then
/tis reset -f
-
View User Profile
-
Send Message
Posted Jan 5, 2013/tis add <name>
and then /tis <name>
didn't work like I would have thought it should.
However /tis add-default <name>
and then /tis <name> works as expected.. so thanks its much better plugin now,.. I can finally rest the old inventorysaves plugin that randude wasn't ever going to get back to updating I don't think.
-
View User Profile
-
Send Message
Posted Jan 5, 2013@XeonG8
oops, sorry.
Here you are: http://dev.bukkit.org/media/files/662/610/ToggleInventory.jar
-
View User Profile
-
Send Message
Posted Jan 5, 2013where is the dl link?
-
View User Profile
-
Send Message
Posted Jan 5, 2013@XeonG8
I was wondering the same thing.
New version (v1.0.0-PRE) has the feature.
But unfortunately, new version is incompatible with v.0.0.x.
So be careful to try it.
-
View User Profile
-
Send Message
Posted Jan 4, 2013Can you add a way to save an inventory in game as a special inventory, ( and allow certain players to have so many of there own custom special inventories)
would make it a lot easier to creative special inventory setups that can be loaded/saved over/ used all the time.