ServerConfig

interface ServerConfig

The basic configuration options associated with the server.

Properties

Link copied to clipboard
@get:JvmName(name = "ip")
abstract val ip: String

The address that the server is bound to.

Link copied to clipboard
abstract val isOnline: Boolean

If the server is in online mode, meaning it authenticates players through verified means. The authentication provider will, for most implementations, be Mojang.

Link copied to clipboard
@get:JvmName(name = "maxPlayers")
abstract val maxPlayers: Int

The maximum players that may join the server.

Link copied to clipboard
@get:JvmName(name = "motd")
abstract val motd: Component

The message of the day for the server's status.

Link copied to clipboard
@get:JvmName(name = "port")
abstract val port: Int

The port that the server is bound to.