BukkitLevelSystem

abstract class BukkitLevelSystem(player: Player) : LevelSystem(source)

Deprecated

Use Levels API instead, it supports several levels per player.

LevelSystem for Bukkit.

Constructors

Link copied to clipboard
constructor(player: Player)

Types

Link copied to clipboard

Provider of Bukkit level systems. It is also available via Levels as the single track <id>:level, unless a LevelProvider with the same ID is registered.

Properties

Link copied to clipboard

Player owning this level system.

Inherited properties

Link copied to clipboard
Link copied to clipboard
abstract var exp: Double
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract var level: Int
Link copied to clipboard
open var totalExp: Double
Link copied to clipboard

Inherited functions

Link copied to clipboard
open fun didReachLevel(requiredLevel: Int): Boolean
Link copied to clipboard
open fun giveExp(expAmount: Double)
Link copied to clipboard
open fun giveLevels(lvlAmount: Int)
Link copied to clipboard
open fun hasExp(requiredExp: Double): Boolean
Link copied to clipboard
open fun hasExpTotal(requiredExp: Double): Boolean
Link copied to clipboard
open fun takeExp(expAmount: Double)
Link copied to clipboard
open fun takeLevels(lvlAmount: Int)