BlockUser

data class BlockUser(val uuid: UUID, val username: String, val language: Languages = Languages.EN, val xp: Long = 0, val ventureBits: Long = 0, val firstJoined: Calendar = Calendar.now(), val lastTimeJoined: Calendar = Calendar.now(), val onlineTime: Duration = Duration.ZERO, var selectedTitle: Title? = null, var afk: Boolean = false, var lastActivity: Calendar = Calendar.now(), val titles: MutableMap<Title, Calendar> = getPlayerTitles(uuid))(source)

Constructors

Link copied to clipboard
constructor(uuid: UUID, username: String, language: Languages = Languages.EN, xp: Long = 0, ventureBits: Long = 0, firstJoined: Calendar = Calendar.now(), lastTimeJoined: Calendar = Calendar.now(), onlineTime: Duration = Duration.ZERO, selectedTitle: Title? = null, afk: Boolean = false, lastActivity: Calendar = Calendar.now(), titles: MutableMap<Title, Calendar> = getPlayerTitles(uuid))

Properties

Link copied to clipboard
Link copied to clipboard
val firstJoined: Calendar
Link copied to clipboard
Link copied to clipboard
var lastActivity: Calendar
Link copied to clipboard
val lastTimeJoined: Calendar
Link copied to clipboard
val level: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val titles: MutableMap<Title, Calendar>
Link copied to clipboard
Link copied to clipboard
val uuid: UUID
Link copied to clipboard
val ventureBits: Long = 0
Link copied to clipboard
val xp: Long = 0

Functions

Link copied to clipboard
Link copied to clipboard
fun nextLevelExp(forLevel: Int = level + 1): Long
Link copied to clipboard
Link copied to clipboard
fun BlockUser.translate(message: String, placeholders: Map<String, Any?> = emptyMap()): Translation?