getMOTD

fun getMOTD(): String

Gets the current server's MOTD, or "SinglePlayer" if the player is in a single-player world.

Return

The MOTD of the current server

Sources

Link copied to clipboard