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
Command | Description |
---|---|
/item2command | Show information about item2command. |
/i2cmd | Alias for /item2command. |
/i2cmd help | Show a list of plugins. |
/i2cmd reload | Reload 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 remove | Remove 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
Permission | Description |
---|---|
item2command.info | Permission for /item2command and /i2cmd. |
item2command.help | Permission for /item2command help and /i2cmd help. |
item2command.reload | Permission for /item2command reload and /i2cmd reload. |
item2command.add | Permission for /item2command add and /i2cmd add. |
item2command.remove | Permission for /item2command remove and /i2cmd remove. |
Item Usage Permissions
Since item2command version 0.3 you have to use permissions for each item.
Permission | Description |
---|---|
item2command.STONE | Permission 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.
Hi, I hope the deveper still exists, I downloaded this plugin and it works on 1.20.1 but some very useful and necessary changes would be needed:
- Item has to work on a specific world
- it must be possible to configure a time of use of the item, or infinite at discretion
- item must be customized to the player and must not work if it is thrown on the ground and picked up by another player
- Being able to use the same item but have different commands
- Being able to set the drop of the item when entering a certain world, as if it were a starter kit for that specific world
If you add these changes to the best plugin, and the only simple one to use, I've tried others and it takes a degree to use them.
Thank you
How can you make it so a certain item has a one-time usage? This would be really cool. I highly reccomend this plugin! It is the best plugin ever!
where would you put the permission? would you put it in the config? or would you put it in the the permissions.yml?
oh wait nevermind it works!
when i do /i2cmd add Pwarp hub it says "the item you want to add already exists," what does that mean?
Is it possible to only give the item one use?
And if I want it to have limited uses that nothing else is used once per object so if I have a stack with the same object I want to be reduced
It would be cool if the item had a name that it could act as a different item with it's own commands. Can you have more than one command on an item?
Hello, My name Is Foxzes. This plugin is really useful towards me. I would love you to add this to the config:
Item ammount of uses (-1 to set unlimited) Uses:
Item delay (-1 to set no delay) Delay:120s
Thankyou.
@jinhojun00
Development will continue soon. I will work on your idea.
please make can use with trigger.
i can't use trigger vtcmd command with this plugin.
Can u add an command so we can see what command that is binded to that item? Pls :)
@JimiRebeld
That is coming in the next update. The update should have been released two months ago but I have some problems with new features. I hope, I can release it in January.
Will be nice if u get that item and it had LIMITED USES like 1 use and delete it!
@ZElectroMC
Yes. I will update it this week. Stay tuned for updates ;) Thank you for using item2command!
Hello my good friend! Love the plugin, but looking forward to the new update! Because of the remove on click thing! Do you know when it will be updated? Thank you!
@wrongy143
In some way. But it comes with some more features, like:
this plugin is exactly the same as essentials powertool
@CloudeLecaw
I will try to solve the Problem you described as soon as possible.
Multiple commands and the item remove variable will be added in the next version.
Thank you for using item2command!
@JugadorNinja
Oh, now I see where it might be useful. Excuse me. I will add it in the next release.