Server.config

Gets the server's configuration.

interface Server
shared nothrow @property @safe @nogc
const(Config)
config
()

Examples

// server name
writeln("Welcome to ", server.config.hub.displayName);

// game version
if(server.config.node.java) writeln("Port for Java Edition: ", server.config.node.java.port);

Meta