πŸ“„MessagesCommands

You can create command to send messages to players

config.yml
messagescommands:
    enabled: true
    discord:
        message:
        - '&f-----------------------------'
        - '&fJoin ur &9discord'
        - '&9https://discord.com/invite/a3zkKtrjTr'
        - '&f-----------------------------'
        click_action: OPEN_URL
        action: https://discord.com/invite/a3zkKtrjTr
        hover: '&9Click to join ur discord'
    newgamemode:
        message:
        - '&f-----------------------------'
        - '&6New Game Mode released'
        - '&#c3d600&lJ&#c6c900&lO&#cabd00&lI&#cdb000&lN &#d1a400&lT&#d49700&lH&#d78a00&lE&#db7e00&lN&#de7100&lE&#e26500&lW
            &#e55800&lS&#e94c00&lU&#ec3f00&lR&#ef3200&lV&#f32600&lI&#f61900&lV&#fa0d00&lA&#fd0000&lL'
        - '&f-----------------------------'
        click_action: RUN_COMMAND
        action: /survival
        hover: '&6Click to join ur new survival'
    rules:
        message:
        - '&f-----------------------------'
        - '&6Remember to read all the server rules'
        - '&f-----------------------------'
        click_action: NONE

You can create commands to send a message to the player

You can set the message, the hover (a message that appears when hovering the mouse over the message) and the click action

Types of click actions:

  • OPEN_URL when clicked the message, it will open the url set in "action"

  • RUN_COMMAND when clicked, it will force the player to run a command set in "action"

  • NONE it will make nothing when clicked

You can create as many as you want, you can copy one of the examples.

Last updated