1
0
mirror of https://github.com/Uberi/Minetest-WorldEdit.git synced 2024-11-15 07:00:17 +01:00
Commit Graph

106 Commits

Author SHA1 Message Date
Anthony Zhang
7f580611f5 Fix some warnings. 2014-12-29 18:16:36 -05:00
KodexKy
5b03c83f6b Fix stack2 param
Fix stack2 amount count
Fix stack2 sign recognition for y & z
2014-12-16 02:14:22 -04:30
sfan5
fb49cc4bcc Revert "Use "we-" prefix for commands"
This is currently being discussed, see #62.
This reverts commit 1024eace6f.
2014-10-25 07:53:20 +02:00
Anthony Zhang
eb88bf6ade Merge pull request #61 from ShadowNinja/cleanup-serialization
Clean up serialization
2014-10-24 22:03:31 -04:00
ShadowNinja
796aa3870d Clean up serialization
* Adds a header to serialized data (to make version checking sane).
  * Removes the duplicate deserialization for `worldedit.deserialize` and `worldedit.allocate`.
  * Optimizes `worldedit.deserialize` by only deserializing the data once.
  * Makes some fields optional.
  * Cleans up the comments and a little of the code style.
2014-10-24 16:45:10 -04:00
ShadowNinja
1024eace6f Use "we-" prefix for commands 2014-10-24 16:09:51 -04:00
Uberi
70c24c9501 Fix #57 (thanks Zeno-!). 2014-08-15 19:23:23 -04:00
Uberi
38fbc0a046 Fix //mix and improve normalize_nodename. 2014-07-18 16:09:57 -04:00
Uberi
4b178bf709 Rename the randomized //set to //mix, style update, document changes. 2014-07-18 15:51:09 -04:00
Uberi
175ac211ca Documentation for //stack2, code style fixes, add author section to README. 2014-07-06 19:42:02 -04:00
Cy
c22b556511 Improved stacking
This stack / copy uses a direction vector, so it's not limited to only
along the X/Y/Z axis, and can go diagonally. This enables things like
building staircases.
2014-06-30 16:14:14 -07:00
Cy
174416b010 Randomized set
Can /set node node2 node3 and it will randomly choose between those
three.
2014-06-30 16:13:44 -07:00
Uberi
2784a25561 Fix region checking (thanks PenguinDad). 2014-03-15 14:28:47 -04:00
Uberi
b29523db4d Implement full size checking for every possible command. 2014-03-12 16:11:00 -04:00
Uberi
0dddffa544 Add warning for really huge regions. 2014-03-10 17:58:15 -04:00
ShadowNinja
f8d3614a32 Make /lua and /luatransform administrator-only 2014-01-21 11:14:24 -05:00
Uberi
674d6473e4 Improve node inspector to show player axis, replace //scale with //stretch, which supports per-axis stretching (full backwards compatibility retained), and secure schematic file loading functions. 2013-12-20 18:41:13 -05:00
Uberi
3767ea84d2 Include WorldEdit GUI in the documentation, improve privilege handling, simplify main dialog. 2013-12-18 15:56:50 -05:00
Uberi
6c03ab9c4a Refine GUI. 2013-12-12 15:34:05 -05:00
Uberi
ac7430e02f Version information is now available via the API. 2013-12-10 01:47:32 -05:00
Uberi
203c3da2af Add //about. 2013-08-28 20:28:49 -04:00
Anthony Zhang
b0bf52e9b6 Rewrite spirals from scratch and fix upside-down pyramids. Use voxelmanip for markers to ensure area is emerged. 2013-07-31 22:15:08 -04:00
Anthony Zhang
3c51ec8c4a //pyramid works along any axis and backwards. Working //clearobjects and //cylinder command, begin implementing super marker. Remove EnvRef usages and the block queue (the block queue does not work with VoxelManips). More block emergers. 2013-07-31 00:02:37 -04:00
Anthony Zhang
49b683f27f Support negative values to make upside-down domes and pyramids (slight changes to worldedit.pyramid interface for coming changes). Add experimental //clearobjects, make node inspector work per-player. 2013-07-29 12:43:24 -04:00
Anthony Zhang
c1f3cfc1e4 Fix bugs in visualization API and make it ore robust. Fix bugs in //fixedpos, //suppress, and //highlight. 2013-07-28 18:15:46 -04:00
Anthony Zhang
7e1be63344 Add //fixedpos command and document it. 2013-07-28 17:07:47 -04:00
Anthony Zhang
faa4a7b065 More speedups for //hollowsphere, //sphere, //hollowdome, //dome, //cylinder, better module loader, fix message in //volume. 2013-07-27 21:34:42 -04:00
Anthony Zhang
0fddd17f23 Add the node inspector, a tool for finding information about nodes. Configurable via the //inspect command. 2013-07-21 17:16:29 -04:00
Anthony Zhang
48009b6c62 Support aliases in node name resolution. For example, //set mapgen_dirt. Technique outlined by kharl in IRC. 2013-06-24 17:13:10 -04:00
Anthony Zhang
58970e7fab Clarify the documentation regarding the the positioning of WorldEdit primitives relative to position 1. 2013-06-22 23:05:34 -04:00
Sfan5
a192d51a58 Add initial support for Minetest schematic API
Thanks to kwolekr for the code
2013-06-22 08:25:59 +02:00
Anthony Zhang
d4187866db Add //scale <factor> command (suggested by Jordach), fix transposition description in docs. 2013-06-18 15:05:49 -04:00
Anthony Zhang
74018dab99 Support descriptions and partial node names in chat commands (e.g., //set blue lightstone, //replace piston_normal_off bronze block). 2013-06-12 19:59:13 -04:00
Anthony Zhang
f1cfc47189 Fix //rotate for real this time. 2013-06-02 17:50:14 -04:00
Anthony Zhang
0664cde287 Fix //rotate, improve queue (order now preserved), typos fixed (quene -> queue). 2013-05-30 20:38:56 -04:00
Sfan5
a1dcc43210 Fix //move again 2013-05-20 20:48:12 +02:00
Anthony Zhang
d7ae19b7b8 Fix the //move command (WorldEdit API is unaffected). 2013-05-18 19:00:12 -04:00
Anthony Zhang
52c1379bce Make chat messages consistent. 2013-05-15 17:52:12 -04:00
Anthony Zhang
d52f3d649e Add //unmark chat command, fix position setting not being reset by //reset. 2013-05-15 17:03:26 -04:00
Sfan5
5e5c1dc6c3 Add Block Queue 2013-04-28 19:08:09 +02:00
Anthony Zhang
71b6004b92 New commands //hollowdome and //dome, as well as new API functions worldedit.dome and worldedit.hollow_dome. Oh, and spheres generate faster too. 2013-04-27 18:28:20 -04:00
Anthony Zhang
20722389bd Avoid prepending "Server -!- " to WorldEdit messages. 2013-04-27 16:42:51 -04:00
Anthony Zhang
9209d81d20 //metasave and //metaload are now superceded by //save and //load's new functionality. worldedit.deserialize now supports every version of the WorldEdit format that has ever existed, and the new worldedit.valueversion uses file characteristics to determine which type of file format a given file uses. The new WorldEdit file format is the same as the one used by MineTest for serializing data, and is capable of storing arbitrary data, as well as leaving fields for future improvements. In other words, this is the last forward-compatibility breaking change that will be made to the file format. 2013-03-20 17:12:48 -04:00
Anthony Zhang
4a98773025 Use rounding rather than flooring for more intuitive player position setting. 2013-02-16 21:14:44 -05:00
Anthony Zhang
cfaed1781a Require server priv for Lua commands. 2013-01-14 16:14:54 -05:00
Anthony Zhang
7cf84045d4 Replace //homogenize with //replaceinverse (//homogenize x is equivalent to //replaceinverse air x), add documentation for it. 2013-01-12 18:29:57 -05:00
Anthony Zhang
e2f1c4ef17 Add //homogenize, //lua, and //luatransform commands, as well as their documentation. 2013-01-12 18:20:41 -05:00
Anthony Zhang
c27ab877f1 New command: //orient, that rotates oriented nodes such as furnaces around the Y-axis by a specified angle. 2013-01-12 16:46:40 -05:00
Anthony Zhang
7cb2df24b8 Change all references of //dig to //fixlight, document the changes, fix a small typo. 2013-01-12 16:02:23 -05:00
sfan5
6fb039fb9d Finally fix anything 2013-01-12 08:24:04 +01:00
sfan5
5f1fb56b8b Rename //dig to //fixlight 2013-01-12 08:10:19 +01:00
Anthony Zhang
e5331d39ae Many thanks to Smitje for providing a working example of roations.
Changes: fixed rotation and transposition of non-sqaure regions, makers are now moved to the new region boundaries after rotation/transposition, small consistency fixes, finally fix the /hide command.
2012-12-12 17:17:56 -05:00
Anthony Zhang
fdca506505 Fix //load and //allocate for old WorldEdit files. 2012-10-22 23:17:37 -04:00
Anthony Zhang
aa4a70d237 Rename //find to //highlight and worldedit.find to worldedit.highlight, add //allocate and worldedit.allocate as well as related documentation. Improve documentation by fixing a few mistakes and adding return signatures. 2012-10-21 17:49:43 -04:00
Anthony Zhang
5f598db3e6 Implement and document the new //p set1 and //p set2 functionality. 2012-10-18 21:28:58 -04:00
Anthony Zhang
1c31bd7f0d Separate components into separate mods, add visualization API with hide(), suppress(), find(), and restore() for nondestructive node visualization. Corresponding chat commands are //hide, //suppress, //find, and //restore. Commands and functions documented. 2012-10-13 21:45:50 -04:00