Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CommandSpec.builder()
- .description(Text.of("Teleport to a warp location"))
- .extendedDescription(Text.of("Teleports you to the location of the specified warp."))
- .permission("warps.command.warp")
- .arguments(new WarpCommandElement(Text.of("warp")))
- .executor(new WarpExecutor())
- .child(helpCommand, "help", "h", "?")
- .child(createPublicWarpCommand, "set", "create")
- .child(createPrivateWarpCommand, "pset", "pcreate")
- .child(deleteWarpCommand, "delete", "remove")
- .child(toPublicWarpCommand, "public")
- .child(toPrivateWarpCommand, "private")
- .child(assetsCommand, "assets", "pinfo")
- .child(topWarpCommand, "top")
- .child(invitePlayerToWarpCommand, "invite") // /warp invite <warp> <player>
- .child(uninvitePlayerFromWarpCommand, "uninvite") // /warp uninvite <warp> <player>
- .child(blacklistCommand, "blacklist", "bl") //todo: blacklist
- .child(updateWarpCommand, "update")
- .child(infoWarpCommand, "info")
- .build();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement