DirectMessageNoticeSettingHandler

Handles the direct message notification setting. Manages enabling/disabling DM notifications for players.

Constructors

Link copied to clipboard
constructor(settingsManager: PlayerSettingsManager, languageManager: LanguageManager)

Properties

Link copied to clipboard
open override val key: SettingKey

The setting key this handler manages.

Functions

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

Enables or disables the setting for a player.

Link copied to clipboard
open override fun showStatus(ctx: CommandContext): CommandResult

Shows the current status of the setting for a player.