Package-level declarations

Types

Link copied to clipboard
object BlockUserTable : Table
Link copied to clipboard
object BoosterTable : IntIdTable
Link copied to clipboard
object TableAchievements : Table
Link copied to clipboard
object TableLink : Table
Link copied to clipboard
object TitleTable : Table

Functions

Link copied to clipboard
fun addAchievementToUser(achievement: DatabaseAchievement): ReplaceStatement<Long>
Link copied to clipboard
fun bulkReplacePlayerTitlesDB(uuid: UUID, titles: Map<Title, Calendar>): List<ResultRow>

Awards a player with a title and stores it in the database.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun getLinkOfDiscord(discordID: String): Link?
Link copied to clipboard
fun getLinkOfUser(uuid: UUID): Link?
Link copied to clipboard
fun getPlayerTitles(uuid: UUID): MutableMap<Title, Calendar>

Retrieves the titles of a player identified by their UUID.

Link copied to clipboard
fun linkUser(link: Link): InsertStatement<Number>
Link copied to clipboard
fun makeBooster(booster: BitBoosters): InsertStatement<Number>
Link copied to clipboard
fun mapToBooster(row: ResultRow): BitBoosters
Link copied to clipboard
fun unlinkUser(uuid: UUID): Int
Link copied to clipboard
fun updateDatabaseUser(user: BlockUser): List<ResultRow>