geforkt von Mirrors/FastAsyncWorldEdit
Cleanup.
Dieser Commit ist enthalten in:
Ursprung
f7c5782fa9
Commit
1c4c621500
382
plugin.yml
382
plugin.yml
@ -1,382 +0,0 @@
|
|||||||
name: WorldEdit
|
|
||||||
main: com.sk89q.worldedit.bukkit.WorldEditPlugin
|
|
||||||
version: ${project.version}
|
|
||||||
commands:
|
|
||||||
chunkinfo:
|
|
||||||
description: Get information about the chunk that you are inside
|
|
||||||
usage: /<command>
|
|
||||||
permissions: 'worldedit.chunkinfo'
|
|
||||||
listchunks:
|
|
||||||
description: List chunks that your selection includes
|
|
||||||
usage: /<command>
|
|
||||||
permissions: 'worldedit.listchunks'
|
|
||||||
delchunks:
|
|
||||||
description: Delete chunks that your selection includes
|
|
||||||
usage: /<command>
|
|
||||||
permissions: 'worldedit.delchunks'
|
|
||||||
/load:
|
|
||||||
description: Load a schematic into your clipboard
|
|
||||||
usage: /<command> <filename>
|
|
||||||
permissions: 'worldedit.clipboard.load'
|
|
||||||
/save:
|
|
||||||
description: Save a schematic into your clipboard
|
|
||||||
usage: /<command> <filename>
|
|
||||||
permissions: 'worldedit.clipboard.save'
|
|
||||||
/copy:
|
|
||||||
description: Copy the selection to the clipboard
|
|
||||||
usage: /<command>
|
|
||||||
permissions: 'worldedit.clipboard.copy'
|
|
||||||
/flip:
|
|
||||||
description: Flip the contents of the clipboard
|
|
||||||
usage: /<command> [dir]
|
|
||||||
permissions: 'worldedit.clipboard.flip'
|
|
||||||
/rotate:
|
|
||||||
description: Rotate the contents of the clipboard
|
|
||||||
usage: /<command> <angle-in-degrees>
|
|
||||||
permissions: 'worldedit.clipboard.rotate'
|
|
||||||
/cut:
|
|
||||||
description: Cut the selection to the clipboard
|
|
||||||
usage: /<command> [leave-id]
|
|
||||||
permissions: 'worldedit.clipboard.cut'
|
|
||||||
/paste:
|
|
||||||
description: Paste the clipboard's contents
|
|
||||||
usage: /<command> [-ao]
|
|
||||||
permissions: 'worldedit.clipboard.paste'
|
|
||||||
clearclipboard:
|
|
||||||
description: Clear your clipboard
|
|
||||||
usage: /<command>
|
|
||||||
permissions: 'worldedit.clipboard.clear'
|
|
||||||
/limit:
|
|
||||||
description: Modify block change limit
|
|
||||||
usage: /<command> <limit>
|
|
||||||
permissions: 'worldedit.limit'
|
|
||||||
/gmask:
|
|
||||||
description: Set the global mask
|
|
||||||
usage: /<command> [mask]
|
|
||||||
aliases: ['gmask']
|
|
||||||
permissions: 'worldedit.global-mask'
|
|
||||||
we:
|
|
||||||
description: WorldEdit commands
|
|
||||||
usage: /<command>
|
|
||||||
aliases: ['worldedit']
|
|
||||||
/fast:
|
|
||||||
description: Toggle fast mode
|
|
||||||
usage: /<command>
|
|
||||||
permissions: 'worldedit.fast'
|
|
||||||
toggleplace:
|
|
||||||
description:
|
|
||||||
usage: /<command>
|
|
||||||
searchitem:
|
|
||||||
description: Search for an item
|
|
||||||
usage: /<command> [-bi] <query>
|
|
||||||
aliases: ['/l', 'search']
|
|
||||||
/hcyl:
|
|
||||||
description: Generate a hollow cylinder
|
|
||||||
usage: /<command> <block> <radius> [height]
|
|
||||||
permissions: 'worldedit.generation.cylinder'
|
|
||||||
/cyl:
|
|
||||||
description: Generate a cylinder
|
|
||||||
usage: /<command> <block> <radius> [height]
|
|
||||||
permissions: 'worldedit.generation.cylinder'
|
|
||||||
/hsphere:
|
|
||||||
description: Generate a hollow sphere
|
|
||||||
usage: /<command> <block> <radius> [raised?]
|
|
||||||
permissions: 'worldedit.generation.sphere'
|
|
||||||
/sphere:
|
|
||||||
description: Generate a filled sphere
|
|
||||||
usage: /<command> <block> <radius> [raised?]
|
|
||||||
permissions: 'worldedit.generation.sphere'
|
|
||||||
forestgen:
|
|
||||||
description: Generate a forest
|
|
||||||
usage: /<command> [size] [type] [density]
|
|
||||||
permissions: 'worldedit.generation.forest'
|
|
||||||
pumpkins:
|
|
||||||
description: Generate pumpkin patches
|
|
||||||
usage: /<command> [size]
|
|
||||||
permissions: 'worldedit.generation.pumpkins'
|
|
||||||
/undo:
|
|
||||||
description: Undoes the last action
|
|
||||||
usage: /<command> [times]
|
|
||||||
aliases: ['undo']
|
|
||||||
permissions: 'worldedit.history.undo'
|
|
||||||
/redo:
|
|
||||||
description: Redoes the last action (from history)
|
|
||||||
usage: /<command> [times]
|
|
||||||
aliases: ['redo']
|
|
||||||
permissions: 'worldedit.history.redo'
|
|
||||||
clearhistory:
|
|
||||||
description: Clear your history
|
|
||||||
usage: /<command>
|
|
||||||
permissions: 'worldedit.history.clear'
|
|
||||||
unstuck:
|
|
||||||
description: Escape from being stuck inside a block
|
|
||||||
usage: /<command>
|
|
||||||
permissions: 'worldedit.navigation.unstuck'
|
|
||||||
ascend:
|
|
||||||
description: Go up a floor
|
|
||||||
usage: /<command> [# of levels]
|
|
||||||
permissions: 'worldedit.navigation.ascend'
|
|
||||||
descend:
|
|
||||||
description: Go down a floor
|
|
||||||
usage: /<command> [# of floors]
|
|
||||||
permissions: 'worldedit.navigation.descend'
|
|
||||||
ceil:
|
|
||||||
description: Go to the celing
|
|
||||||
usage: /<command> [clearance]
|
|
||||||
permissions: 'worldedit.navigation.ceiling'
|
|
||||||
thru:
|
|
||||||
description: Passthrough walls
|
|
||||||
usage: /<command>
|
|
||||||
permissions: 'worldedit.navigation.thru'
|
|
||||||
jumpto:
|
|
||||||
description: Teleport to a location
|
|
||||||
usage: /<command>
|
|
||||||
permissions: 'worldedit.navigation.jumpto'
|
|
||||||
up:
|
|
||||||
description: Go upwards some distance
|
|
||||||
usage: /<command> <block>
|
|
||||||
permissions: 'worldedit.navigation.up'
|
|
||||||
/replace:
|
|
||||||
description: Replace all blocks in the selection with another
|
|
||||||
usage: /<command> [from-block] <to-block>
|
|
||||||
permissions: 'worldedit.region.replace'
|
|
||||||
/stack:
|
|
||||||
description: Repeat the contents of the selection
|
|
||||||
usage: /<command> [-sa] [count] [direction]
|
|
||||||
permissions: 'worldedit.region.stack'
|
|
||||||
/set:
|
|
||||||
description: Set all the blocks inside the selection to a block
|
|
||||||
usage: /<command> <block>
|
|
||||||
permissions: 'worldedit.region.set'
|
|
||||||
/overlay:
|
|
||||||
description: Set a block on top of blocks in the region
|
|
||||||
usage: /<command> <block>
|
|
||||||
permissions: 'worldedit.region.overlay'
|
|
||||||
/naturalize:
|
|
||||||
description: 3 layers of dirt on top then rock below
|
|
||||||
usage: /<command>
|
|
||||||
permissions: 'worldedit.region.naturalize'
|
|
||||||
/walls:
|
|
||||||
description: Build the four sides of the selection
|
|
||||||
usage: /<command> <block>
|
|
||||||
permissions: 'worldedit.region.walls'
|
|
||||||
/faces:
|
|
||||||
description: Build the walls, ceiling, and roof of a selection
|
|
||||||
usage: /<command> <block>
|
|
||||||
aliases: ['/outline']
|
|
||||||
permissions: 'worldedit.region.faces'
|
|
||||||
/smooth:
|
|
||||||
description: Smooth the elevation in the selection
|
|
||||||
usage: /<command> [iterations]
|
|
||||||
permissions: 'worldedit.region.smooth'
|
|
||||||
/move:
|
|
||||||
description: Move the contents of the selection
|
|
||||||
usage: /<command> [-s] [count] [direction] [leave-id]
|
|
||||||
permissions: 'worldedit.region.move'
|
|
||||||
/regen:
|
|
||||||
description: Regenerates the contents of the selection
|
|
||||||
usage: /<command>
|
|
||||||
permissions: 'worldedit.regen'
|
|
||||||
cs:
|
|
||||||
description: Execute a CraftScript
|
|
||||||
usage: /<command> <filename> [args...]
|
|
||||||
permissions: 'worldedit.scripting.execute'
|
|
||||||
.s:
|
|
||||||
description: Execute last CraftScript
|
|
||||||
usage: /<command> [args...]
|
|
||||||
permissions: 'worldedit.scripting.execute'
|
|
||||||
/count:
|
|
||||||
description: Counts the number of a certain type of block
|
|
||||||
usage: /<command> <block>
|
|
||||||
permissions: 'worldedit.analysis.count'
|
|
||||||
/size:
|
|
||||||
description: Get information about the selection
|
|
||||||
usage: /<command>
|
|
||||||
permissions: 'worldedit.selection.size'
|
|
||||||
/shift:
|
|
||||||
description: Shift the selection area
|
|
||||||
usage: /<command> <amount> [direction]
|
|
||||||
permissions: 'worldedit.selection.shift'
|
|
||||||
/sel:
|
|
||||||
description: Choose a region selector
|
|
||||||
usage: /<command> [type]
|
|
||||||
aliases: [',']
|
|
||||||
/chunk:
|
|
||||||
description: Set the selection to your current chunk
|
|
||||||
usage: /<command>
|
|
||||||
permissions: 'worldedit.selection.chunk'
|
|
||||||
/expand:
|
|
||||||
description: Expand the selection area
|
|
||||||
usage: /<command> <amount> [reverse-amount] <direction>
|
|
||||||
permissions: 'worldedit.selection.expand'
|
|
||||||
/contract:
|
|
||||||
description: Contract the selection area
|
|
||||||
usage: /<command> <amount> [reverse-amount] [direction]
|
|
||||||
permissions: 'worldedit.selection.contract'
|
|
||||||
/pos1:
|
|
||||||
description: Set position 1
|
|
||||||
usage: /<command>
|
|
||||||
permissions: 'worldedit.selection.pos'
|
|
||||||
/pos2:
|
|
||||||
description: Set position 2
|
|
||||||
usage: /<command>
|
|
||||||
permissions: 'worldedit.selection.pos'
|
|
||||||
/hpos1:
|
|
||||||
description: Set position 1 to targeted block
|
|
||||||
usage: /<command>
|
|
||||||
permissions: 'worldedit.selection.hpos'
|
|
||||||
/hpos2:
|
|
||||||
description: Set position 2 to targeted block
|
|
||||||
usage: /<command>
|
|
||||||
permissions: 'worldedit.selection.hpos'
|
|
||||||
/wand:
|
|
||||||
description: Get the wand object
|
|
||||||
usage: /<command>
|
|
||||||
permissions: 'worldedit.wand'
|
|
||||||
toggleeditwand:
|
|
||||||
description: Toggle functionality of the edit wand
|
|
||||||
usage: /<command>
|
|
||||||
permissions: 'worldedit.wand.toggle'
|
|
||||||
/outset:
|
|
||||||
description: Outset the selection area
|
|
||||||
usage: /<command> [-hv] <amount>
|
|
||||||
permissions: 'worldedit.selection.outset'
|
|
||||||
/inset:
|
|
||||||
description: Inset the selection area
|
|
||||||
usage: /<command> [-hv] <amount>
|
|
||||||
permissions: 'worldedit.selection.inset'
|
|
||||||
/distr:
|
|
||||||
description: Get the distribution of blocks in the selection
|
|
||||||
usage: /<command> [-c]
|
|
||||||
permissions: 'worldedit.analysis.distr'
|
|
||||||
snapshot:
|
|
||||||
description: Snapshot commands
|
|
||||||
usage: /<command>
|
|
||||||
aliases: ['snap']
|
|
||||||
restore:
|
|
||||||
description: Restore the selection from a snapshot
|
|
||||||
usage: /<command> [snapshot]
|
|
||||||
aliases: ['/restore']
|
|
||||||
permissions: 'worldedit.snapshots.restore'
|
|
||||||
size:
|
|
||||||
description: Set the brush size
|
|
||||||
usage: /<command> [pattern]
|
|
||||||
permissions: 'worldedit.brush.options.size'
|
|
||||||
mask:
|
|
||||||
description: Set the brush mask
|
|
||||||
usage: /<command> [mask]
|
|
||||||
permissions: 'worldedit.brush.options.mask'
|
|
||||||
/:
|
|
||||||
description: Toggle the super pickaxe pickaxe function
|
|
||||||
usage: /<command>
|
|
||||||
aliases: [',']
|
|
||||||
permissions: 'worldedit.superpickaxe'
|
|
||||||
superpickaxe:
|
|
||||||
description: Select super pickaxe mode
|
|
||||||
usage: /<command>
|
|
||||||
aliases: ['pickaxe', 'sp']
|
|
||||||
tool:
|
|
||||||
description: Select a tool to bind
|
|
||||||
usage: /<command>
|
|
||||||
mat:
|
|
||||||
description: Set the brush material
|
|
||||||
usage: /<command> [pattern]
|
|
||||||
aliases: ['material', 'fill']
|
|
||||||
permissions: 'worldedit.brush.options.material'
|
|
||||||
range:
|
|
||||||
description: Set the brush range
|
|
||||||
usage: /<command> [pattern]
|
|
||||||
permissions: 'worldedit.brush.options.range'
|
|
||||||
info:
|
|
||||||
description: Block information tool
|
|
||||||
usage: /<command>
|
|
||||||
permissions: 'worldedit.tool.info'
|
|
||||||
none:
|
|
||||||
description: Turn off all superpickaxe alternate modes
|
|
||||||
usage: /<command>
|
|
||||||
farwand:
|
|
||||||
description: Wand tool at a distance
|
|
||||||
usage: /<command>
|
|
||||||
tree:
|
|
||||||
description: Tree generator tool
|
|
||||||
usage: /<command> [type]
|
|
||||||
permissions: 'worldedit.tool.tree'
|
|
||||||
repl:
|
|
||||||
description: Block replacer tool
|
|
||||||
usage: /<command> <block>
|
|
||||||
permissions: 'worldedit.tool.replacer'
|
|
||||||
cycler:
|
|
||||||
description: Block data cycler tool
|
|
||||||
usage: /<command>
|
|
||||||
permissions: 'worldedit.tool.data-cycler'
|
|
||||||
floodfill:
|
|
||||||
description: Flood fill tool
|
|
||||||
usage: /<command>
|
|
||||||
aliases: ['flood']
|
|
||||||
permissions: 'worldedit.tool.flood-fill'
|
|
||||||
brush:
|
|
||||||
description: Brush tool
|
|
||||||
usage: /<command>
|
|
||||||
aliases: ['br']
|
|
||||||
deltree:
|
|
||||||
description: Floating tree remover tool
|
|
||||||
usage: /<command>
|
|
||||||
permissions: 'worldedit.tool.deltree'
|
|
||||||
remove:
|
|
||||||
description: Remove all entities of a type
|
|
||||||
usage: /<command> <type> <radius>
|
|
||||||
aliases: ['rem', 'rement']
|
|
||||||
permissions: 'worldedit.remove'
|
|
||||||
/fill:
|
|
||||||
description: Fill a hole
|
|
||||||
usage: /<command> <block> <radius> [depth]
|
|
||||||
permissions: 'worldedit.fill'
|
|
||||||
/fillr:
|
|
||||||
description: Fill a hole recursively
|
|
||||||
usage: /<command> <block> <radius> [depth]
|
|
||||||
permissions: 'worldedit.fill.recursive'
|
|
||||||
/drain:
|
|
||||||
description: Drain a pool
|
|
||||||
usage: /<command> <radius>
|
|
||||||
permissions: 'worldedit.drain'
|
|
||||||
fixlava:
|
|
||||||
description: Fix lava to be stationary
|
|
||||||
usage: /<command> <radius>
|
|
||||||
permissions: 'worldedit.fixlava'
|
|
||||||
fixwater:
|
|
||||||
description: Fix water to be stationary
|
|
||||||
usage: /<command> <radius>
|
|
||||||
permissions: 'worldedit.fixwater'
|
|
||||||
removeabove:
|
|
||||||
description: Remove blocks above your head.
|
|
||||||
usage: /<command> [size] [height]
|
|
||||||
permissions: 'worldedit.removeabove'
|
|
||||||
removebelow:
|
|
||||||
description: Remove blocks below your head.
|
|
||||||
usage: /<command> [size] [height]
|
|
||||||
permissions: 'worldedit.removebelow'
|
|
||||||
removenear:
|
|
||||||
description: Remove blocks near you.
|
|
||||||
usage: /<command> <block> [size]
|
|
||||||
permissions: 'worldedit.removenear'
|
|
||||||
replacenear:
|
|
||||||
description: Replace nearby blocks
|
|
||||||
usage: /<command> <size> <from-id> <to-id>
|
|
||||||
permissions: 'worldedit.replacenear'
|
|
||||||
snow:
|
|
||||||
description: Simulates snow
|
|
||||||
usage: /<command> [radius]
|
|
||||||
permissions: 'worldedit.snow'
|
|
||||||
thaw:
|
|
||||||
description: Thaws the area
|
|
||||||
usage: /<command> [radius]
|
|
||||||
permissions: 'worldedit.thaw'
|
|
||||||
ex:
|
|
||||||
description: Extinguish nearby fire
|
|
||||||
usage: /<command> [radius]
|
|
||||||
aliases: ['ext', 'extinguish']
|
|
||||||
permissions: 'worldedit.extinguish'
|
|
||||||
butcher:
|
|
||||||
description: Kill all or nearby mobs
|
|
||||||
usage: /<command> [-p] [radius]
|
|
||||||
permissions: 'worldedit.butcher'
|
|
@ -95,6 +95,7 @@ public class ChunkCommands {
|
|||||||
LocalSession session, LocalPlayer player, EditSession editSession)
|
LocalSession session, LocalPlayer player, EditSession editSession)
|
||||||
throws WorldEditException {
|
throws WorldEditException {
|
||||||
|
|
||||||
|
player.print("Note that this command does not yet support the mcregion format.");
|
||||||
LocalConfiguration config = we.getConfiguration();
|
LocalConfiguration config = we.getConfiguration();
|
||||||
|
|
||||||
Set<Vector2D> chunks = session.getSelection(player.getWorld()).getChunks();
|
Set<Vector2D> chunks = session.getSelection(player.getWorld()).getChunks();
|
||||||
|
@ -155,7 +155,7 @@ public class ClipboardCommands {
|
|||||||
aliases = {"/flip"},
|
aliases = {"/flip"},
|
||||||
usage = "[dir]",
|
usage = "[dir]",
|
||||||
flags = "p",
|
flags = "p",
|
||||||
desc = "Flip the contents of the clipboard. To flip it around yourself, use the -p flag.",
|
desc = "Flip the contents of the clipboard.",
|
||||||
min = 0,
|
min = 0,
|
||||||
max = 1
|
max = 1
|
||||||
)
|
)
|
||||||
|
@ -104,9 +104,9 @@ public class GeneralCommands {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Command(
|
@Command(
|
||||||
aliases = { "/toggleplace", "toggleplace" },
|
aliases = {"/toggleplace", "toggleplace"},
|
||||||
usage = "",
|
usage = "",
|
||||||
desc = "",
|
desc = "Switch between your position and pos1 for placement",
|
||||||
min = 0,
|
min = 0,
|
||||||
max = 0
|
max = 0
|
||||||
)
|
)
|
||||||
@ -122,7 +122,7 @@ public class GeneralCommands {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Command(
|
@Command(
|
||||||
aliases = { "/searchitem", "/l", "/search", "searchitem", "search" },
|
aliases = {"/searchitem", "/l", "/search", "searchitem", "search"},
|
||||||
usage = "<query>",
|
usage = "<query>",
|
||||||
flags = "bi",
|
flags = "bi",
|
||||||
desc = "Search for an item",
|
desc = "Search for an item",
|
||||||
|
@ -36,7 +36,7 @@ import com.sk89q.worldedit.util.TreeGenerator;
|
|||||||
public class GenerationCommands {
|
public class GenerationCommands {
|
||||||
@Command(
|
@Command(
|
||||||
aliases = {"/hcyl"},
|
aliases = {"/hcyl"},
|
||||||
usage = "<block> <radius> [height] ",
|
usage = "<block> <radius> [height]",
|
||||||
desc = "Generate a hollow cylinder",
|
desc = "Generate a hollow cylinder",
|
||||||
min = 2,
|
min = 2,
|
||||||
max = 3
|
max = 3
|
||||||
@ -58,7 +58,7 @@ public class GenerationCommands {
|
|||||||
|
|
||||||
@Command(
|
@Command(
|
||||||
aliases = {"/cyl"},
|
aliases = {"/cyl"},
|
||||||
usage = "<block> <radius> [height] ",
|
usage = "<block> <radius> [height]",
|
||||||
desc = "Generate a cylinder",
|
desc = "Generate a cylinder",
|
||||||
min = 2,
|
min = 2,
|
||||||
max = 3
|
max = 3
|
||||||
@ -80,7 +80,7 @@ public class GenerationCommands {
|
|||||||
|
|
||||||
@Command(
|
@Command(
|
||||||
aliases = {"/hsphere"},
|
aliases = {"/hsphere"},
|
||||||
usage = "<block> <radius>[,<radius>,<radius>] [raised?] ",
|
usage = "<block> <radius>[,<radius>,<radius>] [raised?]",
|
||||||
desc = "Generate a hollow sphere.",
|
desc = "Generate a hollow sphere.",
|
||||||
flags = "q",
|
flags = "q",
|
||||||
min = 2,
|
min = 2,
|
||||||
@ -152,7 +152,7 @@ public class GenerationCommands {
|
|||||||
|
|
||||||
@Command(
|
@Command(
|
||||||
aliases = {"/sphere"},
|
aliases = {"/sphere"},
|
||||||
usage = "<block> <radius>[,<radius>,<radius>] [raised?] ",
|
usage = "<block> <radius>[,<radius>,<radius>] [raised?]",
|
||||||
desc = "Generate a filled sphere.",
|
desc = "Generate a filled sphere.",
|
||||||
flags = "q",
|
flags = "q",
|
||||||
min = 2,
|
min = 2,
|
||||||
|
@ -103,7 +103,7 @@ public class HistoryCommands {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Command(
|
@Command(
|
||||||
aliases = { "/clearhistory", "clearhistory" },
|
aliases = {"/clearhistory", "clearhistory"},
|
||||||
usage = "",
|
usage = "",
|
||||||
desc = "Clear your history",
|
desc = "Clear your history",
|
||||||
min = 0,
|
min = 0,
|
||||||
|
@ -33,7 +33,7 @@ import com.sk89q.worldedit.*;
|
|||||||
*/
|
*/
|
||||||
public class NavigationCommands {
|
public class NavigationCommands {
|
||||||
@Command(
|
@Command(
|
||||||
aliases = {"unstuck"},
|
aliases = {"unstuck", "!"},
|
||||||
usage = "",
|
usage = "",
|
||||||
desc = "Escape from being stuck inside a block",
|
desc = "Escape from being stuck inside a block",
|
||||||
min = 0,
|
min = 0,
|
||||||
|
@ -171,7 +171,7 @@ public class SelectionCommands {
|
|||||||
aliases = {"/chunk"},
|
aliases = {"/chunk"},
|
||||||
usage = "",
|
usage = "",
|
||||||
flags = "s",
|
flags = "s",
|
||||||
desc = "Set the selection to your current chunk. The -s flag extends your current selection to the encompassed chunks.",
|
desc = "Set the selection to your current chunk.",
|
||||||
min = 0,
|
min = 0,
|
||||||
max = 0
|
max = 0
|
||||||
)
|
)
|
||||||
@ -575,16 +575,19 @@ public class SelectionCommands {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Command(
|
@Command(
|
||||||
aliases = {"/sel", ","},
|
aliases = {"/sel", ";"},
|
||||||
usage = "[type]",
|
usage = "[type]",
|
||||||
desc = "Choose a region selector",
|
desc = "Choose a region selector",
|
||||||
min = 1,
|
min = 0,
|
||||||
max = 1
|
max = 1
|
||||||
)
|
)
|
||||||
public static void select(CommandContext args, WorldEdit we,
|
public static void select(CommandContext args, WorldEdit we,
|
||||||
LocalSession session, LocalPlayer player, EditSession editSession)
|
LocalSession session, LocalPlayer player, EditSession editSession)
|
||||||
throws WorldEditException {
|
throws WorldEditException {
|
||||||
|
|
||||||
|
if (args.length() == 0) {
|
||||||
|
session.getRegionSelector(player.getWorld()).clear();
|
||||||
|
}
|
||||||
String typeName = args.getString(0);
|
String typeName = args.getString(0);
|
||||||
if (typeName.equalsIgnoreCase("cuboid")) {
|
if (typeName.equalsIgnoreCase("cuboid")) {
|
||||||
session.setRegionSelector(player.getWorld(), new CuboidRegionSelector());
|
session.setRegionSelector(player.getWorld(), new CuboidRegionSelector());
|
||||||
|
@ -40,7 +40,7 @@ import com.sk89q.worldedit.regions.Region;
|
|||||||
public class UtilityCommands {
|
public class UtilityCommands {
|
||||||
@Command(
|
@Command(
|
||||||
aliases = {"/fill"},
|
aliases = {"/fill"},
|
||||||
usage = " <block> <radius> [depth] ",
|
usage = "<block> <radius> [depth]",
|
||||||
desc = "Fill a hole",
|
desc = "Fill a hole",
|
||||||
min = 2,
|
min = 2,
|
||||||
max = 3
|
max = 3
|
||||||
@ -70,7 +70,7 @@ public class UtilityCommands {
|
|||||||
|
|
||||||
@Command(
|
@Command(
|
||||||
aliases = {"/fillr"},
|
aliases = {"/fillr"},
|
||||||
usage = " <block> <radius> [depth] ",
|
usage = "<block> <radius> [depth]",
|
||||||
desc = "Fill a hole recursively",
|
desc = "Fill a hole recursively",
|
||||||
min = 2,
|
min = 2,
|
||||||
max = 3
|
max = 3
|
||||||
@ -119,7 +119,7 @@ public class UtilityCommands {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Command(
|
@Command(
|
||||||
aliases = { "/fixlava", "fixlava" },
|
aliases = {"/fixlava", "fixlava"},
|
||||||
usage = "<radius>",
|
usage = "<radius>",
|
||||||
desc = "Fix lava to be stationary",
|
desc = "Fix lava to be stationary",
|
||||||
min = 1,
|
min = 1,
|
||||||
@ -139,7 +139,7 @@ public class UtilityCommands {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Command(
|
@Command(
|
||||||
aliases = { "/fixwater", "fixwater" },
|
aliases = {"/fixwater", "fixwater"},
|
||||||
usage = "<radius>",
|
usage = "<radius>",
|
||||||
desc = "Fix water to be stationary",
|
desc = "Fix water to be stationary",
|
||||||
min = 1,
|
min = 1,
|
||||||
@ -159,9 +159,9 @@ public class UtilityCommands {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Command(
|
@Command(
|
||||||
aliases = { "/removeabove", "removeabove" },
|
aliases = {"/removeabove", "removeabove"},
|
||||||
usage = "[size] [height] ",
|
usage = "[size] [height]",
|
||||||
desc = "Remove blocks above your head. ",
|
desc = "Remove blocks above your head.",
|
||||||
min = 0,
|
min = 0,
|
||||||
max = 2
|
max = 2
|
||||||
)
|
)
|
||||||
@ -181,9 +181,9 @@ public class UtilityCommands {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Command(
|
@Command(
|
||||||
aliases = { "/removebelow", "removebelow" },
|
aliases = {"/removebelow", "removebelow"},
|
||||||
usage = "[size] [height] ",
|
usage = "[size] [height] ",
|
||||||
desc = "Remove blocks below your head. ",
|
desc = "Remove blocks below you.",
|
||||||
min = 0,
|
min = 0,
|
||||||
max = 2
|
max = 2
|
||||||
)
|
)
|
||||||
@ -203,8 +203,8 @@ public class UtilityCommands {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Command(
|
@Command(
|
||||||
aliases = { "/removenear", "removenear" },
|
aliases = {"/removenear", "removenear"},
|
||||||
usage = "<block> [size] ",
|
usage = "<block> [size]",
|
||||||
desc = "Remove blocks near you.",
|
desc = "Remove blocks near you.",
|
||||||
min = 1,
|
min = 1,
|
||||||
max = 2
|
max = 2
|
||||||
@ -225,8 +225,8 @@ public class UtilityCommands {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Command(
|
@Command(
|
||||||
aliases = { "/replacenear", "replacenear" },
|
aliases = {"/replacenear", "replacenear"},
|
||||||
usage = "<size> <from-id> <to-id> ",
|
usage = "<size> <from-id> <to-id>",
|
||||||
desc = "Replace nearby blocks",
|
desc = "Replace nearby blocks",
|
||||||
min = 3,
|
min = 3,
|
||||||
max = 3
|
max = 3
|
||||||
@ -263,7 +263,7 @@ public class UtilityCommands {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Command(
|
@Command(
|
||||||
aliases = { "/snow", "snow" },
|
aliases = {"/snow", "snow"},
|
||||||
usage = "[radius]",
|
usage = "[radius]",
|
||||||
desc = "Simulates snow",
|
desc = "Simulates snow",
|
||||||
min = 0,
|
min = 0,
|
||||||
@ -282,7 +282,7 @@ public class UtilityCommands {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Command(
|
@Command(
|
||||||
aliases = { "/thaw", "thaw" },
|
aliases = {"/thaw", "thaw"},
|
||||||
usage = "[radius]",
|
usage = "[radius]",
|
||||||
desc = "Thaws the area",
|
desc = "Thaws the area",
|
||||||
min = 0,
|
min = 0,
|
||||||
@ -301,7 +301,7 @@ public class UtilityCommands {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Command(
|
@Command(
|
||||||
aliases = { "/green", "green" },
|
aliases = {"/green", "green"},
|
||||||
usage = "[radius]",
|
usage = "[radius]",
|
||||||
desc = "Greens the area",
|
desc = "Greens the area",
|
||||||
min = 0,
|
min = 0,
|
||||||
@ -320,7 +320,7 @@ public class UtilityCommands {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Command(
|
@Command(
|
||||||
aliases = { "/ex", "/ext", "/extinguish", "ex", "ext", "extinguish" },
|
aliases = {"/ex", "/ext", "/extinguish", "ex", "ext", "extinguish"},
|
||||||
usage = "[radius]",
|
usage = "[radius]",
|
||||||
desc = "Extinguish nearby fire",
|
desc = "Extinguish nearby fire",
|
||||||
min = 0,
|
min = 0,
|
||||||
|
@ -179,14 +179,14 @@ public class DocumentationPrinter {
|
|||||||
if (!method.isAnnotationPresent(Command.class)) {
|
if (!method.isAnnotationPresent(Command.class)) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
Command cmd = method.getAnnotation(Command.class);
|
Command cmd = method.getAnnotation(Command.class);
|
||||||
|
|
||||||
stream.println(" " + cmd.aliases()[0] + ":");
|
stream.println(" " + cmd.aliases()[0] + ":");
|
||||||
stream.println(" description: " + cmd.desc());
|
stream.println(" description: " + cmd.desc());
|
||||||
stream.println(" usage: /<command> "
|
stream.println(" usage: /<command>"
|
||||||
+ (cmd.flags().length() > 0 ? "[-" + cmd.flags() + "] " : "")
|
+ (cmd.flags().length() > 0 ? " [-" + cmd.flags() + "]" : "")
|
||||||
+ cmd.usage());
|
+ " " + cmd.usage());
|
||||||
if (cmd.aliases().length > 1) {
|
if (cmd.aliases().length > 1) {
|
||||||
stream.println(" aliases: ["
|
stream.println(" aliases: ["
|
||||||
+ StringUtil.joinQuotedString(cmd.aliases(), ", ", 1, "'")
|
+ StringUtil.joinQuotedString(cmd.aliases(), ", ", 1, "'")
|
||||||
@ -200,5 +200,10 @@ public class DocumentationPrinter {
|
|||||||
+ StringUtil.joinQuotedString(cmdPerms.value(), ", ", 0, "'"));
|
+ StringUtil.joinQuotedString(cmdPerms.value(), ", ", 0, "'"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
stream.println();
|
||||||
|
stream.println();
|
||||||
|
stream.println("# Permissions aren't here. Read http://wiki.sk89q.com/wiki/WEPIF/DinnerPerms");
|
||||||
|
stream.println("# for how WorldEdit permissions actually work.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -4,15 +4,15 @@ version: ${project.version}
|
|||||||
commands:
|
commands:
|
||||||
chunkinfo:
|
chunkinfo:
|
||||||
description: Get information about the chunk that you are inside
|
description: Get information about the chunk that you are inside
|
||||||
usage: /<command>
|
usage: /<command>
|
||||||
permissions: 'worldedit.chunkinfo'
|
permissions: 'worldedit.chunkinfo'
|
||||||
listchunks:
|
listchunks:
|
||||||
description: List chunks that your selection includes
|
description: List chunks that your selection includes
|
||||||
usage: /<command>
|
usage: /<command>
|
||||||
permissions: 'worldedit.listchunks'
|
permissions: 'worldedit.listchunks'
|
||||||
delchunks:
|
delchunks:
|
||||||
description: Delete chunks that your selection includes
|
description: Delete chunks that your selection includes
|
||||||
usage: /<command>
|
usage: /<command>
|
||||||
permissions: 'worldedit.delchunks'
|
permissions: 'worldedit.delchunks'
|
||||||
/load:
|
/load:
|
||||||
description: Load a schematic into your clipboard
|
description: Load a schematic into your clipboard
|
||||||
@ -24,11 +24,11 @@ commands:
|
|||||||
permissions: 'worldedit.clipboard.save'
|
permissions: 'worldedit.clipboard.save'
|
||||||
/copy:
|
/copy:
|
||||||
description: Copy the selection to the clipboard
|
description: Copy the selection to the clipboard
|
||||||
usage: /<command>
|
usage: /<command>
|
||||||
permissions: 'worldedit.clipboard.copy'
|
permissions: 'worldedit.clipboard.copy'
|
||||||
/flip:
|
/flip:
|
||||||
description: Flip the contents of the clipboard
|
description: Flip the contents of the clipboard.
|
||||||
usage: /<command> [dir]
|
usage: /<command> [-p] [dir]
|
||||||
permissions: 'worldedit.clipboard.flip'
|
permissions: 'worldedit.clipboard.flip'
|
||||||
/rotate:
|
/rotate:
|
||||||
description: Rotate the contents of the clipboard
|
description: Rotate the contents of the clipboard
|
||||||
@ -40,11 +40,11 @@ commands:
|
|||||||
permissions: 'worldedit.clipboard.cut'
|
permissions: 'worldedit.clipboard.cut'
|
||||||
/paste:
|
/paste:
|
||||||
description: Paste the clipboard's contents
|
description: Paste the clipboard's contents
|
||||||
usage: /<command> [-ao]
|
usage: /<command> [-ao]
|
||||||
permissions: 'worldedit.clipboard.paste'
|
permissions: 'worldedit.clipboard.paste'
|
||||||
clearclipboard:
|
clearclipboard:
|
||||||
description: Clear your clipboard
|
description: Clear your clipboard
|
||||||
usage: /<command>
|
usage: /<command>
|
||||||
permissions: 'worldedit.clipboard.clear'
|
permissions: 'worldedit.clipboard.clear'
|
||||||
/limit:
|
/limit:
|
||||||
description: Modify block change limit
|
description: Modify block change limit
|
||||||
@ -57,34 +57,35 @@ commands:
|
|||||||
permissions: 'worldedit.global-mask'
|
permissions: 'worldedit.global-mask'
|
||||||
we:
|
we:
|
||||||
description: WorldEdit commands
|
description: WorldEdit commands
|
||||||
usage: /<command>
|
usage: /<command>
|
||||||
aliases: ['worldedit']
|
aliases: ['worldedit']
|
||||||
/fast:
|
/fast:
|
||||||
description: Toggle fast mode
|
description: Toggle fast mode
|
||||||
usage: /<command>
|
usage: /<command>
|
||||||
permissions: 'worldedit.fast'
|
permissions: 'worldedit.fast'
|
||||||
toggleplace:
|
/toggleplace:
|
||||||
description:
|
description:
|
||||||
usage: /<command>
|
usage: /<command>
|
||||||
searchitem:
|
aliases: ['toggleplace']
|
||||||
|
/searchitem:
|
||||||
description: Search for an item
|
description: Search for an item
|
||||||
usage: /<command> [-bi] <query>
|
usage: /<command> [-bi] <query>
|
||||||
aliases: ['/l', 'search']
|
aliases: ['/l', '/search', 'searchitem', 'search']
|
||||||
/hcyl:
|
/hcyl:
|
||||||
description: Generate a hollow cylinder
|
description: Generate a hollow cylinder
|
||||||
usage: /<command> <block> <radius> [height]
|
usage: /<command> <block> <radius> [height]
|
||||||
permissions: 'worldedit.generation.cylinder'
|
permissions: 'worldedit.generation.cylinder'
|
||||||
/cyl:
|
/cyl:
|
||||||
description: Generate a cylinder
|
description: Generate a cylinder
|
||||||
usage: /<command> <block> <radius> [height]
|
usage: /<command> <block> <radius> [height]
|
||||||
permissions: 'worldedit.generation.cylinder'
|
permissions: 'worldedit.generation.cylinder'
|
||||||
/hsphere:
|
/hsphere:
|
||||||
description: Generate a hollow sphere
|
description: Generate a hollow sphere.
|
||||||
usage: /<command> <block> <radius> [raised?]
|
usage: /<command> [-q] <block> <radius>[,<radius>,<radius>] [raised?]
|
||||||
permissions: 'worldedit.generation.sphere'
|
permissions: 'worldedit.generation.sphere'
|
||||||
/sphere:
|
/sphere:
|
||||||
description: Generate a filled sphere
|
description: Generate a filled sphere.
|
||||||
usage: /<command> <block> <radius> [raised?]
|
usage: /<command> [-q] <block> <radius>[,<radius>,<radius>] [raised?]
|
||||||
permissions: 'worldedit.generation.sphere'
|
permissions: 'worldedit.generation.sphere'
|
||||||
forestgen:
|
forestgen:
|
||||||
description: Generate a forest
|
description: Generate a forest
|
||||||
@ -104,21 +105,23 @@ commands:
|
|||||||
permissions: 'worldedit.generation.pyramid'
|
permissions: 'worldedit.generation.pyramid'
|
||||||
/undo:
|
/undo:
|
||||||
description: Undoes the last action
|
description: Undoes the last action
|
||||||
usage: /<command> [times]
|
usage: /<command> [times] [player]
|
||||||
aliases: ['undo']
|
aliases: ['undo']
|
||||||
permissions: 'worldedit.history.undo'
|
permissions: 'worldedit.history.undo'
|
||||||
/redo:
|
/redo:
|
||||||
description: Redoes the last action (from history)
|
description: Redoes the last action (from history)
|
||||||
usage: /<command> [times]
|
usage: /<command> [times] [player]
|
||||||
aliases: ['redo']
|
aliases: ['redo']
|
||||||
permissions: 'worldedit.history.redo'
|
permissions: 'worldedit.history.redo'
|
||||||
clearhistory:
|
/clearhistory:
|
||||||
description: Clear your history
|
description: Clear your history
|
||||||
usage: /<command>
|
usage: /<command>
|
||||||
|
aliases: ['clearhistory']
|
||||||
permissions: 'worldedit.history.clear'
|
permissions: 'worldedit.history.clear'
|
||||||
unstuck:
|
unstuck:
|
||||||
description: Escape from being stuck inside a block
|
description: Escape from being stuck inside a block
|
||||||
usage: /<command>
|
usage: /<command>
|
||||||
|
aliases: ['!']
|
||||||
permissions: 'worldedit.navigation.unstuck'
|
permissions: 'worldedit.navigation.unstuck'
|
||||||
ascend:
|
ascend:
|
||||||
description: Go up a floor
|
description: Go up a floor
|
||||||
@ -134,11 +137,11 @@ commands:
|
|||||||
permissions: 'worldedit.navigation.ceiling'
|
permissions: 'worldedit.navigation.ceiling'
|
||||||
thru:
|
thru:
|
||||||
description: Passthrough walls
|
description: Passthrough walls
|
||||||
usage: /<command>
|
usage: /<command>
|
||||||
permissions: 'worldedit.navigation.thru'
|
permissions: 'worldedit.navigation.thru'
|
||||||
jumpto:
|
jumpto:
|
||||||
description: Teleport to a location
|
description: Teleport to a location
|
||||||
usage: /<command>
|
usage: /<command>
|
||||||
permissions: 'worldedit.navigation.jumpto'
|
permissions: 'worldedit.navigation.jumpto'
|
||||||
up:
|
up:
|
||||||
description: Go upwards some distance
|
description: Go upwards some distance
|
||||||
@ -162,7 +165,7 @@ commands:
|
|||||||
permissions: 'worldedit.region.overlay'
|
permissions: 'worldedit.region.overlay'
|
||||||
/naturalize:
|
/naturalize:
|
||||||
description: 3 layers of dirt on top then rock below
|
description: 3 layers of dirt on top then rock below
|
||||||
usage: /<command>
|
usage: /<command>
|
||||||
permissions: 'worldedit.region.naturalize'
|
permissions: 'worldedit.region.naturalize'
|
||||||
/walls:
|
/walls:
|
||||||
description: Build the four sides of the selection
|
description: Build the four sides of the selection
|
||||||
@ -183,7 +186,7 @@ commands:
|
|||||||
permissions: 'worldedit.region.move'
|
permissions: 'worldedit.region.move'
|
||||||
/regen:
|
/regen:
|
||||||
description: Regenerates the contents of the selection
|
description: Regenerates the contents of the selection
|
||||||
usage: /<command>
|
usage: /<command>
|
||||||
permissions: 'worldedit.regen'
|
permissions: 'worldedit.regen'
|
||||||
cs:
|
cs:
|
||||||
description: Execute a CraftScript
|
description: Execute a CraftScript
|
||||||
@ -199,24 +202,20 @@ commands:
|
|||||||
permissions: 'worldedit.analysis.count'
|
permissions: 'worldedit.analysis.count'
|
||||||
/size:
|
/size:
|
||||||
description: Get information about the selection
|
description: Get information about the selection
|
||||||
usage: /<command>
|
usage: /<command>
|
||||||
permissions: 'worldedit.selection.size'
|
permissions: 'worldedit.selection.size'
|
||||||
/shift:
|
/shift:
|
||||||
description: Shift the selection area
|
description: Shift the selection area
|
||||||
usage: /<command> <amount> [direction]
|
usage: /<command> <amount> [direction]
|
||||||
permissions: 'worldedit.selection.shift'
|
permissions: 'worldedit.selection.shift'
|
||||||
|
/chunk:
|
||||||
|
description: Set the selection to your current chunk. The -s flag extends your current selection to the encompassed chunks.
|
||||||
|
usage: /<command> [-s]
|
||||||
|
permissions: 'worldedit.selection.chunk'
|
||||||
/expand:
|
/expand:
|
||||||
description: Expand the selection area
|
description: Expand the selection area
|
||||||
usage: /<command> <amount> [reverse-amount] <direction>
|
usage: /<command> <amount> [reverse-amount] <direction>
|
||||||
permissions: 'worldedit.selection.expand'
|
permissions: 'worldedit.selection.expand'
|
||||||
/sel:
|
|
||||||
description: Choose a region selector
|
|
||||||
usage: /<command> [type]
|
|
||||||
aliases: [',']
|
|
||||||
/chunk:
|
|
||||||
description: Set the selection to your current chunk. The -s flag extends your current selection to the encompassed chunks.
|
|
||||||
usage: /<command> [-s]
|
|
||||||
permissions: 'worldedit.selection.chunk'
|
|
||||||
/contract:
|
/contract:
|
||||||
description: Contract the selection area
|
description: Contract the selection area
|
||||||
usage: /<command> <amount> [reverse-amount] [direction]
|
usage: /<command> <amount> [reverse-amount] [direction]
|
||||||
@ -231,19 +230,19 @@ commands:
|
|||||||
permissions: 'worldedit.selection.pos'
|
permissions: 'worldedit.selection.pos'
|
||||||
/hpos1:
|
/hpos1:
|
||||||
description: Set position 1 to targeted block
|
description: Set position 1 to targeted block
|
||||||
usage: /<command>
|
usage: /<command>
|
||||||
permissions: 'worldedit.selection.hpos'
|
permissions: 'worldedit.selection.hpos'
|
||||||
/hpos2:
|
/hpos2:
|
||||||
description: Set position 2 to targeted block
|
description: Set position 2 to targeted block
|
||||||
usage: /<command>
|
usage: /<command>
|
||||||
permissions: 'worldedit.selection.hpos'
|
permissions: 'worldedit.selection.hpos'
|
||||||
/wand:
|
/wand:
|
||||||
description: Get the wand object
|
description: Get the wand object
|
||||||
usage: /<command>
|
usage: /<command>
|
||||||
permissions: 'worldedit.wand'
|
permissions: 'worldedit.wand'
|
||||||
toggleeditwand:
|
toggleeditwand:
|
||||||
description: Toggle functionality of the edit wand
|
description: Toggle functionality of the edit wand
|
||||||
usage: /<command>
|
usage: /<command>
|
||||||
permissions: 'worldedit.wand.toggle'
|
permissions: 'worldedit.wand.toggle'
|
||||||
/outset:
|
/outset:
|
||||||
description: Outset the selection area
|
description: Outset the selection area
|
||||||
@ -255,11 +254,15 @@ commands:
|
|||||||
permissions: 'worldedit.selection.inset'
|
permissions: 'worldedit.selection.inset'
|
||||||
/distr:
|
/distr:
|
||||||
description: Get the distribution of blocks in the selection
|
description: Get the distribution of blocks in the selection
|
||||||
usage: /<command> [-c]
|
usage: /<command> [-c]
|
||||||
permissions: 'worldedit.analysis.distr'
|
permissions: 'worldedit.analysis.distr'
|
||||||
|
/sel:
|
||||||
|
description: Choose a region selector
|
||||||
|
usage: /<command> [type]
|
||||||
|
aliases: [';']
|
||||||
snapshot:
|
snapshot:
|
||||||
description: Snapshot commands
|
description: Snapshot commands
|
||||||
usage: /<command>
|
usage: /<command>
|
||||||
aliases: ['snap']
|
aliases: ['snap']
|
||||||
restore:
|
restore:
|
||||||
description: Restore the selection from a snapshot
|
description: Restore the selection from a snapshot
|
||||||
@ -274,10 +277,6 @@ commands:
|
|||||||
description: Set the brush mask
|
description: Set the brush mask
|
||||||
usage: /<command> [mask]
|
usage: /<command> [mask]
|
||||||
permissions: 'worldedit.brush.options.mask'
|
permissions: 'worldedit.brush.options.mask'
|
||||||
range:
|
|
||||||
description: Set the brush range
|
|
||||||
usage: /<command> [pattern]
|
|
||||||
permissions: 'worldedit.brush.options.range'
|
|
||||||
/:
|
/:
|
||||||
description: Toggle the super pickaxe pickaxe function
|
description: Toggle the super pickaxe pickaxe function
|
||||||
usage: /<command> [on|off]
|
usage: /<command> [on|off]
|
||||||
@ -285,23 +284,27 @@ commands:
|
|||||||
permissions: 'worldedit.superpickaxe'
|
permissions: 'worldedit.superpickaxe'
|
||||||
superpickaxe:
|
superpickaxe:
|
||||||
description: Select super pickaxe mode
|
description: Select super pickaxe mode
|
||||||
usage: /<command>
|
usage: /<command>
|
||||||
aliases: ['pickaxe', 'sp']
|
aliases: ['pickaxe', 'sp']
|
||||||
tool:
|
tool:
|
||||||
description: Select a tool to bind
|
description: Select a tool to bind
|
||||||
usage: /<command>
|
usage: /<command>
|
||||||
mat:
|
mat:
|
||||||
description: Set the brush material
|
description: Set the brush material
|
||||||
usage: /<command> [pattern]
|
usage: /<command> [pattern]
|
||||||
aliases: ['material', 'fill']
|
aliases: ['material', 'fill']
|
||||||
permissions: 'worldedit.brush.options.material'
|
permissions: 'worldedit.brush.options.material'
|
||||||
|
range:
|
||||||
|
description: Set the brush range
|
||||||
|
usage: /<command> [pattern]
|
||||||
|
permissions: 'worldedit.brush.options.range'
|
||||||
info:
|
info:
|
||||||
description: Block information tool
|
description: Block information tool
|
||||||
usage: /<command>
|
usage: /<command>
|
||||||
permissions: 'worldedit.tool.info'
|
permissions: 'worldedit.tool.info'
|
||||||
none:
|
none:
|
||||||
description: Turn off all superpickaxe alternate modes
|
description: Turn off all superpickaxe alternate modes
|
||||||
usage: /<command>
|
usage: /<command>
|
||||||
tree:
|
tree:
|
||||||
description: Tree generator tool
|
description: Tree generator tool
|
||||||
usage: /<command> [type]
|
usage: /<command> [type]
|
||||||
@ -312,24 +315,24 @@ commands:
|
|||||||
permissions: 'worldedit.tool.replacer'
|
permissions: 'worldedit.tool.replacer'
|
||||||
cycler:
|
cycler:
|
||||||
description: Block data cycler tool
|
description: Block data cycler tool
|
||||||
usage: /<command>
|
usage: /<command>
|
||||||
permissions: 'worldedit.tool.data-cycler'
|
permissions: 'worldedit.tool.data-cycler'
|
||||||
floodfill:
|
floodfill:
|
||||||
description: Flood fill tool
|
description: Flood fill tool
|
||||||
usage: /<command>
|
usage: /<command> <pattern> <range>
|
||||||
aliases: ['flood']
|
aliases: ['flood']
|
||||||
permissions: 'worldedit.tool.flood-fill'
|
permissions: 'worldedit.tool.flood-fill'
|
||||||
brush:
|
brush:
|
||||||
description: Brush tool
|
description: Brush tool
|
||||||
usage: /<command>
|
usage: /<command>
|
||||||
aliases: ['br']
|
aliases: ['br']
|
||||||
deltree:
|
deltree:
|
||||||
description: Floating tree remover tool
|
description: Floating tree remover tool
|
||||||
usage: /<command>
|
usage: /<command>
|
||||||
permissions: 'worldedit.tool.deltree'
|
permissions: 'worldedit.tool.deltree'
|
||||||
farwand:
|
farwand:
|
||||||
description: Wand at a distance tool
|
description: Wand at a distance tool
|
||||||
usage: /<command>
|
usage: /<command>
|
||||||
permissions: 'worldedit.tool.farwand'
|
permissions: 'worldedit.tool.farwand'
|
||||||
remove:
|
remove:
|
||||||
description: Remove all entities of a type
|
description: Remove all entities of a type
|
||||||
@ -338,62 +341,67 @@ commands:
|
|||||||
permissions: 'worldedit.remove'
|
permissions: 'worldedit.remove'
|
||||||
/fill:
|
/fill:
|
||||||
description: Fill a hole
|
description: Fill a hole
|
||||||
usage: /<command> <block> <radius> [depth]
|
usage: /<command> <block> <radius> [depth]
|
||||||
permissions: 'worldedit.fill'
|
permissions: 'worldedit.fill'
|
||||||
/fillr:
|
/fillr:
|
||||||
description: Fill a hole recursively
|
description: Fill a hole recursively
|
||||||
usage: /<command> <block> <radius> [depth]
|
usage: /<command> <block> <radius> [depth]
|
||||||
permissions: 'worldedit.fill.recursive'
|
permissions: 'worldedit.fill.recursive'
|
||||||
/drain:
|
/drain:
|
||||||
description: Drain a pool
|
description: Drain a pool
|
||||||
usage: /<command> <radius>
|
usage: /<command> <radius>
|
||||||
permissions: 'worldedit.drain'
|
permissions: 'worldedit.drain'
|
||||||
fixlava:
|
/fixlava:
|
||||||
description: Fix lava to be stationary
|
description: Fix lava to be stationary
|
||||||
usage: /<command> <radius>
|
usage: /<command> <radius>
|
||||||
|
aliases: ['fixlava']
|
||||||
permissions: 'worldedit.fixlava'
|
permissions: 'worldedit.fixlava'
|
||||||
fixwater:
|
/fixwater:
|
||||||
description: Fix water to be stationary
|
description: Fix water to be stationary
|
||||||
usage: /<command> <radius>
|
usage: /<command> <radius>
|
||||||
|
aliases: ['fixwater']
|
||||||
permissions: 'worldedit.fixwater'
|
permissions: 'worldedit.fixwater'
|
||||||
removeabove:
|
/removeabove:
|
||||||
description: Remove blocks above your head.
|
description: Remove blocks above your head.
|
||||||
usage: /<command> [size] [height]
|
usage: /<command> [size] [height]
|
||||||
|
aliases: ['removeabove']
|
||||||
permissions: 'worldedit.removeabove'
|
permissions: 'worldedit.removeabove'
|
||||||
removebelow:
|
/removebelow:
|
||||||
description: Remove blocks below your head.
|
description: Remove blocks below your head.
|
||||||
usage: /<command> [size] [height]
|
usage: /<command> [size] [height]
|
||||||
|
aliases: ['removebelow']
|
||||||
permissions: 'worldedit.removebelow'
|
permissions: 'worldedit.removebelow'
|
||||||
removenear:
|
/removenear:
|
||||||
description: Remove blocks near you.
|
description: Remove blocks near you.
|
||||||
usage: /<command> <block> [size]
|
usage: /<command> <block> [size]
|
||||||
|
aliases: ['removenear']
|
||||||
permissions: 'worldedit.removenear'
|
permissions: 'worldedit.removenear'
|
||||||
replacenear:
|
/replacenear:
|
||||||
description: Replace nearby blocks
|
description: Replace nearby blocks
|
||||||
usage: /<command> <size> <from-id> <to-id>
|
usage: /<command> <size> <from-id> <to-id>
|
||||||
|
aliases: ['replacenear']
|
||||||
permissions: 'worldedit.replacenear'
|
permissions: 'worldedit.replacenear'
|
||||||
snow:
|
/snow:
|
||||||
description: Simulates snow
|
description: Simulates snow
|
||||||
usage: /<command> [radius]
|
usage: /<command> [radius]
|
||||||
|
aliases: ['snow']
|
||||||
permissions: 'worldedit.snow'
|
permissions: 'worldedit.snow'
|
||||||
thaw:
|
/thaw:
|
||||||
description: Thaws the area
|
description: Thaws the area
|
||||||
usage: /<command> [radius]
|
usage: /<command> [radius]
|
||||||
|
aliases: ['thaw']
|
||||||
permissions: 'worldedit.thaw'
|
permissions: 'worldedit.thaw'
|
||||||
green:
|
/green:
|
||||||
description: Greens the area
|
description: Greens the area
|
||||||
usage: /<command> [radius]
|
usage: /<command> [radius]
|
||||||
|
aliases: ['green']
|
||||||
permissions: 'worldedit.green'
|
permissions: 'worldedit.green'
|
||||||
ex:
|
/ex:
|
||||||
description: Extinguish nearby fire
|
description: Extinguish nearby fire
|
||||||
usage: /<command> [radius]
|
usage: /<command> [radius]
|
||||||
aliases: ['ext', 'extinguish']
|
aliases: ['/ext', '/extinguish', 'ex', 'ext', 'extinguish']
|
||||||
permissions: 'worldedit.extinguish'
|
permissions: 'worldedit.extinguish'
|
||||||
butcher:
|
butcher:
|
||||||
description: Kill all or nearby mobs
|
description: Kill all or nearby mobs
|
||||||
usage: /<command> [-p] [radius]
|
usage: /<command> [-p] [radius]
|
||||||
permissions: 'worldedit.butcher'
|
permissions: 'worldedit.butcher'
|
||||||
|
|
||||||
|
|
||||||
# Permissions aren't here. Read http://wiki.sk89q.com/wiki/WEPIF/DinnerPerms
|
|
||||||
# for how WorldEdit permissions actually work
|
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren