- Tags
-
- Tags
- None

How does it work?
TagCommands was designed to allow players to mix commands into their chat messages. The commands they can use are specified in the config. Here is an example.
In the config i have defined the keyword "plot" and it runs the command
/plot h "advertisers name". As the advertiser i would say:
NEW! I am selling cow eggs! Come visit my [plot]home![/plot]
My message will now send to the players, and players can now click on the word "Home" to teleport to my plot!
Configuration:
[CODE
no-permission: '&cYou dont have permission to use this tag!'
verbose: true
commands:
- plot:
- command: /plot h %PLAYERNAME%
- after-tag: 'CLICK >>'
- before-tag: '<< CLICK'
- permission: 'chatcommands.plot'
- console: false
- hover: '&bClick here'
- auto-run: false
- pay:
- command: /eco give %CLICKERSNAME% 200
- after-tag: 'CLICK >>'
- before-tag: '<< CLICK'
- permission: 'chatcommands.pay'
- console: true
- hover: '&bClick here'
- auto-run: false
## %PLAYERNAME% the sender of the message's name
## %CLICKERSNAME% the person who clicked the button
## WHEN USING CONSOLE, AUTO-RUN IS RENDERED USELESS
[/CODE]
no-permission: '&cYou dont have permission to use this tag!'
verbose: true
commands:
- plot:
- command: /plot h %PLAYERNAME%
- after-tag: 'CLICK >>'
- before-tag: '<< CLICK'
- permission: 'chatcommands.plot'
- console: false
- hover: '&bClick here'
- auto-run: false
- pay:
- command: /eco give %CLICKERSNAME% 200
- after-tag: 'CLICK >>'
- before-tag: '<< CLICK'
- permission: 'chatcommands.pay'
- console: true
- hover: '&bClick here'
- auto-run: false
## %PLAYERNAME% the sender of the message's name
## %CLICKERSNAME% the person who clicked the button
## WHEN USING CONSOLE, AUTO-RUN IS RENDERED USELESS
[/CODE]
Installation:
Simply drag and drop into your plugins folder! Please post things below on what you would like to be configurable!!!
Screenshots:


TODO:
- Add some more placeholders?
Please comment and rate guys!