Native Minecraft Version:1.13Tested Minecraft Versions:
This plugin allows you to add Commands to the item that you're holding.
The commands will be executed if the specified action is performed.
Please remove the free version of this plugin from your server if it is intalled!
Report any bugs or suggestions to me via PM or discord (Bagga#3886).
This plugin uses the NBT-API by @tr7zw
Features
- Customizable Messages
- UseAmount option
- Action Option
- Global commands
- Multiple commands per item
- Execute commands from console or by the player
- Too lazy typing the whole command again to remove it? Just type the beginning and it will find the right one!
- A nice GUI to change the options.
Commands & Permissions
/itemcommands [ic] - Will bring up the help page.
/ic add <useAmount> <action> <serverSide> <command> - Adds the command to the item you're holding.
/ic remove <command> - Removes the given command from the item in your hand. You only need to type the first part of the command. The plugin will automatically find the right one.
/ic clearAll - Removes all commands and resets all option.
/ic edit <option> <newValue> <command> - Changes the value of the specified option for the given command. You only need to type the first part of the command. The plugin will automatically find the right one.
/ic gui - Opens the gui.
/ic info - Displays all the info about the item. (Commands, Options....)
/ic setGlobal - Make the item in your hand global. This means that the command is applied to all items of that type, even without having added the command manually to the item.
ic.command - Gives you access to the base command.
ic.<command> - Gives you access to the specific command.
Options
Action - This option allows you to specify when the commands will be executed. Valid values: CLICK, RIGHT_CLICK, LEFT_CLICK, RIGHT_CLICK_AIR, RIGHT_CLICK_BLOCK, LEFT_CLICK_AIR, LEFT_CLICK_BLOCK.
ServerSide - This option determines if the command will be executed by the console or by the player. Valid values: TRUE, FALSE.
UseAmount - This option determines how many items will be removed. Set this to 0 to have infinite uses. Valid values: Any Number between 0 and 64.
Config
Spoiler: Messages.yml
Placeholders
This plugin supports the PlaceholderAPI. You can use the placeholders in all commands.
API
Config itemstack usage. This serializes the nbt data used by this plugin:
Code (Text):
config.set("test.item", new ICItemStack(yourItemStack));
ItemStack itemStack = ((ICItemStack)config.get("test.item")).getItemStack();
- 1.13
This plugin allows you to add Commands to the item that you're holding.
The commands will be executed if the specified action is performed.
Please remove the free version of this plugin from your server if it is intalled!
Report any bugs or suggestions to me via PM or discord (Bagga#3886).
This plugin uses the NBT-API by @tr7zw
Features
- Customizable Messages
- UseAmount option
- Action Option
- Global commands
- Multiple commands per item
- Execute commands from console or by the player
- Too lazy typing the whole command again to remove it? Just type the beginning and it will find the right one!
- A nice GUI to change the options.
Commands & Permissions
/itemcommands [ic] - Will bring up the help page.
/ic add <useAmount> <action> <serverSide> <command> - Adds the command to the item you're holding.
/ic remove <command> - Removes the given command from the item in your hand. You only need to type the first part of the command. The plugin will automatically find the right one.
/ic clearAll - Removes all commands and resets all option.
/ic edit <option> <newValue> <command> - Changes the value of the specified option for the given command. You only need to type the first part of the command. The plugin will automatically find the right one.
/ic gui - Opens the gui.
/ic info - Displays all the info about the item. (Commands, Options....)
/ic setGlobal - Make the item in your hand global. This means that the command is applied to all items of that type, even without having added the command manually to the item.
ic.command - Gives you access to the base command.
ic.<command> - Gives you access to the specific command.
Options
Action - This option allows you to specify when the commands will be executed. Valid values: CLICK, RIGHT_CLICK, LEFT_CLICK, RIGHT_CLICK_AIR, RIGHT_CLICK_BLOCK, LEFT_CLICK_AIR, LEFT_CLICK_BLOCK.
ServerSide - This option determines if the command will be executed by the console or by the player. Valid values: TRUE, FALSE.
UseAmount - This option determines how many items will be removed. Set this to 0 to have infinite uses. Valid values: Any Number between 0 and 64.
Config
Spoiler: Messages.yml
Placeholders
This plugin supports the PlaceholderAPI. You can use the placeholders in all commands.
API
Config itemstack usage. This serializes the nbt data used by this plugin:
Code (Text):
config.set("test.item", new ICItemStack(yourItemStack));
ItemStack itemStack = ((ICItemStack)config.get("test.item")).getItemStack();