Annotation Interface RegisterCommand
Registers the class as an admin command, as
Commands.register(Class) does, while the mod
loads: after the entry point's listener methods and before Mod.onLoad(). Only classes
in the mod's own jar are found, not those of its libraries; several are registered in the
order of their names. The class follows the rules of Commands.
@RegisterCommand
@CommandName(name = "zfhello")
@RequiredCapability(requiredCapability = Capability.LoginOnServer)
public class HelloCommand extends CommandBase { ... }