abstract
CommandBase
Simple synchronous command base. Override executeSync(CommandContext). Has helper methods like context.isPlayer() and context.senderAsPlayerRef(). Good for commands that dont need async operations.
Methods
Override to implement synchronous command logic. Runs on main thread.
Set minimum permission level. GameMode.Adventure = anyone, GameMode.Creative = elevated.