Commit Graph

698 Commits

Author SHA1 Message Date
TomyLobo
9de9004834 - Moved Bukkit event registration from WorldEditPlugin into the respective listeners.
- Changed registerEvent to the string-based system WorldGuard has, which should improve compatibility with differing Bukkit versions.
2011-08-21 23:05:03 +02:00
TomyLobo
d12bff993b Added //-prefixed aliases for most /-prefixed commands 2011-08-21 22:35:27 +02:00
Wizjany
a9498d2c68 Stop working around broken stuff and do it like we always have. 2011-08-21 11:47:29 -04:00
TomyLobo
e09a66d859 Gave /green a larger "ignored blocks" set. 2011-08-20 15:51:25 +02:00
TomyLobo
2893438f8e /green now fails a bit less. 2011-08-20 15:18:17 +02:00
zml2008
3c92bd9451 Worked around brokenness in PlayerInteractEvent 2011-08-17 13:38:23 -07:00
zml2008
59ade7a386 Abstracted natural blocktype checking to BlockType.isNaturalBlock 2011-08-17 13:36:17 -07:00
TomyLobo
93620ec168 The /green command should now only affect dirt on the top layer. 2011-08-17 13:19:35 +02:00
zml2008
2b94ddf7ed Added flag to //smooth to only use "natural" blocks 2011-08-17 00:33:46 -07:00
zml2008
c99d64cfa0 Removed unnecessary valid block checking (already in LocalWorld) 2011-08-16 22:29:06 -07:00
zml2008
a313f2e93e Made events respect isCancelled() 2011-08-16 18:39:07 -07:00
Wizjany
4d6bb6d746 Prevent setting blocks to items due to Bukkit's Material containing both. 2011-08-16 19:31:22 -04:00
zml2008
3f0da63b01 Fixed dinerperms groups and bridge detection. 2011-08-16 14:05:45 -07:00
TomyLobo
151b4c0fa1 Added a /green command, which greens the surrounding landscape. 2011-08-16 18:43:13 +02:00
TomyLobo
6c5d1236c7 Fixed non-integer radius support for /thaw and /snow. 2011-08-16 18:42:29 +02:00
TomyLobo
ea445ebcf5 Added a -s flag to //chunk, which extends your current selection to the encompassed chunks. 2011-08-16 10:10:23 +02:00
TomyLobo
c79d90bb99 Added support for non-integer radius to //fill, //fillr, //drain, //fixlava, //fixwater, //snow and //thaw. 2011-08-15 14:35:21 +02:00
TomyLobo
a57830706e Added support for non-integer radius to //superpickaxe recursive and improved performance a bit by making the recurse method static. 2011-08-15 14:22:35 +02:00
TomyLobo
e67ea1e769 Commands that consider the player's look direction now also use up/down when the player's pitch is outside the [-67.5;67.5] interval. 2011-08-15 14:09:19 +02:00
TLUL
22cbc90b6d setTypeIdAndData in LocalWorld is no longer abstract - it now defaults to calling setBlockType and setBlockData. Restores compatibility with SinglePlayerCommands 2.10_2. 2011-08-14 03:48:18 -04:00
Wizjany
9d753c8692 Cleanup overlay/underlay mask. 2011-08-13 01:04:59 -04:00
TomyLobo
af2429467d Optimized //(h)sphere a bit and made the shell for //hsphere as thin as possible. 2011-08-12 08:20:40 +02:00
TomyLobo
b74670fda6 Fixed a warning 2011-08-12 08:20:40 +02:00
X1337X
bc31e4c20a Removed the >, or <, from the over and underlay masks - command is now /mask >id,id,id 2011-08-11 22:56:24 +02:00
X1337X
43bba317e5 Added overlay and underlay masks 2011-08-11 21:44:54 +01:00
masteroftime
750d6dd1d0 Destroying tall grass with superpickaxe now randomly drops seed 2011-08-11 19:27:00 +02:00
Wizjany
46e37017bf Whitespace police 2011-08-10 18:36:26 -04:00
masteroftime
7b306160d7 Added optional position parameter to //pos1 and //pos2 2011-08-10 18:36:26 -04:00
hretsam
ddcf948974 Fixed issue #376 "right-clicking with a compass on a door is treated if the door was not there and the left mousebutton was clicked."
Also when you use the compass for jumpto/thru it wont interact with items anymore.
2011-08-10 18:36:25 -04:00
TomyLobo
5e45fd1625 Disabling global masks while regnerating because they only affect the area outside the selection. 2011-08-10 04:16:54 +02:00
TomyLobo
2af31fe231 Added position logging to /up, /ceil, position+orientation+region logging for the script commands and changed the logging for //move and //stack to orientation+region 2011-08-09 01:23:16 +02:00
TomyLobo
d30cad6340 Added ORIENTATION_REGION and ALL LogModes, which log orientation+region and position+orientation+region respectively. 2011-08-09 01:23:08 +02:00
TomyLobo
e320d34b32 Added an optional on/off argument to the toggle pickaxe command. 2011-08-09 00:19:58 +02:00
TomyLobo
cc917b424c Added position/region logging. 2011-08-08 14:40:02 +02:00
TomyLobo
6f79df8398 Added to toString() method to CuboidRegion. 2011-08-08 14:39:16 +02:00
TomyLobo
2c155c241b Added an invokeMethod hook to CommandsManager, that wraps method invocation and can be overridden 2011-08-08 14:06:28 +02:00
TomyLobo
96eb94155c Fixed the desciption of the //outline (//faces) command. 2011-08-08 09:20:55 +02:00
TomyLobo
7a3ddfe7bc Fixed //flip sometimes throwing errors about unknown directions. 2011-08-08 09:19:24 +02:00
TomyLobo
8d688165ee Fixed exceptions in //brush since build #115. 2011-08-08 02:23:42 +02:00
Wizjany
b8a987b204 Cancel scheduler tasks onDisable to prevent nag warnings 2011-08-07 11:57:32 -04:00
zml2008
0f73533199 Fixed some more warnings 2011-08-07 01:08:40 -07:00
zml2008
cea080e7c7 Added Nijiperms bridge detection, allowing DinnerPerms to no longer conflict with everything else by default. 2011-08-07 01:00:48 -07:00
TomyLobo
0040ba9867 Added support for non-integer radius to the sphere, cylinder, smooth and extinguish brushes. 2011-08-07 05:24:20 +02:00
TomyLobo
57b5c5b546 Added support for non-integer radius to //cyl, //hcyl, //sphere and //hsphere 2011-08-07 05:24:19 +02:00
TomyLobo
9d98ca3db8 Added library support for non-integer radius spheres and cylinders. 2011-08-07 05:19:17 +02:00
TomyLobo
a527b59770 Fixed more warnings. 2011-08-07 02:53:48 +02:00
hretsam
282b3fbd05 Merge branch 'master' of git@github.com:sk89q/worldedit.git 2011-08-07 02:42:12 +02:00
hretsam
2342acfae2 Added pyramid generation with /pyramid & /hpyramid 2011-08-07 02:40:48 +02:00
TomyLobo
79f8a032f3 Fixed warnings. 2011-08-07 02:34:30 +02:00
Wizjany
02e24ed824 Removed and reimplemented mrapple's selection at a distance. It is now a brush tool, meaning it can be bound as other tools can and it subject to Nichts' /range command, so you can select points in midair. 2011-08-06 19:22:10 -04:00
zml2008
266f272d88 Moved WEPIF config to a global config file. Permissions configured per-plugin are not migrated to the global config. 2011-08-06 00:35:40 -07:00
Elizabeth Jennifer Myers
501c9fa482 Merge branch 'master' of https://github.com/sk89q/worldedit 2011-08-05 15:36:43 -04:00
Elizabeth Jennifer Myers
4aa9f7d35b EditSession: Fix hcyl height checks.
The height check was incorrect for certain height/position combinations,
causing the cyl to be the wrong length.

