Command Lore

Please consider donating! I work hard to make my plugins and its lovely to see appreciation!
https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif

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


Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

Categories

Members

Recent Files