Commit graph

237 Commits

Autor SHA1 Nachricht Datum
sk89q
fd86ae8f6e Added /worldeditselect permission in order to allow just selecting a region. 2010-11-06 01:22:33 -07:00
sk89q
6427fdd940 Point selection commands now emit the coordinates and //size now has more information. 2010-11-06 01:20:44 -07:00
sk89q
4740501a1e Added per-group block change limits. 2010-11-06 00:51:35 -07:00
sk89q
5fc97f0f7d Added .tar and .tar.* support, *maybe*. 2010-11-05 22:50:22 -07:00
sk89q
49739bab76 Added basic command logging and logging to file. 2010-11-05 22:37:16 -07:00
sk89q
75b023d194 Added /fixlava and a max-radius configuration option. 2010-11-05 22:04:44 -07:00
sk89q
aa24f0752c New /ex fire extinguisher command. 2010-11-05 21:28:58 -07:00
sk89q
eb909f3340 Added missing class. 2010-11-05 17:56:05 -07:00
sk89q
97a49d4492 Added class to access WorldEdit from other plugins. 2010-11-05 17:54:18 -07:00
sk89q
138787c1e2 Moved all the classes around again (re-coupled with Hmod). 2010-11-05 16:42:16 -07:00
sk89q
6c71e6046b Made the argument order for //contact and //expand consistent with the other commands. 2010-11-04 23:51:42 -07:00
sk89q
c7a122a001 Super pick axe now ignites TNT. 2010-11-04 23:41:04 -07:00
sk89q
778314f9e4 Update EditSession.rawSetBlock() to limit Y between 0 and 127. 2010-11-04 23:36:54 -07:00
sk89q
767c445f4c Improved the prioritized block spawn list by adding more block types. 2010-11-04 23:29:38 -07:00
sk89q
53c3c1064e Made .schematic save/load messages more descriptive when an IOException is raised. 2010-11-04 23:16:26 -07:00
sk89q
b3ddbb426a Fixed the iron pick axe not working as a super pick axe. 2010-11-04 23:07:47 -07:00
sk89q
7befb2e051 Renamed some classes. 2010-11-04 22:57:56 -07:00
sk89q
4d06bc5df1 WorldEdit version is now printed on load. 2010-11-03 17:05:05 -07:00
sk89q
28f76f869c Renamed SMWorldEdit to WorldEdit to prevent confusion. 2010-11-03 16:46:47 -07:00
sk89q
e81ffc2ad5 Updated WorldEdit for the new block types. 2010-10-30 19:40:36 -07:00
sk89q
6376b3314a Updated for b123. 2010-10-30 18:28:04 -07:00
sk89q
9f74a71374 Added /pumpkins. 2010-10-30 18:20:15 -07:00
sk89q
46b74bd6bc Updated for new Minecraft server. 2010-10-30 17:40:02 -07:00
sk89q
3cbc5b22a4 Remove getBlock() restriction for commands that ask for a block to search for. 2010-10-30 01:32:11 -07:00
sk89q
749649a80b EditSession.fillXZ() is now longer recursive. 2010-10-30 01:28:00 -07:00
sk89q
6173c6c78e Added /listchunks and /delchunks. 2010-10-28 10:27:30 -07:00
sk89q
c1d8402db4 Improved some error messages. 2010-10-25 01:10:00 -07:00
sk89q
b00b0bc786 Removed cactus from the default list of allowed blocks. 2010-10-25 01:09:14 -07:00
sk89q
cca5f157f4 Clamped Y for //expand and //contract operations. 2010-10-25 01:07:10 -07:00
sk89q
194e162638 Made SMServerInterface.setBlockData() work better. Uses hey0's API now rather than accessing the Minecraft server directly. 2010-10-24 23:45:49 -07:00
sk89q
ca1e522499 Added chest support. Double-width chests don't work too well yet. 2010-10-24 23:42:56 -07:00
sk89q
cdfd4b81fa Removed the check that allowed changing data. This caused torches, chests, etc. to drop as items. 2010-10-23 09:10:10 -07:00
sk89q
eebe6e1af3 Added TrueZIP support. 2010-10-21 11:36:20 -07:00
sk89q
527573e71b Added support for restoring from backups (snapshots). Added /listsnapshots, //use, and //restore. 2010-10-20 16:15:20 -07:00
sk89q
d9a4a778ef Improved exceptions thrown in the data framework. ZippedAlphaChunkStore can now detect subdirectories that the world is in. 2010-10-20 11:32:08 -07:00
sk89q
32290b4095 Added data framework (com.sk89q.worldedit.data.*); moved schematic loading/saving towards data framework; added work-in-progress EditSession.restoreBackup(). 2010-10-20 02:12:16 -07:00
sk89q
6299734cdd Removed obsolete NoSuchScriptException. 2010-10-20 01:41:24 -07:00
sk89q
0a288acbaa Added /chunkinfo. 2010-10-19 23:06:12 -07:00
sk89q
c25f13c3f0 Fixed permission issues regarding the edit wand. 2010-10-19 21:00:02 -07:00
sk89q
b124bffdde Changed //bedrock to /worldeditbedrock. 2010-10-19 20:57:40 -07:00
sk89q
327632b4d0 Added //bedrock permission that allows super pick axe users to destroy bedrock. 2010-10-19 20:56:20 -07:00
sk89q
ce16f6e04d Fixed /worldedit misspelling in SMWorldListener.onBlockDestroy. 2010-10-19 20:41:33 -07:00
sk89q
5017a8fb38 Fixed permissions issue regarding the wand and super pick axe. 2010-10-19 20:38:08 -07:00
sk89q
d63c8c113c Fixed /ceil. 2010-10-19 20:36:57 -07:00
sk89q
ebf5b97451 Made /thru work better. 2010-10-19 20:33:50 -07:00
sk89q
9124cdd91f Added (untested) //hpos1, //hpos2, /jumpto, /thru, /ceil. 2010-10-19 17:10:02 -07:00
sk89q
3d413e4f2e Corrected help texts for some commands. 2010-10-18 16:39:49 -07:00
sk89q
ccab458d9c Added /removenear. 2010-10-18 16:36:22 -07:00
sk89q
94876194c4 Simplified permissions by automatically allowing [cmd]air when cmd is allowed. 2010-10-18 16:19:22 -07:00
sk89q
5dc69ae325 Removed displacement argument from //move and //moveair (not yet implemented). 2010-10-18 16:17:34 -07:00
sk89q
86f2c67a35 Fixed a bug that made command checking case-sensitive. /, restored (// still works). 2010-10-18 16:14:26 -07:00
sk89q
2bec24db9d Fixed help emitted by //wand. 2010-10-18 15:54:04 -07:00
sk89q
a34f977b94 Added //move and //moveair. 2010-10-18 13:51:43 -07:00
sk89q
ca2ed71805 Changed super pickaxe command to //. 2010-10-18 10:56:09 -07:00
sk89q
765575b433 Added back in /worldedit for permissions purposes. 2010-10-18 10:47:23 -07:00
sk89q
6c33aa44e2 Added //walls. 2010-10-18 10:45:03 -07:00
sk89q
33ff7fb34c Changed //cyl and //hcyl to use the same code. 2010-10-18 10:41:56 -07:00
sk89q
1b88e1592e Added //sphere and //hsphere. 2010-10-18 10:39:32 -07:00
sk89q
3ad6577be6 Changed //cyl and //hcyl to respect boundaries. 2010-10-17 17:39:20 -07:00
sk89q
3031480b38 Added //cyl and //hcyl. 2010-10-17 17:22:29 -07:00
sk89q
52029a786d Updated CHANGELOG.txt with new bugfix versions. 2010-10-17 15:31:17 -07:00
sk89q
aa63f886ec Fixed floating point inaccuracy error with getBlock#(), fixed //rotate. 2010-10-17 15:17:24 -07:00
sk89q
383a475237 Now /ascend and /descend won't land you in lava anymore. /unstuck made more accurate. 2010-10-16 17:15:17 -07:00
sk89q
3a940ba936 Changed /descend to be a little more accurate, to not drop players from a high distance, and to not drop players into the void. 2010-10-16 17:08:56 -07:00
sk89q
ad0bb92c8f Cleaned up /ascend. Now uses WorldEditPlayer.getBlockIn() for better accuracy. 2010-10-16 16:57:13 -07:00
sk89q
263417550b Added a workaround for hey0's getComplexBlock() returning a null when it should not. 2010-10-16 16:45:31 -07:00
sk89q
c947083640 Added a workaround for onBlockDestroy providing (0, 0, 0). Setting air no longer sets the data. 2010-10-15 10:22:55 -07:00
sk89q
9f4c262d1f Added /fixwater. 2010-10-15 01:07:48 -07:00
sk89q
e74700127f Changed /edit command prefix to //. 2010-10-15 00:29:45 -07:00
sk89q
e83ec38d31 Prevented colored cloth blocks in SMServerInterface. 2010-10-15 00:26:29 -07:00
sk89q
f1874efef9 Fixed unchecked cast in CuboidClipboard.loadSchematic(). 2010-10-15 00:24:25 -07:00
sk89q
ebb25ff41c Now using com.sk89q.worldedit.blocks.BlockType for block type queries. rawSetBlock() now handles changes in block data. WorldEdit.getBlock() now supports specifying data and sign text. 2010-10-15 00:22:03 -07:00
sk89q
47efbb6b18 Fixed a typo in the help of /descend. 2010-10-14 23:40:28 -07:00
sk89q
fcf02df4dc Added /editcut. 2010-10-14 23:39:07 -07:00
sk89q
9dc324f00a Fill routine is now no longer dependent on the state of a block as reported by the server (infinite recursion fixed on non-block items). 2010-10-14 12:06:32 -07:00
sk89q
92dc88562c Renamed hey0's plugin to SMWorldEdit. Made WorldEdit somewhat a singleton to hold the ServerInterface instance. 2010-10-14 11:59:45 -07:00
sk89q
5f1a014bfb Added /toggleplace which lets you perform actions that require one point to use position #1 rather than your feet. 2010-10-14 02:14:18 -07:00
sk89q
9739336730 Changed super axe command to /,. 2010-10-14 02:01:10 -07:00
sk89q
98d1a0be05 Fixed the order of the tool checking code you can now use edit wand again. 2010-10-14 01:43:20 -07:00
sk89q
3bf7c08ad6 Added support for block data and sign texts. Decoupled more code from the server modification. 2010-10-14 01:31:05 -07:00
sk89q
d1eca7c429 Changed everything to use BaseBlock, which supports block data and soon some tile entity data. 2010-10-13 16:49:35 -07:00
sk89q
23b24b3615 Added super pick axe and /.. 2010-10-13 11:26:07 -07:00
sk89q
598f4aa6cd Changed the clipboard so it doesn't store min/max anymore, just origin and offset. Added /editrotate. 2010-10-13 10:08:53 -07:00
sk89q
bd9a90f01d Re-implemented /forestgen in Java. This version does not replace existing blocks. Undo system fixed. 2010-10-12 22:38:05 -07:00
sk89q
a5ac9514ab Added /toggleeditwand, removed unused tool click stuff. 2010-10-12 22:10:17 -07:00
sk89q
514a78272e Added /ascend and /descend. 2010-10-12 22:06:46 -07:00
sk89q
87daf8e7ed Fixed help for /editstack(air). 2010-10-12 21:43:01 -07:00
sk89q
6ab19fd52d Added /editexpand and /editcontract. 2010-10-12 21:41:06 -07:00
sk89q
68dcce31f8 Removed Point/BlockPoint to Vector/BlockVector. 2010-10-12 18:03:56 -07:00
sk89q
c039e8e77d Updated to v115 with PluginListener. WorldEdit decoupled from plugin. 2010-10-12 13:51:25 -07:00
sk89q
aea64916e3 Removed scripting support. 2010-10-11 13:27:37 -07:00
sk89q
2f2ff86bac Converted /editdrain to use own stack. 2010-10-11 11:30:11 -07:00
sk89q
6882aa416d Switched undo/redo buffer to use BlockPoint. Added Point.toBlockPoint(). 2010-10-11 11:21:43 -07:00
sk89q
f64cc76906 Added /editdrain, added BlockPoint that compares using ints. 2010-10-11 11:17:32 -07:00
sk89q
7823aa2a6c Added Javadocs for EditSession.stackCuboidRegion() 2010-10-11 10:27:18 -07:00
sk89q
0044ddf48b Removed Apache commons dependency. 2010-10-11 09:44:22 -07:00
sk89q
10703082ed Cleaned up Javadoc comments. 2010-10-11 08:56:19 -07:00
sk89q
eb70ac391a Fixed the help for /editstack and /editstackair. 2010-10-11 01:29:51 -07:00
sk89q
204cfc1452 Major cleanup and refactoring. Non-cuboid regions now technically supported; players now abstracted through WorldEditPlayer; use of Point across the board; command cleanup. 2010-10-11 01:22:47 -07:00
sk89q
ce4b2810ff Added /lift. 2010-10-08 20:53:03 -07:00
sk89q
633be176eb Removed /editcyl (not finished). 2010-10-05 21:52:47 -07:00
sk89q
532c4de8cc Added /editwand. 2010-10-05 21:16:55 -07:00
sk89q
c59d77e138 Fixed /editstack(air), fixed getLength()/getHeight() of WorldEditSession. 2010-10-05 21:08:52 -07:00
sk89q
35f46473de Fixed arguments with /removeabove and /removebelow. 2010-10-05 20:28:43 -07:00
sk89q
02ef9610be Added /removebelow and added a height parameter to /removeabove. 2010-10-05 17:02:33 -07:00
sk89q
ba828c1a3a Added untested /editstack and /editstackair commands to stack the region towards a direction. 2010-10-05 13:46:54 -07:00
sk89q
05524be2d2 Made static Logger static final. 2010-10-05 13:07:39 -07:00
sk89q
f896acc662 On paste, you will now be placed on top of the paste if you ended up inside some blocks. 2010-10-05 01:43:23 -07:00
sk89q
a61c62f46d Implemented block smart queuing that allows certain block types that require a block under them to exist to work now. For example, torches are only created at the end. 2010-10-05 00:40:50 -07:00
sk89q
c0a9d0d551 Improved the quality of the command-related messages and renamed /setchangelimit to /editlimit. 2010-10-04 23:08:08 -07:00
sk89q
87780f0a78 etc.getDataSource() is now static; updated. 2010-10-04 22:44:55 -07:00
sk89q
48aeb58bbb Updated the .schematic save routine to also create directories as required. 2010-10-04 17:04:28 -07:00
sk89q
414c3cf33d Added short overflow check for schematic saving. 2010-10-04 17:00:54 -07:00
sk89q
713f23d0de Reorganized code, made exceptions inherit from WorldEditException, added /setchangelimit. 2010-10-04 16:39:35 -07:00
sk89q
1f7b39b8e3 Updated for b104. 2010-10-03 17:57:41 -07:00
sk89q
c0e78bebf4 Fixed a bug where Point was not returning accurate results with .equals(), breaking undo code. Temporarily using org.apache.commons.lang3.builder.EqualsBuilder to fix the problem. 2010-10-03 17:29:17 -07:00
sk89q
a620ca9efe Added /editoutline. 2010-10-03 17:04:06 -07:00
sk89q
bb06f9daed Added region selection with a wooden axe (#271); 2010-10-03 16:45:54 -07:00
sk89q
fc2a827c07 Added maximum script execution time of 3 seconds. 2010-10-03 16:12:29 -07:00
sk89q
ddfb7f21be Added direct script->command mapping support; fixed some comments in exception files. 2010-10-03 13:23:43 -07:00
sk89q
33fb2abb54 Added teleport functions to the player interface for scripts; renamed some script-related classes. 2010-10-03 13:09:59 -07:00
sk89q
c55799567a Added some JavaDoc/minor cleanup. 2010-10-03 12:43:30 -07:00
sk89q
5507f0ae98 Made /clearclipboard function. 2010-10-03 12:37:32 -07:00
sk89q
4eb40b039f Minor cleanup of code. 2010-10-03 12:16:09 -07:00
sk89q
81753ee979 Added .schematic loading/saving; fixed issue with pasting not pasting entire region. 2010-10-03 10:44:52 -07:00
sk89q
b3eb1fc548 Gave /editreplace the ability to discriminate on block type to replace. Corrected arguments help for /editscript. 2010-10-02 16:44:20 -07:00
sk89q
2b0d73621a Allowed blocks list can now be adjusted in worldedit.properties. 2010-10-02 16:28:02 -07:00
sk89q
d1a807f25f Added lower bounds clamping to some of the arguments. 2010-10-02 16:15:10 -07:00
sk89q
c70a7914da Added /clearhistory and /clearclipboard. 2010-10-02 16:13:52 -07:00
sk89q
4c7e14a76b Added basic copy/paste functions. 2010-10-02 16:11:44 -07:00
sk89q
8e2c6ece61 Updated com.sk89q.worldedit.Point to use generics. 2010-10-02 15:12:45 -07:00
sk89q
7387e36016 Added basic undo/redo functionality with a history size of 15. 2010-10-02 14:52:42 -07:00
sk89q
6364ba720b Moved exceptions to package com.sk89q.worldedit to prevent potential collision. 2010-10-02 13:46:33 -07:00
sk89q
6eaf5895e4 Hard-coded a list of items that can be used for WorldEdit. 2010-10-02 01:36:33 -07:00
sk89q
c8054b95fe Added preliminary JavaScript scripting support. Currently it can be used to do routines such as forest creation but it cannot make hooks or do anything fancy. 2010-10-02 01:21:48 -07:00
sk89q
2e31c2aaf0 Updated WorldEdit for build 100; made regions no longer shared and fixed the missing authorization check. 2010-09-29 23:41:05 -07:00
sk89q
83fea4d00c Initial commit. 2010-09-28 01:12:34 -07:00