SettingsCommand
class SettingsCommand(plugin: LunaticChat, settingHandlerRegistry: SettingHandlerRegistry, languageManager: LanguageManager) : LunaticCommand(source)
Setting subcommand for /lc command. Handles /lc setting
This subcommand is extensible - new settings can be added by:
Adding a new SettingKey
Creating a SettingHandler implementation
Registering the handler in SettingHandlerRegistry
Constructors
Link copied to clipboard
constructor(plugin: LunaticChat, settingHandlerRegistry: SettingHandlerRegistry, languageManager: LanguageManager)
Properties
Functions
Link copied to clipboard
Link copied to clipboard
Build the Brigadier command tree. Subclasses implement this to define arguments and execution logic.
Link copied to clipboard
Wraps the command builder with permission checks. Called by CommandRegistry during registration.
Link copied to clipboard
Builds the setting subcommand structure with permission checks. This method should be called from parent commands.