Simple way to add custom links to clients' menu.
Configuration looks like:
links:
discord:
type: none
url: "https://127.0.0.1/"
display-name: "<blue>Join Our Discord!</blue>"
description: "Join the discord by clicking the link above"
bug-reports:
type: REPORT_BUG
url: "https://127.0.0.1/"
display-name: "<yellow>Report a Bug</yellow>"
description: "Report a bug by clicking on the link above"
optional, can write 'none', or leave empty. If type is used, the display name will only show on the command readout, and not the menu buttons.
Must be a valid url, with http:// and stuff before it
The display name that will show on the button if a type is not used, and will be used in the command output. Uses MiniMessage formatting, buttons don't parse hover elements though.
Description to show in the chat output.
The chat output can be customized in locale.yml
-
/links
- Generates the output of the configured links to chat
- Permission:
server-links.links
(default:true
)
-
/linkreload
- Reloads the link configuration
- Permission:
server-links.reload
(default:op
)