SybSafetyFirst
Toggle table of contents
unknown
jvm
Platform filter
jvm
Switch theme
Search in API
SybSafetyFirst
SybSafetyFirst
/
com.sybsuper.sybsafetyfirst.modules
/
SkillBasedInventory
Skill
Based
Inventory
class
SkillBasedInventory
:
Module
Members
Constructors
Skill
Based
Inventory
Link copied to clipboard
constructor
(
)
Types
Skill
Based
Inventory
Options
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
description
Link copied to clipboard
open
override
val
description
:
String
filler
Item
Link copied to clipboard
val
fillerItem
:
<Error class: unknown class>
id
Link copied to clipboard
open
val
id
:
String
name
Link copied to clipboard
open
val
name
:
String
options
Link copied to clipboard
open
override
var
options
:
ModuleOptions
type
Safe
Options
Link copied to clipboard
val
typeSafeOptions
:
<Error class: unknown class>
Functions
current
Enabled
Instance
Link copied to clipboard
open
fun
currentEnabledInstance
(
)
:
Module
?
on
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
)
on
Disable
Link copied to clipboard
open
override
fun
onDisable
(
)
Called when the module is disabled.
on
Enable
Link copied to clipboard
open
override
fun
onEnable
(
)
Called when the module is enabled.
on
Join
Link copied to clipboard
fun
onJoin
(
event
:
PlayerRespawnEvent
)