ToggleInventory

ToggleInventory

24.1k Downloads

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.

http://dev.bukkit.org/media/images/48/353/animation.gif

<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

CommandDescriptionUsagePermissionPermission Default
/ti <number>toggle inventory/ti 1toggle_inventory.toggleOperators
/ti helpshow usage/ti htoggle_inventory.toggleOperators
/ti <enable/disable> gamemodeenable/disable toggle with gamemode/ti e gtoggle_inventory.toggleOperators
/ittoggle inventory (reverse)/ittoggle_inventory.toggleOperators
/tis <name>toggle special inventory/tis
/tis foobar
toggle_inventory.toggle_specialOperators
/itstoggle special inventory (reverse)/itstoggle_inventory.toggle_specialOperators
/tis copy <name> <number>copy a special inventory contents to normal inventory/tis copy foobar 1toggle_inventory.toggle_specialOperators
/tis add <name>add current inventory to special inventory/tis add foobartoggle_inventory.toggle_specialOperators
/tis delete <name>delete from special inventory/tis delete foobartoggle_inventory.toggle_specialOperators
/tis reset [-f]reset special inventory by default/tis reset -ftoggle_inventory.toggle_specialOperators
/tis add-default <name>add current inventory to default-special-inventory/tis add-default foobartoggle_inventory.toggle_specialOperators
/tis delete-default <name>delete from default-special-inventory/tis delete-default foobartoggle_inventory.toggle_specialOperators
/tis reset-default [-f]reset default-special-inventory/tis reset-default -ftoggle_inventory.toggle_specialOperators


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
    Stats provided by mcstats.org


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