minetest.get_server_status

From Minetest Developer Wiki
(Redirected from get server status)
Jump to: navigation, search

Syntax

Description

  • Returns the server status string when a player joins or when the command `/status` is called. Returns `nil` or an empty string when the message is disabled.
  • `joined`: Boolean value, indicates whether the function was called when a player joined.
  • This function may be overwritten by mods to customize the status message.

Example

print(minetest.get_server_status(playername, true))
Personal tools
Namespaces

Variants
Actions
Navigation
API
Toolbox