main/0.0.9

ToggleInventory

Compatible for CraftBukkit 1.4.5-R1.0 and 1.4.6 R0.3

I am sorry to have kept you waiting guys.

Latest-version: 0.0.9 (1/1/13 updated.)

What is 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

Embed Removed: https://www.youtube.com/v/ZR1HcI4ro-g?fs=1


Features:

  • Multiple inventory
  • All items on Minecraft 1.4.5 support.
  • Item name and lore support. (UTF-8)
  • Written books support. (UTF-8)
  • Items with encnantments are supported
  • Easy to use: Just type "/ti" command to toggle inventory.
  • Permissions support
  • You can use special inventories just type /tis ! (from v0.0.5)


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.

The following two special inventories are added from v0.0.7. (There are 21 inventories.)

namecommandinfoimage
samurai/tis samuContains the legend bladehttp://dev.bukkit.org/thumbman/images/48/354/600x337/intro_samurai.png.-m1.png
headmania/tis headContains custom skulls of Team Mojanghttp://dev.bukkit.org/thumbman/images/48/355/600x337/intro_headmania.png.-m1.png
Read more...


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.


Commands & Permissions:

Commands:
  • /togglei [1-n] - Toggle your current inventory
  • /ti or /it is an aliase for /togglei
  • /toggleis [name] - Toggle special inventory. You don't need to input the name entirely, part of inventory name is ok.
  • /tis or /its is an aliase for /toggleis
Command Example:
  • /ti - Toggle inventory like a ring (1->2->3->4->1->....)
  • /ti 1 - Toggle inventory to index 1
  • /tis - Toggle special inventory in order (develop -> miner -> killer -> ...... )
  • /tis dev - Toggle inventory to 'dev' inventory
  • /tis doc - Toggle inventory to 'doctor' inventory
Permissions:
  • toggle_inventory.toggle
  • toggle_inventory.toggle_special Operators(op) default.
  • toggle_inventory.[2-30] -> These permissions means the player's amount of inventories. If set not, players have only 4 inventories.

Example: If a player have the permission "toggle_inventory.3", this means he has only 3 inventories.


General Configuration

You can set different amount of inventories to each players using permission.

Configuration files under the below:

  • plugins/ToggleInventory/players/[PLAYER_ID]/config.yml

CAUTION: DO NOT TOUCH THIS CONFIG. WRONG CONFIG CAUSES ITEM LOST.
Contents of the config like this:

Quote:

inv_current_index: 2

special_inv_index: ''

  • inv_current_index : current inventory index
  • special_inv_index: current special inventory index


Screenshot(permission: toggle_inventory.30)

amount of inventory


Special Inventory Configuration

You can edit plugins/ToggleInventory/special_inventories.yml to change special invs.

Click to enlarge
http://dev.bukkit.org/media/images/48/358/spcial-inv-configuration-small.jpg


Acknowledgements:

This plugin doesn't support multi-world.


To-do List & Known bug:

  • named inventory. like '/ti favorite'
  • inventory will be overwrite under specific condition.
  • implementation a new command for changing ammount of inventories.
  • all armor equipments are not toggle now.
  • implementation a new command for load from prepared inventory file like Essentials.kit command. this command will be just for ops.


Source code

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 stuff

Would anyone please correct my poor English?


Changelog:

  • 0.0.9 comaptible with 1.4.6-R0.3 and add some features:
  • compaible with CraftBukkitUpToDate
  • implement update checker
  • 0.0.8
    sustain error message when new user use /ti first time.
  • 0.0.7
    Compatible for Minecraft 1.4.2 or 1.4.5.
    Support dyed leather, custom heads, name or lore of items.
    Add 'samurai' and 'headmania' inventories to special inv.
  • 0.0.6
    stable version for 1.3.2-R3.0
  • 0.0.5
    add /tis command.
    bug fix for over-enchantment items.
  • 0.0.4
    bug fix for equipment contents.
  • 0.0.3
    amount of inventories is configurable on permission node.
  • 0.0.2
    bug fix for written book.
  • 0.0.1
    beta-release. not tested enough


Stats provided by mcstats.org


<sub> I'm sorry for my poor English. </sub>


Comments

Posts Quoted:
Reply
Clear All Quotes