SettingHandler

Interface for handling individual setting operations. Each setting (japanese, notice, etc.) implements this interface to provide its own logic for getting, setting, and displaying status.

Inheritors

Properties

Link copied to clipboard
abstract val key: SettingKey

The setting key this handler manages.

Functions

Link copied to clipboard
abstract fun execute(ctx: CommandContext, enable: Boolean): CommandResult

Enables or disables the setting for a player.

Link copied to clipboard

Shows the current status of the setting for a player.