- 3,320 views, 2 today
- 215 downloads, 0 today
35
Rpg Click
NOW WITH SUB MENU'S!!!
This plugin allows players to shift click on another player and have an inventory gui open up that lets them click on objects in order to perform commands!
Use the config to completely customize which commands, which items are in the gui, what names / descriptions the items have.
Update Log #1 has details on how to use the new config for nested menu's.
any item in the game can be used in the gui!!
there are no in game commands, all configuration needs to be done in the config file.
It should be noted that the plugin actually tracks which command to do for which block based on the name you have set, so if two items have the same name it will attempt to do both commands! This is a great tool to use if you want to be able to do multiple commands with one click by naming items the exact same!
The config file has easy to follow notation so for now i'm not going to write a guide here.
Permissions
- click.inv
My RPG Plugins
Rpg Party
Rpg Trade
Rpg Guilds
RPG Food
RPG Lobby
RPG Achievements
RPG Spawns
Help fund my programming hobby :)
I'm always available to help with issues with this plugin. feel free to log onto my ts3 at voice.vartala.com or add soulofw0lf on skype (Make sure you include why you're adding me or i will likely ignore it.)
NOW WITH SUB MENU'S!!!
This plugin allows players to shift click on another player and have an inventory gui open up that lets them click on objects in order to perform commands!
Use the config to completely customize which commands, which items are in the gui, what names / descriptions the items have.
Update Log #1 has details on how to use the new config for nested menu's.
any item in the game can be used in the gui!!
there are no in game commands, all configuration needs to be done in the config file.
It should be noted that the plugin actually tracks which command to do for which block based on the name you have set, so if two items have the same name it will attempt to do both commands! This is a great tool to use if you want to be able to do multiple commands with one click by naming items the exact same!
The config file has easy to follow notation so for now i'm not going to write a guide here.
Permissions
- click.inv
My RPG Plugins
Rpg Party
Rpg Trade
Rpg Guilds
RPG Food
RPG Lobby
RPG Achievements
RPG Spawns
Help fund my programming hobby :)
I'm always available to help with issues with this plugin. feel free to log onto my ts3 at voice.vartala.com or add soulofw0lf on skype (Make sure you include why you're adding me or i will likely ignore it.)
Progress | 100% complete |
Game Version | Minecraft 1.5 |
Tags |
1 Update Logs
Update #1 : by soulofw0lf 05/12/2013 7:58:17 pmMay 12th, 2013
Config File Help
The config file for V1.1 has some major changes added in!
with the addition of the new command /click open {clickname} {playertargetname}
you have the ability to have rooted sub menu's that can have rooted submenu's in them ect.
there are two default config section now.
Commands and PlayerClick
Commands
under the commands section you put all the commands that your blocks will be capable of.
Format
Commands: title: Name: {name of the command} Command: {The command to be performed, with @p being the player performing it, and @t being the target} Console: true/false {this determines if the command should be run from the console and not from the player, false means the player runs the command
for each new command have it listed under a new title, the default config just numbers the commands for the titles 1, 2, 3, ect.
PlayerClick
player click is the default blocks that show up when you shift right click on a player.
Format
[color=rgb(20,20,20)][bgcolor=rgb(252,252,252)]
Rows: 1 {how many rows of inventory to show 1[color=rgb(102,102,102)]-[/color]5} Permission: player {the permission that players should have to open this inventory} Items: {this starts your items list to be added to your inventory} Title: {the title of the item to add Item Type: 297 {the item Id of the block to be added to this click inventory} Name: Party Invite {the name of this item [b]NOTE[[color=rgb(102,102,102)]/[/color]b] this name must match the name of a command! this is how click determines what command to run!!} Description: Invite @t to your Party! {the text displayed to someone when they mouse over the item} Durability: 1 {the durability or "damage value" of the item} [/bgcolor][/color]
unlike commands that can have an infinite number no inventory can have more than 45 blocks added to it! to add more just keep setting new titles under Items: with Item Type: Name: Description: andDurability:
Adding new Clicks
new clicks or inventory menu windows, can be added by adding additional root config settings. These function exactly like setting up the PlayerClick section, but must each have their own name. In the full config file below i have added an example new click called RandomlyNamedClick.
Opening a click from a click a.k.a. adding sub menu's
To add sub menu's to your clicks you just need to have a command that makes the player open a new one. for this purpose a new command has been added into the Rpg Clicks plugin
/click open {clickname} {playername}
it should be noted playername is not the person opening it but rather their target, or as far as the click is concerned @t
[color=rgb(20,20,20)][bgcolor=rgb(252,252,252)]
Commands[color=rgb(102,102,102)]:[/color] [color=rgb(102,102,102)]9[/color][color=rgb(102,102,102)]:[/color] Name[color=rgb(102,102,102)]:[/color] Open Click Command[color=rgb(102,102,102)]:[/color] click open RandomlyNamedClick @t Console[color=rgb(102,102,102)]:[/color] [b][color=rgb(0,128,0)]false[/color][/b] [/bgcolor][/color]
remember the console can't open an inventory so for submenu blocks you should always set Console to false.
to make sure the player can use this sub menu just make sure they have a block in their current menu named the same.
[color=rgb(20,20,20)][bgcolor=rgb(252,252,252)]
PlayerClick[color=rgb(102,102,102)]:[/color] [color=rgb(102,102,102)]3[/color][color=rgb(102,102,102)]:[/color] Item Type[color=rgb(102,102,102)]:[/color] [color=rgb(102,102,102)]69[/color] Name[color=rgb(102,102,102)]:[/color] Open Click Description[color=rgb(102,102,102)]:[/color] Open the sub menu RandomlyNamedClick Durability[color=rgb(102,102,102)]:[/color] [color=rgb(102,102,102)]0[/color] [/bgcolor][/color]
both the command and the block are named Open Click so that is the command that will be used when the block is pressed
here's the default config file that comes with the plugin, you'll probably want to delete or edit most of it since it's set up just as an example!
[color=rgb(20,20,20)][bgcolor=rgb(252,252,252)]
Commands[color=rgb(102,102,102)]:[/color] [color=rgb(102,102,102)]1[/color][color=rgb(102,102,102)]:[/color] Name[color=rgb(102,102,102)]:[/color] Party Invite Command[color=rgb(102,102,102)]:[/color] party invite @t Console[color=rgb(102,102,102)]:[/color] [b][color=rgb(0,128,0)]false[/color][/b] [color=rgb(102,102,102)]2[/color][color=rgb(102,102,102)]:[/color] Name[color=rgb(102,102,102)]:[/color] Trade Command[color=rgb(102,102,102)]:[/color] trade @t Console[color=rgb(102,102,102)]:[/color] [b][color=rgb(0,128,0)]false[/color][/b] [color=rgb(102,102,102)]3[/color][color=rgb(102,102,102)]:[/color] Name[color=rgb(102,102,102)]:[/color] Achievements Command[color=rgb(102,102,102)]:[/color] titles list @t Console[color=rgb(102,102,102)]:[/color] [b][color=rgb(0,128,0)]false[/color][/b] [color=rgb(102,102,102)]4[/color][color=rgb(102,102,102)]:[/color] Name[color=rgb(102,102,102)]:[/color] Guild Invite Command[color=rgb(102,102,102)]:[/color] Guild Invite @t Console[color=rgb(102,102,102)]:[/color] [b][color=rgb(0,128,0)]false[/color][/b] [color=rgb(102,102,102)]5[/color][color=rgb(102,102,102)]:[/color] Name[color=rgb(102,102,102)]:[/color] Ressurection Command[color=rgb(102,102,102)]:[/color] res @t Console[color=rgb(102,102,102)]:[/color] [b][color=rgb(0,128,0)]false[/color][/b] [color=rgb(102,102,102)]6[/color][color=rgb(102,102,102)]:[/color] Name[color=rgb(102,102,102)]:[/color] Party Kick Command[color=rgb(102,102,102)]:[/color] party kick @t Console[color=rgb(102,102,102)]:[/color] [b][color=rgb(0,128,0)]false[/color][/b] [color=rgb(102,102,102)]7[/color][color=rgb(102,102,102)]:[/color] Name[color=rgb(102,102,102)]:[/color] Guild Kick Command[color=rgb(102,102,102)]:[/color] guild kick @t Console[color=rgb(102,102,102)]:[/color] [b][color=rgb(0,128,0)]false[/color][/b] [color=rgb(102,102,102)]8[/color][color=rgb(102,102,102)]:[/color] Name[color=rgb(102,102,102)]:[/color] Broadcast Command[color=rgb(102,102,102)]:[/color] broadcast @p really dilikes @t Console[color=rgb(102,102,102)]:[/color] [b][color=rgb(0,128,0)]true[/color][/b] [color=rgb(102,102,102)]9[/color][color=rgb(102,102,102)]:[/color] Name[color=rgb(102,102,102)]:[/color] Open Click Command[color=rgb(102,102,102)]:[/color] click open RandomlyNamedClick @t Console[color=rgb(102,102,102)]:[/color] [b][color=rgb(0,128,0)]false[/color][/b] PlayerClick[color=rgb(102,102,102)]:[/color] Rows[color=rgb(102,102,102)]:[/color] [color=rgb(102,102,102)]1[/color] Permission[color=rgb(102,102,102)]:[/color] player Items[color=rgb(102,102,102)]:[/color] [color=rgb(102,102,102)]1[/color][color=rgb(102,102,102)]:[/color] Item Type[color=rgb(102,102,102)]:[/color] [color=rgb(102,102,102)]297[/color] Name[color=rgb(102,102,102)]:[/color] Party Invite Description[color=rgb(102,102,102)]:[/color] Invite @t to your Party[color=rgb(102,102,102)]![/color] Durability[color=rgb(102,102,102)]:[/color] [color=rgb(102,102,102)]1[/color] [color=rgb(102,102,102)]2[/color][color=rgb(102,102,102)]:[/color] Item Type[color=rgb(102,102,102)]:[/color] [color=rgb(102,102,102)]268[/color] Name[color=rgb(102,102,102)]:[/color] Trade Description[color=rgb(102,102,102)]:[/color] Open a trade [b][color=rgb(0,128,0)]with[/color][/b] @p Durability[color=rgb(102,102,102)]:[/color] [color=rgb(102,102,102)]0[/color] [color=rgb(102,102,102)]3[/color][color=rgb(102,102,102)]:[/color] Item Type[color=rgb(102,102,102)]:[/color] [color=rgb(102,102,102)]69[/color] Name[color=rgb(102,102,102)]:[/color] Open Click Description[color=rgb(102,102,102)]:[/color] Open the sub menu RandomlyNamedClick Durability[color=rgb(102,102,102)]:[/color] [color=rgb(102,102,102)]0[/color] [color=rgb(102,102,102)]4[/color][color=rgb(102,102,102)]:[/color] Item Type[color=rgb(102,102,102)]:[/color] [color=rgb(102,102,102)]298[/color] Name[color=rgb(102,102,102)]:[/color] Broadcast Description[color=rgb(102,102,102)]:[/color] Broadcast a message Durability[color=rgb(102,102,102)]:[/color] [color=rgb(102,102,102)]0[/color] RandomlyNamedClick[color=rgb(102,102,102)]:[/color] Rows[color=rgb(102,102,102)]:[/color] [color=rgb(102,102,102)]2[/color] Permission[color=rgb(102,102,102)]:[/color] admin Items[color=rgb(102,102,102)]:[/color] [color=rgb(102,102,102)]1[/color][color=rgb(102,102,102)]:[/color] Item Type[color=rgb(102,102,102)]:[/color] [color=rgb(102,102,102)]288[/color] Name[color=rgb(102,102,102)]:[/color] Guild Invite Description[color=rgb(102,102,102)]:[/color] Invite @t to your guild[color=rgb(102,102,102)].[/color] Durability[color=rgb(102,102,102)]:[/color] [color=rgb(102,102,102)]0[/color] [color=rgb(102,102,102)]2[/color][color=rgb(102,102,102)]:[/color] Item Type[color=rgb(102,102,102)]:[/color] [color=rgb(102,102,102)]278[/color] Name[color=rgb(102,102,102)]:[/color] Guild Kick Description[color=rgb(102,102,102)]:[/color] kick @t from your guild Durability[color=rgb(102,102,102)]:[/color] [color=rgb(102,102,102)]0[/color][/bgcolor][/color]
The config file for V1.1 has some major changes added in!
with the addition of the new command /click open {clickname} {playertargetname}
you have the ability to have rooted sub menu's that can have rooted submenu's in them ect.
there are two default config section now.
Commands and PlayerClick
Commands
under the commands section you put all the commands that your blocks will be capable of.
Format
Commands: title: Name: {name of the command} Command: {The command to be performed, with @p being the player performing it, and @t being the target} Console: true/false {this determines if the command should be run from the console and not from the player, false means the player runs the command
for each new command have it listed under a new title, the default config just numbers the commands for the titles 1, 2, 3, ect.
PlayerClick
player click is the default blocks that show up when you shift right click on a player.
Format
[color=rgb(20,20,20)][bgcolor=rgb(252,252,252)]
Rows: 1 {how many rows of inventory to show 1[color=rgb(102,102,102)]-[/color]5} Permission: player {the permission that players should have to open this inventory} Items: {this starts your items list to be added to your inventory} Title: {the title of the item to add Item Type: 297 {the item Id of the block to be added to this click inventory} Name: Party Invite {the name of this item [b]NOTE[[color=rgb(102,102,102)]/[/color]b] this name must match the name of a command! this is how click determines what command to run!!} Description: Invite @t to your Party! {the text displayed to someone when they mouse over the item} Durability: 1 {the durability or "damage value" of the item} [/bgcolor][/color]
unlike commands that can have an infinite number no inventory can have more than 45 blocks added to it! to add more just keep setting new titles under Items: with Item Type: Name: Description: andDurability:
Adding new Clicks
new clicks or inventory menu windows, can be added by adding additional root config settings. These function exactly like setting up the PlayerClick section, but must each have their own name. In the full config file below i have added an example new click called RandomlyNamedClick.
Opening a click from a click a.k.a. adding sub menu's
To add sub menu's to your clicks you just need to have a command that makes the player open a new one. for this purpose a new command has been added into the Rpg Clicks plugin
/click open {clickname} {playername}
it should be noted playername is not the person opening it but rather their target, or as far as the click is concerned @t
[color=rgb(20,20,20)][bgcolor=rgb(252,252,252)]
Commands[color=rgb(102,102,102)]:[/color] [color=rgb(102,102,102)]9[/color][color=rgb(102,102,102)]:[/color] Name[color=rgb(102,102,102)]:[/color] Open Click Command[color=rgb(102,102,102)]:[/color] click open RandomlyNamedClick @t Console[color=rgb(102,102,102)]:[/color] [b][color=rgb(0,128,0)]false[/color][/b] [/bgcolor][/color]
remember the console can't open an inventory so for submenu blocks you should always set Console to false.
to make sure the player can use this sub menu just make sure they have a block in their current menu named the same.
[color=rgb(20,20,20)][bgcolor=rgb(252,252,252)]
PlayerClick[color=rgb(102,102,102)]:[/color] [color=rgb(102,102,102)]3[/color][color=rgb(102,102,102)]:[/color] Item Type[color=rgb(102,102,102)]:[/color] [color=rgb(102,102,102)]69[/color] Name[color=rgb(102,102,102)]:[/color] Open Click Description[color=rgb(102,102,102)]:[/color] Open the sub menu RandomlyNamedClick Durability[color=rgb(102,102,102)]:[/color] [color=rgb(102,102,102)]0[/color] [/bgcolor][/color]
both the command and the block are named Open Click so that is the command that will be used when the block is pressed
here's the default config file that comes with the plugin, you'll probably want to delete or edit most of it since it's set up just as an example!
[color=rgb(20,20,20)][bgcolor=rgb(252,252,252)]
Commands[color=rgb(102,102,102)]:[/color] [color=rgb(102,102,102)]1[/color][color=rgb(102,102,102)]:[/color] Name[color=rgb(102,102,102)]:[/color] Party Invite Command[color=rgb(102,102,102)]:[/color] party invite @t Console[color=rgb(102,102,102)]:[/color] [b][color=rgb(0,128,0)]false[/color][/b] [color=rgb(102,102,102)]2[/color][color=rgb(102,102,102)]:[/color] Name[color=rgb(102,102,102)]:[/color] Trade Command[color=rgb(102,102,102)]:[/color] trade @t Console[color=rgb(102,102,102)]:[/color] [b][color=rgb(0,128,0)]false[/color][/b] [color=rgb(102,102,102)]3[/color][color=rgb(102,102,102)]:[/color] Name[color=rgb(102,102,102)]:[/color] Achievements Command[color=rgb(102,102,102)]:[/color] titles list @t Console[color=rgb(102,102,102)]:[/color] [b][color=rgb(0,128,0)]false[/color][/b] [color=rgb(102,102,102)]4[/color][color=rgb(102,102,102)]:[/color] Name[color=rgb(102,102,102)]:[/color] Guild Invite Command[color=rgb(102,102,102)]:[/color] Guild Invite @t Console[color=rgb(102,102,102)]:[/color] [b][color=rgb(0,128,0)]false[/color][/b] [color=rgb(102,102,102)]5[/color][color=rgb(102,102,102)]:[/color] Name[color=rgb(102,102,102)]:[/color] Ressurection Command[color=rgb(102,102,102)]:[/color] res @t Console[color=rgb(102,102,102)]:[/color] [b][color=rgb(0,128,0)]false[/color][/b] [color=rgb(102,102,102)]6[/color][color=rgb(102,102,102)]:[/color] Name[color=rgb(102,102,102)]:[/color] Party Kick Command[color=rgb(102,102,102)]:[/color] party kick @t Console[color=rgb(102,102,102)]:[/color] [b][color=rgb(0,128,0)]false[/color][/b] [color=rgb(102,102,102)]7[/color][color=rgb(102,102,102)]:[/color] Name[color=rgb(102,102,102)]:[/color] Guild Kick Command[color=rgb(102,102,102)]:[/color] guild kick @t Console[color=rgb(102,102,102)]:[/color] [b][color=rgb(0,128,0)]false[/color][/b] [color=rgb(102,102,102)]8[/color][color=rgb(102,102,102)]:[/color] Name[color=rgb(102,102,102)]:[/color] Broadcast Command[color=rgb(102,102,102)]:[/color] broadcast @p really dilikes @t Console[color=rgb(102,102,102)]:[/color] [b][color=rgb(0,128,0)]true[/color][/b] [color=rgb(102,102,102)]9[/color][color=rgb(102,102,102)]:[/color] Name[color=rgb(102,102,102)]:[/color] Open Click Command[color=rgb(102,102,102)]:[/color] click open RandomlyNamedClick @t Console[color=rgb(102,102,102)]:[/color] [b][color=rgb(0,128,0)]false[/color][/b] PlayerClick[color=rgb(102,102,102)]:[/color] Rows[color=rgb(102,102,102)]:[/color] [color=rgb(102,102,102)]1[/color] Permission[color=rgb(102,102,102)]:[/color] player Items[color=rgb(102,102,102)]:[/color] [color=rgb(102,102,102)]1[/color][color=rgb(102,102,102)]:[/color] Item Type[color=rgb(102,102,102)]:[/color] [color=rgb(102,102,102)]297[/color] Name[color=rgb(102,102,102)]:[/color] Party Invite Description[color=rgb(102,102,102)]:[/color] Invite @t to your Party[color=rgb(102,102,102)]![/color] Durability[color=rgb(102,102,102)]:[/color] [color=rgb(102,102,102)]1[/color] [color=rgb(102,102,102)]2[/color][color=rgb(102,102,102)]:[/color] Item Type[color=rgb(102,102,102)]:[/color] [color=rgb(102,102,102)]268[/color] Name[color=rgb(102,102,102)]:[/color] Trade Description[color=rgb(102,102,102)]:[/color] Open a trade [b][color=rgb(0,128,0)]with[/color][/b] @p Durability[color=rgb(102,102,102)]:[/color] [color=rgb(102,102,102)]0[/color] [color=rgb(102,102,102)]3[/color][color=rgb(102,102,102)]:[/color] Item Type[color=rgb(102,102,102)]:[/color] [color=rgb(102,102,102)]69[/color] Name[color=rgb(102,102,102)]:[/color] Open Click Description[color=rgb(102,102,102)]:[/color] Open the sub menu RandomlyNamedClick Durability[color=rgb(102,102,102)]:[/color] [color=rgb(102,102,102)]0[/color] [color=rgb(102,102,102)]4[/color][color=rgb(102,102,102)]:[/color] Item Type[color=rgb(102,102,102)]:[/color] [color=rgb(102,102,102)]298[/color] Name[color=rgb(102,102,102)]:[/color] Broadcast Description[color=rgb(102,102,102)]:[/color] Broadcast a message Durability[color=rgb(102,102,102)]:[/color] [color=rgb(102,102,102)]0[/color] RandomlyNamedClick[color=rgb(102,102,102)]:[/color] Rows[color=rgb(102,102,102)]:[/color] [color=rgb(102,102,102)]2[/color] Permission[color=rgb(102,102,102)]:[/color] admin Items[color=rgb(102,102,102)]:[/color] [color=rgb(102,102,102)]1[/color][color=rgb(102,102,102)]:[/color] Item Type[color=rgb(102,102,102)]:[/color] [color=rgb(102,102,102)]288[/color] Name[color=rgb(102,102,102)]:[/color] Guild Invite Description[color=rgb(102,102,102)]:[/color] Invite @t to your guild[color=rgb(102,102,102)].[/color] Durability[color=rgb(102,102,102)]:[/color] [color=rgb(102,102,102)]0[/color] [color=rgb(102,102,102)]2[/color][color=rgb(102,102,102)]:[/color] Item Type[color=rgb(102,102,102)]:[/color] [color=rgb(102,102,102)]278[/color] Name[color=rgb(102,102,102)]:[/color] Guild Kick Description[color=rgb(102,102,102)]:[/color] kick @t from your guild Durability[color=rgb(102,102,102)]:[/color] [color=rgb(102,102,102)]0[/color][/bgcolor][/color]
tools/tracking
2126211
7
rpg-click
Create an account or sign in to comment.
Congratz.