onChanged

abstract fun onChanged(id: Identifier, config: Config, player: ServerPlayerEntity)

Called by the onChangedServer event when the server side of a config is changed.

Author

fzzyhmstrs

Since

0.5.0

Parameters

id

Identifier the registered id attached to the config instance.

config

Config the config instance. This should only be read, or changes only made to transient fields/methods. Making updates to settings here will NOT be captured by the synchronization system.

player

ServerPlayerEntity the player that sent the update to the server