set motd to <text>since 1.5.2The message of the day. \n starts the second line; & colour codes work · Spigot and Paper
set motd to random item of ["&6Welcome!", "&bNew: sky islands", "&dVote for rewards"]Try it← All of the Docs Data and the outside
set motd to <text>since 1.5.2The message of the day. \n starts the second line; & colour codes work · Spigot and Paper
set motd to random item of ["&6Welcome!", "&bNew: sky islands", "&dVote for rewards"]Try itset max players to <number>since 1.5.2The limit shown after the slash. The real limit stays as it is · Spigot and Paper
set max players to 100Try itset shown players to <number>since 1.5.2The online count shown · Paper
set shown players to server.online_players + 20Try itset player list to <text>, <text>, ...since 1.5.2The lines shown when the mouse rests on the player count; a list value works too · Paper
set player list to "&6Welcome!", "&7Survival and minigames", "&7discord.gg/example"Try ithide player countsince 1.5.2Shows ??? instead of the counts · Paper
on server ping:
hide player countTry itset server icon to <path>since 1.5.2The icon: a 64 by 64 pixel PNG inside the plugin folder, such as "plugins/HyperScript/icon.png" · Spigot and Paper
on server ping:
set server icon to "plugins/HyperScript/icon.png"Try iton server ping runs whenever a client refreshes its server list, and can change what that client sees: the message of the day, the player counts and the icon.
on server ping:
set motd to "&6My Server &7- &a%server.online_players% online\n&eDouble coins weekend!"
set max players to 100
set shown players to server.online_players + 20
set player list to "&6Welcome!", "&7Survival and minigames", "&7discord.gg/example"
| Statement | Changes | Server |
|---|---|---|
set motd to <text> | The message of the day. \n starts the second line; & colour codes work | Spigot and Paper |
set max players to <number> | The limit shown after the slash. The real limit stays as it is | Spigot and Paper |
set shown players to <number> | The online count shown | Paper |
set player list to <text>, <text>, ... | The lines shown when the mouse rests on the player count; a list value works too | Paper |
hide player count | Shows ??? instead of the counts | Paper |
set server icon to <path> | The icon: a 64 by 64 pixel PNG inside the plugin folder, such as "plugins/HyperScript/icon.png" | Spigot and Paper |
%server.motd% is the MOTD from server.properties, and %event.address% the IP address of the client asking. To rotate messages, pick one at random:
on server ping:
set motd to random item of ["&6Welcome!", "&bNew: sky islands", "&dVote for rewards"]
{%player%.*} variables and the player placeholders are unset. Global variables work.set lines: no loops, files or web requests.