Funzione statica
Veloce
Server.SetMaxPlayers
Sets the maximum player slots of the server, optionally overrides Config.toml
Non ancora tradotto
Sintassi
Server.SetMaxPlayers(max_players, persist_to_config_file = false)
Parametri
| Nome | Tipo | Predefinito | Descrizione |
|---|---|---|---|
max_players
|
integer | — | The maximum players |
persist_to_config_file
facoltativo
|
boolean | false |
Persist to config file |