- Documentation
- Server functions
- setGameType
Function
setGameType
Stores the server's game type (e.g. "Roleplay", "Freeroam", "DM").
Syntax
bool setGameType(string gameType)Arguments
gameTypestring- Game type, or
falseto clear.
Returns
true on success.
Example
setGameType("Roleplay")
Notes
State for scripts. The launcher's server list does not show it yet.