GroupMoro
SmartMessage
SmartMessage
  • GETTING STARTED
    • Permissions
    • Configuration
  • message formatting
    • Message type
Powered by GitBook
On this page
  • config.yml:
  • Normal Message
  • Link Message
  • Command Message
  1. message formatting

Message type

This page describes the various types of messages.

config.yml:

Normal Message

If you want to use normal messages, leave the "link" and "command" changes blank.

message:

  normal_message:
    text: "%prefix% &aNormal message"
    link: ""
    command: ""
    

Link Message

If you want to use link messages, insert the link in the indicated field leaving "command" blank If the player presses the message he will be asked to open a link

message:

  link_message:
    text: "%prefix% &3Message with link"
    link: "https://www.spigotmc.org"
    command: ""
    

Command Message

If you want to use command messages, enter the desired command leaving "link" blank. If the player presses the message, the command will be automatically executed.

message:

  three:
    text: "%prefix% &bMessage with command"
    link: ""
    command: "fly"
    

In all messages you can start a new line with " \n "

PreviousConfiguration

Last updated 2 months ago