onChanged

abstract fun onChanged(id: Identifier, config: Config, context: ServerUpdateContext)

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

Author

fzzyhmstrs

Since

0.7.4

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.

context

ServerUpdateContext information regarding the server and possibly player involved with the update