SkillBasedInventory

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
@Serializable
data class SkillBasedInventoryOptions(var enabled: Boolean = true, var levelsPerSlot: Int = 2, var startingSlots: Int = 9, var lastAffectedSlotIndex: Int = 35) : ModuleOptions

Properties

Link copied to clipboard
open override val description: String
Link copied to clipboard
val fillerItem: <Error class: unknown class>
Link copied to clipboard
open val id: String
Link copied to clipboard
open val name: String
Link copied to clipboard
open override var options: ModuleOptions
Link copied to clipboard
val typeSafeOptions: <Error class: unknown class>

Functions

Link copied to clipboard
Link copied to clipboard
fun on(event: PlayerDeathEvent)
fun on(event: InventoryClickEvent)
fun on(event: PlayerAttemptPickupItemEvent)
fun on(event: PlayerDropItemEvent)
fun on(event: PlayerInteractEvent)
fun on(event: PlayerItemHeldEvent)
fun on(event: PlayerJoinEvent)
fun on(event: PlayerLevelChangeEvent)
fun on(event: PlayerRespawnEvent)
fun on(event: PlayerSwapHandItemsEvent)
Link copied to clipboard
open override fun onDisable()

Called when the module is disabled.

Link copied to clipboard
open override fun onEnable()

Called when the module is enabled.

Link copied to clipboard
fun onJoin(event: PlayerRespawnEvent)