Documentation
server
modulePaper
The server itself: console commands, version, TPS.
import serverFunctions 8
Runs a command as the console (without the slash).
server.version()
Paper
Minecraft version of the server.
server.motd()
Paper
The message shown in the server list.
True if a plugin with that name is installed and enabled.
server.plugins()
Paper
Names of the enabled plugins.
Whether the whitelist is on; pass true or false to switch it.
server.max_players()
Paper
Maximum number of players.
server.tps()
Paper
Ticks per second over the last minute (20 is perfect). Not available on Folia.