Adds a new option to config.yml "motdsLegacy"
- This list of motds will be shown to users running versions under 1.16.
- If the list is empty, the normal "motds" list will be used for everyone.
- Currently this function is only supported on bungee based platforms, it will come to Spigot in a future update, likely with ProtocolLib as an optional dependency.
Thanks to @mikuś on Discord for the
PR
New default config.yml
Code (YAML):
motd
:
# Do you want to enable this feature?
motdEnabled
: true
# Placeholders: {onlinePlayers} {maxPlayers}
# Use {br} to separate lines.
# Putting more than one will cause one to be randomly chosen each refresh
motds
:
-
"<bold><gradient:black:white>----====[</gradient> <gradient:green:blue>UltraCraft <gradient:red:yellow></bold><italic>Official</gradient></italic><bold> <gradient:white:black>]=====----</gradient></bold>{br}<bold> <gradient:#EEFF4A:#F7FFAE>Custom <italic>Survival</italic></gradient> <color:#0092FF>Discord</bold><gray>:</gray> <gradient:#5FDAFF:#B8A6FF><italic>Ab3d5f"
-
"<rainbow>|||||||||||||||||||||||||||||||||||||||||||||||||||||||||</rainbow>{br}<white>Hello <blue>{onlinePlayers} <gray>/</gray> {maxPlayers}</blue> Players Online"
# Only works on bungee. Will be added for Spigot in a future update
# These motds will be shown to pre-1.16 clients
# If this list is empty, the normal motd list above will be used.
motdsLegacy
:
-
"<red>This server requires version 1.16+</red>{br}<yellow>For you to see our cool RGB messages!"
-
"<green>Sample motd displayed on version 1.15.2 and below"
-
"<red>This function only works on bungeecord based platforms for now!"
maxPlayers
:
# Do you want to enable this feature?
maxPlayersEnabled
: true
# Changes the Max Players value.
maxPlayers
: 69
# Changes the Max Players to X more than the online players
# Example: 16/19 players online.
justXMoreEnabled
: false
xValue
: 3
bungeeOnly
:
# Do you want to enable this feature?
fakePlayersEnabled
: false
# Modes: static, random, percent
# static: This many fake players will be added
# ex: fakePlayers: "3"
# random: A random number of fake players in this range will be added
# ex: fakePlayers: "3:6"
# percent: The player count will be inflated by this much, rounding up
# ex: fakePlayers: "25%"
fakePlayers
:
"25%"