add a bunch of // aliases for commands

This commit is contained in:
dordsor21 2020-04-19 11:43:30 +01:00
parent 415e91b519
commit 7b9a64e9a6
10 changed files with 32 additions and 8 deletions

View File

@ -111,6 +111,7 @@ public class BiomeCommands {
@Command( @Command(
name = "biomeinfo", name = "biomeinfo",
desc = "Get the biome of the targeted block.", desc = "Get the biome of the targeted block.",
aliases = { "/biomeinfo" },
descFooter = "By default, uses all blocks in your selection." descFooter = "By default, uses all blocks in your selection."
) )
@CommandPermissions("worldedit.biome.info") @CommandPermissions("worldedit.biome.info")

View File

@ -77,6 +77,7 @@ public class ChunkCommands {
@Command( @Command(
name = "chunkinfo", name = "chunkinfo",
aliases = { "/chunkinfo" },
desc = "Get information about the chunk you're inside" desc = "Get information about the chunk you're inside"
) )
@CommandPermissions("worldedit.chunkinfo") @CommandPermissions("worldedit.chunkinfo")
@ -93,6 +94,7 @@ public class ChunkCommands {
@Command( @Command(
name = "listchunks", name = "listchunks",
aliases = { "/listchunks" },
desc = "List chunks that your selection includes" desc = "List chunks that your selection includes"
) )
@CommandPermissions("worldedit.listchunks") @CommandPermissions("worldedit.listchunks")
@ -106,6 +108,7 @@ public class ChunkCommands {
@Command( @Command(
name = "delchunks", name = "delchunks",
aliases = { "/delchunks" },
desc = "Delete chunks that your selection includes" desc = "Delete chunks that your selection includes"
) )
@CommandPermissions("worldedit.delchunks") @CommandPermissions("worldedit.delchunks")

View File

@ -272,6 +272,7 @@ public class ClipboardCommands {
@Command( @Command(
name = "download", name = "download",
aliases = { "/download" },
desc = "Downloads your clipboard through the configured web interface" desc = "Downloads your clipboard through the configured web interface"
) )
@Deprecated @Deprecated
@ -537,6 +538,7 @@ public class ClipboardCommands {
@Command( @Command(
name = "clearclipboard", name = "clearclipboard",
aliases = { "/clearclipboard", "/cc", "/clearclip" },
desc = "Clear your clipboard" desc = "Clear your clipboard"
) )
@CommandPermissions("worldedit.clipboard.clear") @CommandPermissions("worldedit.clipboard.clear")

View File

@ -304,6 +304,7 @@ public class GenerationCommands {
@Command( @Command(
name = "forestgen", name = "forestgen",
aliases = { "/forestgen" },
desc = "Generate a forest" desc = "Generate a forest"
) )
@CommandPermissions("worldedit.generation.forest") @CommandPermissions("worldedit.generation.forest")
@ -325,6 +326,7 @@ public class GenerationCommands {
@Command( @Command(
name = "pumpkins", name = "pumpkins",
aliases = { "/pumpkins" },
desc = "Generate pumpkin patches" desc = "Generate pumpkin patches"
) )
@CommandPermissions("worldedit.generation.pumpkins") @CommandPermissions("worldedit.generation.pumpkins")

View File

@ -57,7 +57,7 @@ public class NavigationCommands {
@Command( @Command(
name = "unstuck", name = "unstuck",
aliases = { "!" }, aliases = { "!", "/unstuck" },
desc = "Escape from being stuck inside a block" desc = "Escape from being stuck inside a block"
) )
@CommandPermissions("worldedit.navigation.unstuck") @CommandPermissions("worldedit.navigation.unstuck")
@ -68,7 +68,7 @@ public class NavigationCommands {
@Command( @Command(
name = "ascend", name = "ascend",
aliases = { "asc" }, aliases = { "asc", "/asc", "/ascend" },
desc = "Go up a floor" desc = "Go up a floor"
) )
@CommandPermissions("worldedit.navigation.ascend") @CommandPermissions("worldedit.navigation.ascend")
@ -91,7 +91,7 @@ public class NavigationCommands {
@Command( @Command(
name = "descend", name = "descend",
aliases = { "desc" }, aliases = { "desc", "/desc", "/descend" },
desc = "Go down a floor" desc = "Go down a floor"
) )
@CommandPermissions("worldedit.navigation.descend") @CommandPermissions("worldedit.navigation.descend")
@ -114,6 +114,7 @@ public class NavigationCommands {
@Command( @Command(
name = "ceil", name = "ceil",
aliases = { "/ceil", "/ceiling" },
desc = "Go to the ceiling" desc = "Go to the ceiling"
) )
@CommandPermissions("worldedit.navigation.ceiling") @CommandPermissions("worldedit.navigation.ceiling")
@ -137,6 +138,7 @@ public class NavigationCommands {
@Command( @Command(
name = "thru", name = "thru",
aliases = { "/thru" },
desc = "Pass through walls" desc = "Pass through walls"
) )
@CommandPermissions("worldedit.navigation.thru.command") @CommandPermissions("worldedit.navigation.thru.command")
@ -150,7 +152,7 @@ public class NavigationCommands {
@Command( @Command(
name = "jumpto", name = "jumpto",
aliases = { "j" }, aliases = { "j", "/jumpto", "/j" },
desc = "Teleport to a location" desc = "Teleport to a location"
) )
@CommandPermissions("worldedit.navigation.jumpto.command") @CommandPermissions("worldedit.navigation.jumpto.command")
@ -173,6 +175,7 @@ public class NavigationCommands {
@Command( @Command(
name = "up", name = "up",
aliases = { "/up" },
desc = "Go upwards some distance" desc = "Go upwards some distance"
) )
@CommandPermissions("worldedit.navigation.up") @CommandPermissions("worldedit.navigation.up")

View File

@ -59,6 +59,7 @@ public class ScriptingCommands {
@Command( @Command(
name = "cs", name = "cs",
aliases = { "/cs" },
desc = "Execute a CraftScript" desc = "Execute a CraftScript"
) )
@CommandPermissions("worldedit.scripting.execute") @CommandPermissions("worldedit.scripting.execute")
@ -84,6 +85,7 @@ public class ScriptingCommands {
@Command( @Command(
name = ".s", name = ".s",
aliases = { "/.s" },
desc = "Execute last CraftScript" desc = "Execute last CraftScript"
) )
@CommandPermissions("worldedit.scripting.execute") @CommandPermissions("worldedit.scripting.execute")

View File

@ -307,6 +307,7 @@ public class SelectionCommands {
@Command( @Command(
name = "toggleeditwand", name = "toggleeditwand",
aliases = { "/toggleeditwand" },
desc = "Remind the user that the wand is now a tool and can be unbound with /none." desc = "Remind the user that the wand is now a tool and can be unbound with /none."
) )
@CommandPermissions("worldedit.wand.toggle") @CommandPermissions("worldedit.wand.toggle")

View File

@ -161,6 +161,7 @@ public class ToolCommands {
@Command( @Command(
name = "info", name = "info",
aliases = { "/info" },
desc = "Block information tool" desc = "Block information tool"
) )
@CommandPermissions("worldedit.tool.info") @CommandPermissions("worldedit.tool.info")
@ -173,6 +174,7 @@ public class ToolCommands {
@Command( @Command(
name = "inspect", name = "inspect",
aliases = { "/inspect" },
desc = "Inspect edits within a radius" desc = "Inspect edits within a radius"
) )
@CommandPermissions("worldedit.tool.inspect") @CommandPermissions("worldedit.tool.inspect")
@ -184,6 +186,7 @@ public class ToolCommands {
@Command( @Command(
name = "tree", name = "tree",
aliases = { "/tree" },
desc = "Tree generator tool" desc = "Tree generator tool"
) )
@CommandPermissions("worldedit.tool.tree") @CommandPermissions("worldedit.tool.tree")
@ -198,6 +201,7 @@ public class ToolCommands {
@Command( @Command(
name = "repl", name = "repl",
aliases = { "/repl" },
desc = "Block replacer tool" desc = "Block replacer tool"
) )
@CommandPermissions("worldedit.tool.replacer") @CommandPermissions("worldedit.tool.replacer")
@ -212,6 +216,7 @@ public class ToolCommands {
@Command( @Command(
name = "cycler", name = "cycler",
aliases = { "/cycler" },
desc = "Block data cycler tool" desc = "Block data cycler tool"
) )
@CommandPermissions("worldedit.tool.data-cycler") @CommandPermissions("worldedit.tool.data-cycler")
@ -224,7 +229,7 @@ public class ToolCommands {
@Command( @Command(
name = "floodfill", name = "floodfill",
aliases = { "flood" }, aliases = { "flood", "/flood", "/floodfill" },
desc = "Flood fill tool" desc = "Flood fill tool"
) )
@CommandPermissions("worldedit.tool.flood-fill") @CommandPermissions("worldedit.tool.flood-fill")
@ -248,6 +253,7 @@ public class ToolCommands {
@Command( @Command(
name = "deltree", name = "deltree",
aliases = { "/deltree" },
desc = "Floating tree remover tool" desc = "Floating tree remover tool"
) )
@CommandPermissions("worldedit.tool.deltree") @CommandPermissions("worldedit.tool.deltree")
@ -260,6 +266,7 @@ public class ToolCommands {
@Command( @Command(
name = "farwand", name = "farwand",
aliases = { "/warwand" },
desc = "Wand at a distance tool" desc = "Wand at a distance tool"
) )
@CommandPermissions("worldedit.tool.farwand") @CommandPermissions("worldedit.tool.farwand")

View File

@ -192,6 +192,7 @@ public class ToolUtilCommands {
@Command( @Command(
name = "primary", name = "primary",
aliases = { "/primary" },
desc = "Set the right click brush", desc = "Set the right click brush",
descFooter = "Set the right click brush" descFooter = "Set the right click brush"
) )
@ -212,6 +213,7 @@ public class ToolUtilCommands {
@Command( @Command(
name = "secondary", name = "secondary",
aliases = { "/secondary" },
desc = "Set the left click brush", desc = "Set the left click brush",
descFooter = "Set the left click brush" descFooter = "Set the left click brush"
) )
@ -233,7 +235,7 @@ public class ToolUtilCommands {
@Command( @Command(
name = "visualize", name = "visualize",
aliases = {"visual", "vis"}, aliases = {"visual", "vis", "/visualize", "/visual", "/vis"},
desc = "Toggle between different visualization modes", desc = "Toggle between different visualization modes",
descFooter = "Toggle between different visualization modes\n" + descFooter = "Toggle between different visualization modes\n" +
"0 = No visualization\n" + "0 = No visualization\n" +
@ -258,7 +260,7 @@ public class ToolUtilCommands {
@Command( @Command(
name = "target", name = "target",
aliases = {"tar"}, aliases = {"tar", "/target", "/tar"},
desc = "Toggle between different target modes" desc = "Toggle between different target modes"
) )
@CommandPermissions("worldedit.brush.target") @CommandPermissions("worldedit.brush.target")

View File

@ -544,6 +544,7 @@ public class UtilityCommands {
@Command( @Command(
name = "butcher", name = "butcher",
aliases = { "/butcher" },
desc = "Kill all or nearby mobs" desc = "Kill all or nearby mobs"
) )
@CommandPermissions("worldedit.butcher") @CommandPermissions("worldedit.butcher")
@ -606,7 +607,7 @@ public class UtilityCommands {
@Command( @Command(
name = "remove", name = "remove",
aliases = { "rem", "rement" }, aliases = { "rem", "rement", "/remove", "/rem", "/rement" },
desc = "Remove all entities of a type" desc = "Remove all entities of a type"
) )
@CommandPermissions("worldedit.remove") @CommandPermissions("worldedit.remove")