Command Lore
Please consider donating! I work hard to make my plugins and its lovely to see appreciation!
Command Lore is a plugin that allows you to set commands to execute when you use a tool.
Command Lore has multiple variables, that allow you to communicate things such as who is using the item, their position, who that person hit with the item, that players position, ect. This can be used in anywhere from creating a shortcut tool that will teleport you somewhere, or for roleplay with something like a hearthstone that teleports you to a home that you set.
Command Lore can set commands to any object that you can hold in your hand. Once the command is added, it adds a custom command line to the 'lore' of the item. This way, no matter who has the item, when it is used the command will be executed. As far as I know, this CAN be hidden by using other Bukkit plugins, although I'm not sure exactly which ones.
Plugin Features
- Bind a command to an item that is execute each time the item is used
- Set the permission level and/or sender of the command each time it is used
- Add variables to the commands set, such as player names and coordinates
Plugin Requirements
This plugin uses EssentialsGroupManager and Vault. I may release a version later on that works with default Minecraft permissions and one that works with PermissionsEx.
Command Lore commands & variables
Quote:/commandlore add <line #> <permission-level> <command-to-execute>
/commandlore del <line #>
/commandlore help
- - Give user all permission levels (This is the star, or multiplication key. The bbcode on this page makes it display goofy)
^ - Gives the user the default Minecraft OP
@ - As the user, with no extra permissions given
$ - Send the command as the console<pu> - The name of the player who used the object
<pux> - The x coordinate of the player who used the object
<puy> - The y coordinate of the player who used the object
<puz> - The z coordinate of the player who used the object
<pulx> - The x coordinate of the block that the player who used the object is looking at
<puly> - The y coordinate of the block that the player who used the object is looking at
<pulz> - The z coordinate of the block that the player who used the object is looking at
<ph> - The name of the player who was hit with the object
<phx> - The x coordinate of the player who was hit with the object
<phy> - The y coordinate of the player who was hit with the object
<phz> - The z coordinate of the player who was hit with the object
Permissions
Quote:commandlore - Gives the player permission to create and edit Command Lores
@04hockey
yayayayay (cryies my new wallet is empty)
@ChillerKraft
Not yet! But I'm adding a large amount of variables in the next update. I'll try to add this one in!
I prefer CraftBook's Command Items.
could i make a tool that strikes lightning on my crosshairs etc
is there a variable for crosshair position
Hugo