nanos world API Reference Unofficial documentation
Static function Server Fast

Server.SetPassword

Sets the password of the server, optionally overrides Config.toml

Syntax

Lua
Server.SetPassword(password, persist_to_config_file = false)

Parameters

Name Type Default Description
password string The new password
persist_to_config_file optional boolean false Persist to config file