Closes #119
2011-08-05 15:34:05 -04:00
hretsam
2068189cf5 Added multiworld support for snapshots.
Added robinjam's nether support (Thank you robinjam!)
2011-08-05 12:35:38 +02:00
hretsam
f8c53a06bf Merge branch 'master' of git@github.com:sk89q/worldedit.git 2011-08-05 12:30:27 +02:00
hretsam
990915b23f Merge remote-tracking branch 'remotes/pull_117/multiworld-snapshots' 2011-08-05 12:29:49 +02:00
zml2008
37f8b8927a Made getGroups() work properly for nijiperms. 2011-08-04 21:58:14 -07:00
sk89q
8ea980a303 Changed //smooth to smooth nearly everything. 2011-08-02 15:52:58 -07:00
sk89q
8bb0629d79 Added //naturalize. 2011-08-02 15:52:57 -07:00
zml2008
9343b3d1a8 Changed the DinnerPerms priority to not be overridden by permissions bridges 2011-08-01 21:10:13 -07:00
zml2008
cb7ec82905 Added DinnerPerms support to WEPIF 2011-08-01 21:02:15 -07:00
zml2008
2efa37f0b2 Fix for bukkit note block changes 2011-07-31 22:11:45 -07:00
mrapple
894ebec740 You may now select pos1/pos2 from a distance! 2011-07-23 11:34:28 -05:00
mrapple
40772cbc67 I had just compiled this, not sure how that errors slipped through 2011-07-23 10:54:38 -05:00
mrapple
15b97782c4 Remove unnecessary player animation event, just use player interact instead 2011-07-23 10:51:31 -05:00
Jacob Scott
86d12a62a0 superpickaxe on a piston head wont drop an unplacable block 2011-07-15 03:22:58 -05:00
Jacob Scott
66dcc99809 fixed superpickaxe for gravel & lightstone, preprocessors faster than postprocessors, added methods so same-type changes are visble client-side, fixed fixliquid & setblocks block count 2011-07-15 02:00:48 -05:00
Jacob Scott
75660547d9 fixed superpickaxe for gravel & lightstone, preprocessors faster than postprocessors, added methods so same-type changes are visble client-side, fixed fixliquid & setblocks block count 2011-07-15 01:59:30 -05:00
Jeremy Koletar
4b65cf5bea Curse you indentation man! 2011-07-07 14:25:21 -05:00
Jeremy Koletar
7717223686 Some code tidying. 2011-07-07 14:05:03 -05:00
James Robinson
73a86468fe Add nether snapshot support 2011-07-07 19:10:36 +01:00
Jeremy Koletar
6b9dbe349a Changes tabs to spaces, also removed extra boolean. 2011-07-07 12:35:08 -05:00
James Robinson
858f8d3c36 Add multiworld snapshot support 2011-07-07 18:23:12 +01:00
Jeremy Koletar
fce942e130 Allow a command to be passed to /ascend and /descend which ascends/descends multiple floors. 2011-07-07 10:35:20 -05:00
mrapple
1e9c5b2c76 Allow piston blocks to rotate 2011-07-02 20:06:56 -05:00
Wizjany
084e9456e1 Added 1.7 blocks to BlockType methods. 2011-07-02 15:13:21 -04:00
Wizjany
5231352f6c Updated item ids and names for 1.7 2011-07-01 00:26:40 -04:00
Wizjany
b4f646a11a Added backwards compatibility for per-world permissions. (Not sure why it hasn't popped up before now) 2011-06-30 09:20:07 -04:00
Wizjany
021e99c252 Added range command for brushes. Thanks Nichts 2011-06-22 18:33:43 -04:00
Wizjany
1aa08104b5 Made a few commands obey //toggleplace 2011-06-21 12:44:12 -04:00
sk89q
86ecd49b89 Added support for using instances (created using a specified dependency injector) in CommandsManager. 2011-06-18 10:14:49 -07:00
hash
1784b29f02 Added a new utility method to BukkitUtil to do the common task of shifting coordinates for an entity to the center of a block. 2011-06-15 20:01:03 -05:00
Wizjany
4aaa127efe Updated permissions example 2011-06-09 00:30:20 -04:00
Wizjany
c21357de28 Added multiworld permissions support to WEPIF 2011-06-09 00:30:19 -04:00
hash
08c8a5ab23 Merge branch 'master' of github.com:sk89q/worldedit 2011-06-06 19:32:42 -05:00
hash
b5c9f70e70 Added a utility method for dealing with location precision to bukkit utilities. 2011-06-06 19:32:15 -05:00
sk89q
95c60343c7 Made 'brick' => brick block, not brick bar. 2011-06-05 14:37:11 -07:00
sk89q
f0b2fcc13f Improved item/block name matching. 2011-06-05 11:59:23 -07:00
sk89q
e20cca38fd Change the block type check to be implementation-dependent. The Bukkit plugin now checks Bukkit's Material. 2011-06-04 22:22:23 -07:00
sk89q
0f040429c5 Added flood fill tool, fixed data values not being set properly. 2011-06-04 19:41:12 -07:00
sk89q
730244056c Fixed a mask parsing error that raised java.lang.StringIndexOutOfBoundsException. 2011-06-04 12:22:33 -07:00
sk89q
2e7de18840 Removed ReplacingEditSession, which is now obsoleted by the changes to EditSession. 2011-06-04 12:21:13 -07:00
sk89q
aa17d2f0e0 Added //gmask to set a *GLOBAL* mask that affects nearly ALL operations. Now you can confine //sphere to a region or create //walls that do not replace existing blocks. 2011-06-04 12:16:10 -07:00
sk89q
e1da7c41ad Added a new region-based mask type and the ability to combine masks. 2011-06-04 11:57:40 -07:00
sk89q
504b4a613f Added support for combined masks. 2011-06-04 11:42:45 -07:00
sk89q
d881c14e2d Added //fast mode, which allows the server to skip the dirtying of chunks. This means that you have to rejoin to see changes though, but most operations are doubled in speed. 2011-06-04 10:30:45 -07:00
sk89q
d397460026 Added rotation support to redstone repeaters. 2011-06-03 22:51:42 -07:00
mrapple
e62015c0b8 Fix trapdoor rotation 2011-06-02 15:40:14 -05:00
Wizjany
cc859880aa Added missing block to the list 2011-06-02 00:33:41 -04:00
sk89q
438a33cc0d Made trapdoors rotatable. 2011-05-31 19:43:48 -07:00
Wizjany
f9aa5910f2 Fixed blank lines being sent on disable 2011-05-30 23:58:32 -04:00
Wizjany
281db091b8 Fixed history size being 0 with old config files. 2011-05-29 11:19:14 -04:00
Wizjany
1c94265ba8 Fixed error some people were having with BlockWorldVectors. 2011-05-27 17:01:15 -04:00
Wizjany
62a78994fd Added permissions node to Documentation Printer. 2011-05-27 00:33:18 -04:00
Wizjany
5d44053429 Updated for MC 1.6 2011-05-26 16:09:33 -04:00
Wizjany
8f032fb2ea Added -p flag to //butcher to kill pet wolves. 2011-05-24 18:19:11 -04:00
Wizjany
f97c765623 Added -s flag to //move and //stack to move the selection along with the blocks. 2011-05-16 15:49:35 -04:00
Wizjany
520d7ac764 Fixed potential client-spamming bug. 2011-05-15 20:51:52 -04:00
Wizjany
84c3ace9e0 Made CUI selection clear on disable (including Bukkit's /reload) 2011-05-13 00:05:40 -04:00
Wizjany
d91a634450 Fixed //expand vert not updating client. 2011-05-12 23:24:24 -04:00
fedaf82af9 Merge pull request #100 from wizjany/master
Added a method to check if a block is a rail
2011-05-11 20:48:53 -07:00
Wizjany
e2c17cbf46 Added yet another method to BlockType (rails) 2011-05-11 20:04:29 -04:00
hash@exultant.us
18c192f5a9 Bugfix last. 2011-05-11 00:11:25 -05:00
hash@exultant.us
e6f3a1b5af More general-purpose vector code abstracted from craftbook and more convenience methods for conversion. 2011-05-10 23:55:07 -05:00
hash@exultant.us
0f4d331e7a Merge branch 'master' of github.com:sk89q/worldedit 2011-05-10 22:17:37 -05:00
hash@exultant.us
9f26fe2e28 Adding some new vector classes from craftbook. 2011-05-10 22:14:25 -05:00
Moo0
0aba329cf5 Add "deltree" tool for removing floating trees. 2011-05-10 23:31:24 +01:00
stoneLeaf
dae9c1becf Corrected a logfile issue (2).
An unload() was missing in the case of a '/we reload' command.
2011-05-08 07:40:20 +02:00
stoneLeaf
d67e9d970d Corrected a logfile issue.
When WorldEdit is reloaded within Bukkit, an additional log file is created. This is because the Logger's FileHandler wasn't closed and thus kept the log file locked.
2011-05-08 06:57:08 +02:00
sk89q
fecc64eafb Nailed the IllegalAccessException (thanks to lechd). 2011-05-01 18:17:52 -07:00
sk89q
9557d5fbd4 Removed minimum cap on history size. 2011-05-01 17:37:28 -07:00
sk89q
d71d4a8569 Added expiration timer to sessions. Sessions will now last up to 10 minutes (by default) before removed, so you can quickly disconnect (or crash) and come back and still maintain your history. 2011-05-01 17:37:05 -07:00
sk89q
a18546d698 Added permission checks for tools on /use/, so now if you switch world or lose your permissions, you lose your tools. 2011-05-01 17:06:40 -07:00
sk89q
5755755c15 Code cleanup. 2011-05-01 17:06:18 -07:00
sk89q
d8288afe04 Removed redundant code. 2011-05-01 16:16:50 -07:00
sk89q
c7dff09f11 Removed wolves from /butcher. There's no way to check if a wolf is owned or not in Bukkit yet. 2011-05-01 16:03:27 -07:00
sk89q
c8058f65fc Fixed EntityType. 2011-05-01 15:07:18 -07:00
sk89q
7dcb4da83b Moved EntityType to its own class to hopefully fix the unexplainable IllegalAccessErrors. 2011-05-01 13:55:38 -07:00
sk89q
27f079b11d Replaced README.txt with useful README.html. 2011-05-01 13:27:46 -07:00
sk89q
582b98dad0 More file moving. 2011-05-01 01:30:33 -07:00
sk89q
deef660620 Updated pom.xml with correct versions.
Disabled pushing for release.
Fixed checkout URL in pom.xml.
Added local checkout for pom.xml.
Added assembly:assembly to preparation goal of release.
Fixed path issues with build.
Removed release config.
2011-04-30 20:08:14 -07:00
sk89q
e121442ee9 Added pom.xml, moved files around. Sun Rhino support has been dropped. 2011-04-30 19:37:49 -07:00
sk89q
3ada3a9774 Added light level to the query tool. 2011-04-29 23:15:09 -07:00
sk89q
3ffd67e7f3 Added left click support to /repl to pick up the block. 2011-04-25 02:05:58 -07:00
sk89q
47268bef20 Added secondary mode to tool framework. Updated /cycler to make use of this. 2011-04-25 01:52:34 -07:00
sk89q
c5ff11f815 Fixed issue with double spaces in command handling. 2011-04-24 00:01:20 -07:00
Tony
8a9f1fbc10 Support for 1.5 Blocks 2011-04-22 16:39:49 -05:00
Tony
a50eea3e2d Support for 1.5 Blocks 2011-04-22 16:36:55 -05:00
Wizjany
04f57be79f Updated blocks and items for 1.4 and 1.5 2011-04-22 10:09:12 +08:00
Wizjany
3c92fbe910 Fixed exception thrown by commands with multiple spaces between arguments. 2011-04-22 10:09:12 +08:00
Wizjany
3f2afa9581 Fixed for 1.4_00_01 and fixed typo. 2011-04-22 01:28:07 +08:00
Tony
4ed1082309 Small fix for rotating wall signs 2011-04-03 20:53:58 -05:00
Tony
cdc011eb2d Add cycling for wall signs and steps 2011-04-03 20:23:38 -05:00
sk89q
fc3531ce89 Added selection setting API. 2011-04-03 11:03:57 -07:00
sk89q
fd2de1d264 Added support for newer versions of Permissions, in theory. 2011-04-02 20:38:04 -07:00
sk89q
ac920fd5b6 Took polygon-in-point algorithm from WorldGuard. 2011-04-02 19:56:05 -07:00
sk89q
87f172b4ed Fixed WorldEdit unpacking the wrong config.yml. 2011-04-02 14:02:13 -07:00
sk89q
a3a6092113 Updated for Minecraft 1.4. 2011-04-01 16:23:44 -07:00
sk89q
5173e953b4 Updated for latest Bukkit thingy. 2011-04-01 16:18:40 -07:00
sk89q
63beba8cba Updated for latest Bukkit. 2011-03-27 11:12:35 -07:00