MCPcopy Create free account
hub / github.com/aikar/commands / register

Method register

core/src/main/java/co/aikar/commands/BaseCommand.java:430–436  ·  view source on GitHub ↗

Registers the given BaseCommand cmd as a child of the RootCommand linked to the name given. @param name Name of the parent to cmd. @param cmd The BaseCommand to add as a child to the RootCommand owned name field.

(String name, BaseCommand cmd)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

onRegisterMethod · 0.95
registerSubcommandMethod · 0.95

Calls 2

addChildMethod · 0.95
obtainRootCommandMethod · 0.80

Tested by

no test coverage detected