Skip to content

2. ClassicMOTD

Philipp Bolte edited this page May 29, 2018 · 1 revision

This is your basic MOTD that you are probably going to use most of the time.

classic

Config

Description

ClassicMotd:
Regulars: '&2Welcome back, &e%player%&2! %line%&aIt''s a %weather% %time%.'
Newbies: '&2Welcome newbie! %line%&aIt''s a %weather% %time%.'

Regulars is the MOTD that is shown to the users known to the server by their IP while the newbies section is shown to all unknown users. If you DON'T want to differentiate between players, just use the same text in both sections.

Variables Newbies

  • %line% -> second line
  • %weather% -> weather of configured world
  • %time% -> time of configured world
  • %randomplayer% -> random player name known to your server

Variables Regulars

All from newbies plus:

  • %player% -> player name
  • %money% -> player's balance (Vault and EconPlugin required!)

Apostrophe usage

Because the apostrophe is used to border strings, you have to mask it if you want to use it in your MOTD. You can see an example in both ClassicMOTDs. You have to mask it by using two apostrophes. Config: It''s -> Motd: It's

Clone this wiki locally