Interface ModuleCommand
- All Superinterfaces:
org.incendo.cloud.execution.CommandExecutionHandler<FPlayer>, ModuleLocalization, ModuleSimple
- All Known Subinterfaces:
AfkModule, AnonModule, BallModule, BanlistModule, BanModule, BroadcastModule, ChatcolorModule, ChatsettingModule, ClearchatModule, ClearmailModule, CoinModule, DeletemessageModule, DiceModule, DoModule, EmitModule, FlectonepulseModule, GeolocateModule, HelperModule, IgnorelistModule, IgnoreModule, KickModule, MailModule, MaintenanceModule, MeModule, MinesweeperModule, MutelistModule, MuteModule, NicknameModule, OnlineModule, PingModule, PollModule, ReplyModule, RockpaperscissorsModule, SpriteModule, SpyModule, StreamModule, SymbolModule, TellModule, TictactoeModule, ToponlineModule, TranslatetoModule, TryModule, UnbanModule, UnmuteModule, UnwarnModule, WarnlistModule, WarnModule, WhitelistModule, WhoisModule
public interface ModuleCommand
extends ModuleLocalization, org.incendo.cloud.execution.CommandExecutionHandler<FPlayer>
A module that registers a chat command.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.incendo.cloud.execution.CommandExecutionHandler
org.incendo.cloud.execution.CommandExecutionHandler.FutureCommandExecutionHandler<C> -
Method Summary
Modifier and TypeMethodDescriptionconfig()The config section for this command, which also holds its aliases.voidRuns the command.default voidMethods inherited from interface org.incendo.cloud.execution.CommandExecutionHandler
executeFutureMethods inherited from interface ModuleLocalization
cooldown, cooldownOrThrow, localization, permissions, sound, soundOrThrowMethods inherited from interface ModuleSimple
children, isDisable, name, onDisable, onEnable, permission
-
Method Details
-
config
CommandSetting config()The config section for this command, which also holds its aliases.- Specified by:
configin interfaceModuleSimple- Returns:
- the command settings
-
execute
-
execute
-