Message Constructor Library

Share scripts you wrote for Denizen-Bukkit here!
Post Reply
User avatar
mcmonkey
Site Admin
Site Admin
Posts: 204
Joined: August 5th, 2016, 7:27 pm
Location: Los Angeles, California, USA
Contact:

Message Constructor Library

Post by mcmonkey » June 28th, 2019, 3:55 pm

MCL is a handy utility script to let you easily send 'tellraw' style clickable messages in chat.
The script was originally developed by Anthony, and has been updated to modern Denizen standards by mcmonkey.

Sample usages:

Code: Select all

- narrate "click <&e><proc[msgUrl].context[<&e>this|google.com/search|<&9>click]><&f> link"

- narrate "read the <&e><proc[msgCommand].context[<&e>help|help|<&a>click here fool!]><&f> docs"

- narrate "hover your mouse on the <&e><proc[msgHover].context[<&e>secret|<&6>gold star!]><&f> message"

- narrate "click <&e><proc[msgChat].context[<&e>yes|yes|Click this]><&f> to make your player say yes in chat"

- narrate "Give the player a <&e><proc[msgHint].context[<&e>Command|command|Click this]><&f> hint"

- narrate " <&e><proc[msgSuggest].context[<&e>Suggest|Maybe say this|Click this]><&f> something for your player to type" 
Current version on GitHub here: https://github.com/mcmonkey4eva/Public- ... uctors.yml
Or haste link here: https://one.denizenscript.com/haste/56885

(Old script repo original )
Denizen lead developer.
http://mcmonkey.org

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests