item2command

item2command

The plugin that converts an item click to a command execution

Description

item2command allows you to convert an item click to a command execution. Example: A player right clicks on a compass the plugin will run the command /spawn for the player.

Commands

CommandDescription
/item2commandShow information about item2command.
/i2cmdAlias for /item2command.
/i2cmd helpShow a list of plugins.
/i2cmd reloadReload the configuration file.
/i2cmd add <command>Add an item that executes a command on click. You have to hold the item you want to associate in your hand.
/i2cmd removeRemove an item that executes a command on click. You have to hold the item you want to associate in your hand.

Remember that you can use all the commands both either with /item2command or with /i2cmd.

%player% Variable

Since item2command version 0.4 you can use the %player% variable. You can just add this variable to a command when you bind it to an item. The variable will be replaced with the name of the player who clicks on the item.

Permissions

General Permissions

PermissionDescription
item2command.infoPermission for /item2command and /i2cmd.
item2command.helpPermission for /item2command help and /i2cmd help.
item2command.reloadPermission for /item2command reload and /i2cmd reload.
item2command.addPermission for /item2command add and /i2cmd add.
item2command.removePermission for /item2command remove and /i2cmd remove.

Item Usage Permissions

Since item2command version 0.3 you have to use permissions for each item.

PermissionDescription
item2command.STONEPermission to use a STONE. If a player who does not have this permission right clicks a STONE nothing will happen.

The same for every other item. You can find a list with the item names here.


You have problems with configuration? Take a look at the videos!


Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

Categories

Members

Recent Files

Bukkit