So I have the CommandSpec below. The issue with it though is that when I call “dz”, I only receive the children with one alias. I don’t get all of the children. Is there a way to address this so the rest of the children appear? Thanks!
CommandSpec dreadZoneCmd = CommandSpec.builder()
.description(Text.of("Dread Zone."))
.child(readyCmd, "ready")
.child(leaveArenaCmd, "leave")
.child(reloadCmd, "reload")
.child(joinCmd, "join")
.child(addLightiningRodCmd, "addLightningRod","alr")
.child(addClassNPCCmd, "addClassNPC","acnpc")
.child(addClassCmd, "addClass","ac")
.child(addClassItemCmd, "addClass","aci")
.child(addArenaModeCmd, "addArenaMode","aam")
.child(addMobCrateCmd, "addMobCrate","amc")
.child(addArenaSpawnsCmd, "addArenaSpawns","aas")
.build();
game.getCommandManager().register(this, dreadZoneCmd,"dz");
Side note: Does anyone know of an API or way to present the commands to the user like the image below?