Player Data
data class PlayerData( var nickName: String? = null, var balance: Double = 0.0, var chatColor: String? = null, var chatPingsEnabled: Boolean = true, var discordID: Long? = null, val homes: MutableMap<String, LocationHolder> = mutableMapOf(), val kitClaimTimes: MutableMap<String, Long> = mutableMapOf())
Content copied to clipboard
A data class that hold the relevant player data for each player.
Parameters
nick Name
the players nickname or null if they don't have one
balance
the money the user has
chat Color
the saved chatcolor of the player
chat Pings Enabled
true if the player gets chat pings, false otherwise
homes
the homes they have. the key is the home name, the value is the location.
kit Claim Times
the map of kitname and system time claimed
Constructors
Link copied to clipboard
fun PlayerData( nickName: String? = null, balance: Double = 0.0, chatColor: String? = null, chatPingsEnabled: Boolean = true, discordID: Long? = null, homes: MutableMap<String, LocationHolder> = mutableMapOf(), kitClaimTimes: MutableMap<String, Long> = mutableMapOf())
Content copied to clipboard