Ban

data class Ban(val serverName: String, val reason: String, val bannedUntil: Long = -1L)

Parameters

bannedUntil

epoch milliseconds the ban expires at, or -1 if it never does.

Constructors

Link copied to clipboard
constructor(serverName: String, reason: String, bannedUntil: Long = -1L)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun toJson(): JsonObject