Variables and Config

RoyalMessages variable list and config options

Variables

The variables RoyalMessages supports in the login and logout messages are listed here.

  • {name} - The name of the player
  • {dispname} - The display name of the player (/nick in RoyalCommands, etc)
  • {world} - The world the player is spawning in or leaving from
  • {health} - The amount of health a player has, from 0 - 20.
  • {healthtext} - A phrase similar to high health, low health, etc.

Config

The default config looks like this:

login-format: '&e{name} has entered the game.'
quit-format: '&e{name} has left the game.'
kick-format: '&e{name} has been kicked.'
enable-login-message: true
enable-quit-message: true
enable-kick-message: true
tell-console: false

Here's what all of them mean:

  • login-format is the format of the login message
  • quit-format is the format of the quit message
  • kick-format is the format of the kick message
  • enable-login-message is whether to show the login message
  • enable-quit-message is whether to show the quit message
  • enable-kick-message is whether to show the kick message
  • tell-console will show the console the messages if set to true

Comments

Posts Quoted:
Reply
Clear All Quotes