]> git.lizzy.rs Git - worldedit.git/blob - Chat Commands.md
Separate components into separate mods, add visualization API with hide(), suppress...
[worldedit.git] / Chat Commands.md
1 Chat Commands\r
2 -------------\r
3 For more information, see the [README](README.md).\r
4 \r
5 ### //reset\r
6 \r
7 Reset the region so that it is empty.\r
8 \r
9     //reset\r
10 \r
11 ### //mark\r
12 \r
13 Show markers at the region positions.\r
14 \r
15     //mark\r
16 \r
17 ### //pos1\r
18 \r
19 Set WorldEdit region position 1 to the player's location.\r
20 \r
21     //pos1\r
22 \r
23 ### //pos2\r
24 \r
25 Set WorldEdit region position 2 to the player's location.\r
26 \r
27     //pos2\r
28 \r
29 ### //p set/get\r
30 \r
31 Set WorldEdit region by punching two nodes, or display the current WorldEdit region.\r
32 \r
33     //p set\r
34     //p get\r
35 \r
36 ### //volume\r
37 \r
38 Display the volume of the current WorldEdit region.\r
39 \r
40     //volume\r
41 \r
42 ### //set <node>\r
43 \r
44 Set the current WorldEdit region to <node>.\r
45 \r
46     //set dirt\r
47     //set default:glass\r
48     //set mesecons:mesecon\r
49 \r
50 ### //replace <search node> <replace node>\r
51 \r
52 Replace all instances of <search node> with <place node> in the current WorldEdit region.\r
53 \r
54     //replace cobble stone\r
55     //replace default:steelblock glass\r
56     //replace dirt flowers:flower_waterlily\r
57     //replace flowers:flower_rose flowers:flower_tulip\r
58 \r
59 ### //hollowsphere <radius> <node>\r
60 \r
61 Add hollow sphere at WorldEdit position 1 with radius <radius>, composed of <node>.\r
62 \r
63     //hollowsphere 5 dirt\r
64     //hollowsphere 12 default:glass\r
65     //hollowsphere 17 mesecons:mesecon\r
66 \r
67 ### //sphere <radius> <node>\r
68 \r
69 Add sphere at WorldEdit position 1 with radius <radius>, composed of <node>.\r
70 \r
71     //sphere 5 dirt\r
72     //sphere 12 default:glass\r
73     //sphere 17 mesecons:mesecon\r
74 \r
75 ### //hollowcylinder x/y/z/? <length> <radius> <node>\r
76 \r
77 Add hollow cylinder at WorldEdit position 1 along the x/y/z/? axis with length <length> and radius <radius>, composed of <node>.\r
78 \r
79     //hollowcylinder x +5 8 dirt\r
80     //hollowcylinder y 28 10 default:glass\r
81     //hollowcylinder z -12 3 mesecons:mesecon\r
82     //hollowcylinder ? 2 4 stone\r
83 \r
84 ### //cylinder x/y/z/? <length> <radius> <node>\r
85 \r
86 Add cylinder at WorldEdit position 1 along the x/y/z/? axis with length <length> and radius <radius>, composed of <node>.\r
87 \r
88     //cylinder x +5 8 dirt\r
89     //cylinder y 28 10 default:glass\r
90     //cylinder z -12 3 mesecons:mesecon\r
91     //cylinder ? 2 4 stone\r
92     \r
93 ### //pyramid <height> <node>\r
94 \r
95 Add pyramid at WorldEdit position 1 with height <height>, composed of <node>.\r
96 \r
97     //pyramid 8 dirt\r
98     //pyramid 5 default:glass\r
99     //pyramid 2 stone\r
100 \r
101 ### //spiral <width> <height> <spacer> <node>\r
102 \r
103 Add spiral at WorldEdit position 1 with width <width>, height <height>, space between walls <spacer>, composed of <node>.\r
104 \r
105     //spiral 20 5 3 dirt\r
106     //spiral 5 2 1 default:glass\r
107     //spiral 7 1 5 stone\r
108 \r
109 ### //copy x/y/z/? <amount>\r
110 \r
111 Copy the current WorldEdit region along the x/y/z/? axis by <amount> nodes.\r
112 \r
113     //copy x 15\r
114     //copy y -7\r
115     //copy z +4\r
116     //copy ? 8\r
117 \r
118 ### //move x/y/z/? <amount>\r
119 \r
120 Move the current WorldEdit positions and region along the x/y/z/? axis by <amount> nodes.\r
121 \r
122     //move x 15\r
123     //move y -7\r
124     //move z +4\r
125     //move ? -1\r
126 \r
127 ### //stack x/y/z/? <count>\r
128 \r
129 Stack the current WorldEdit region along the x/y/z/? axis <count> times.\r
130 \r
131     //stack x 3\r
132     //stack y -1\r
133     //stack z +5\r
134     //stack ? 12\r
135 \r
136 ### //transpose x/y/z/? x/y/z/?\r
137 \r
138 Transpose the current WorldEdit region along the x/y/z/? and x/y/z/? axes.\r
139 \r
140     //transpose x y\r
141     //transpose x z\r
142     //transpose y z\r
143     //transpose ? y\r
144 \r
145 ### //flip x/y/z/?\r
146 \r
147 Flip the current WorldEdit region along the x/y/z/? axis.\r
148 \r
149    //flip x\r
150    //flip y\r
151    //flip z\r
152    //flip ?\r
153 \r
154 ### //rotate x/y/z/? <angle>\r
155 \r
156 Rotate the current WorldEdit region along the x/y/z/? axis by angle <angle> (90 degree increment).\r
157 \r
158     //rotate x 90\r
159     //rotate y 180\r
160     //rotate z 270\r
161     //rotate ? -90\r
162 \r
163 ### //dig\r
164 \r
165 Dig the current WorldEdit region.\r
166 \r
167     //dig\r
168 \r
169 ## //hide\r
170 \r
171 Hide all nodes in the current WorldEdit region non-destructively.\r
172 \r
173     //hide\r
174 \r
175 ### //suppress <node>\r
176 \r
177 Suppress all <node> in the current WorldEdit region non-destructively.\r
178 \r
179     //suppress dirt\r
180     //suppress default:glass\r
181     //suppress mesecons:mesecon\r
182 \r
183 ### //find <node>\r
184 \r
185 Find <node> in the current WorldEdit region by hiding everything else non-destructively.\r
186 \r
187     //find dirt\r
188     //find default:glass\r
189     //find mesecons:mesecon\r
190 \r
191 ### //restore\r
192 \r
193 Restores nodes hidden with WorldEdit in the current WorldEdit region.\r
194 \r
195     //restore\r
196 \r
197 ### //save <file>\r
198 \r
199 Save the current WorldEdit region to "(world folder)/schems/<file>.we".\r
200 \r
201     //save some random filename\r
202     //save huge_base\r
203 \r
204 ### //load <file>\r
205 \r
206 Load nodes from "(world folder)/schems/<file>.we" with position 1 of the current WorldEdit region as the origin.\r
207 \r
208     //load some random filename\r
209     //load huge_base\r
210 \r
211 ### //metasave <file>\r
212 \r
213 Save the current WorldEdit region including metadata to "(world folder)/schems/<file>.wem".\r
214 \r
215     //metasave some random filename\r
216     //metasave huge_base\r
217 \r
218 ### //metaload <file>\r
219 \r
220 Load nodes and metadata from "(world folder)/schems/<file>.wem" with position 1 of the current WorldEdit region as the origin.\r
221 \r
222     //metaload some random filename\r
223     //metaload huge_base