Skip to content

3. RandomMOTD

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

This MOTD changes randomly from ping to ping between configured MOTDs.

random

Config

Description

RandomMotd:
Enable: false
Regulars:
- '&bHey %player%! %line%&3Those Motds change totally random!'
- '&2You can add as many Motds as you want!'
- '&eAdd bullet points to add more Motds!'
- '&3The weather ist %weather% and it is %time%'
Newbies:
- '&bHey Newbie. %line%&3Those Motds change totally random!'
- '&2You can add as many Motds as you want!'
- '&eAdd bullet points to add more Motds!'
- '&3The weather ist %weather% and it is %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.

You can add or remove bullet points to add or remove MOTDs from the list that gets shuffled through randomly on every ping. One bullet point = one MOTD

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