Main Menu Credits Wiki › Guides › How to Make Clickable Text on the Main Menu
How to Make Clickable Text on the Main Menu
Understanding Click Events
The mod supports clickable text similar to chat components. This means you can attach an action to a piece of text so that clicking it opens a URL, runs a command, or suggests a message. The syntax follows Minecraft's JSON text component format. In your config file, instead of a plain string, you provide a JSON object with text, clickEvent, and optionally hoverEvent fields.