02d8acfa81
Alowed performing undos from other player sessions, if they exist.
2011-08-29 14:24:46 -07:00
a3186c2ce4
Removed old workaround from hmod
2011-08-29 14:24:46 -07:00
93fbad4d82
Cleaned up CommandAlias a bit
2011-08-29 14:24:46 -07:00
d64fd95173
Added support for value flags to the command system
2011-08-29 14:46:36 +02:00
b8a310dfdc
Changed data type of BaseBlock.data from char to byte
2011-08-29 14:46:35 +02:00
1562f17540
Added block damage support to //replace and //replacenear
2011-08-29 00:08:06 -07:00
d83fed13fb
Fixed 43 and 44 block data cycling
2011-08-28 20:46:54 -07:00
04dd21d51a
Added merging of quoted multiword strings (single or double quotes) into one index, flags can be anywhere in the command args string. Untested and currently unused command aliasing added for moving commands around
2011-08-28 13:00:00 -07:00
4dcbae03fe
Made some variables in CuboidClipboard.flip final
2011-08-28 12:28:31 +02:00
447de4b206
- CommandContext's valueFlag constructor will now ignore the 0th element of args (no idea why that is even there)
...
- Limited flags to a-zA-Z
- Passing null to the valueFlag constructor will disable flag parsing altogether
- Adjusted the error message
- Added javadoc to CommandContext(String[], Set<Character>)
- Added CommandContext(String, Set<Character>)
2011-08-27 16:12:49 +02:00
799b84622f
Added support for value flags to CommandContext.
2011-08-26 18:40:51 +02:00
8ac8cb77a5
Cleaned up bukkit event registration a bit and fixed 2 warnings.
2011-08-26 18:40:21 +02:00
3f58187790
Fixed sign post flipping
2011-08-26 16:48:31 +02:00
c6843a2c6d
When flipping a door upside-down, the top and bottom parts are now swapped.
2011-08-26 14:08:02 +02:00
c8bbcbd133
Fixed flipping of the central blocks in a clipboard with odd length.
2011-08-26 14:04:38 +02:00
8e84e7ae18
- Added proper block flipping code for all blocks with proper rotation code except sign posts
...
- Fixed block rotation code for some blocks and cleaned it up a lot
- Added block rotation code for powered rails and detector rails
- //flip now flips all blocks, not just half of them
2011-08-26 13:14:39 +02:00
2281684f20
- Added a -p flag to //flip that makes it flip around the player instead of the center of the clipboard.
...
- Code cleanup
2011-08-26 05:04:07 +02:00
84ed4bf4c3
Added PermissionsEx support to WEPIF.
2011-08-24 23:58:06 -07:00
da6e6da024
Cleanup. Added toString override for polygonal regions.
2011-08-24 18:27:18 -04:00
26d07b4ca4
Fixed polygonal edges with explicit test for point-on-line segment
...
Closes pull #136
2011-08-24 00:19:00 -07:00
2af38feadc
Added a generic injector for commands
2011-08-24 00:17:27 -07:00
ef60fa94bf
Typo fixes
2011-08-24 00:17:27 -07:00
63262dbd5f
Corrected number of arguments in //pos2
2011-08-22 23:05:31 +02:00
91b7b8444f
Added pattern support to /replacenear, //walls, and //faces
2011-08-21 23:56:10 -07:00
9e13e25760
Fixed floodfill usage
2011-08-21 23:56:10 -07:00
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
d12bff993b
Added //-prefixed aliases for most /-prefixed commands
2011-08-21 22:35:27 +02:00
a9498d2c68
Stop working around broken stuff and do it like we always have.
2011-08-21 11:47:29 -04:00
e09a66d859
Gave /green a larger "ignored blocks" set.
2011-08-20 15:51:25 +02:00
2893438f8e
/green now fails a bit less.
2011-08-20 15:18:17 +02:00
3c92bd9451
Worked around brokenness in PlayerInteractEvent
2011-08-17 13:38:23 -07:00
59ade7a386
Abstracted natural blocktype checking to BlockType.isNaturalBlock
2011-08-17 13:36:17 -07:00
93620ec168
The /green command should now only affect dirt on the top layer.
2011-08-17 13:19:35 +02:00
2b94ddf7ed
Added flag to //smooth to only use "natural" blocks
2011-08-17 00:33:46 -07:00
c99d64cfa0
Removed unnecessary valid block checking (already in LocalWorld)
2011-08-16 22:29:06 -07:00
a313f2e93e
Made events respect isCancelled()
2011-08-16 18:39:07 -07:00
4d6bb6d746
Prevent setting blocks to items due to Bukkit's Material containing both.
2011-08-16 19:31:22 -04:00
3f0da63b01
Fixed dinerperms groups and bridge detection.
2011-08-16 14:05:45 -07:00
151b4c0fa1
Added a /green command, which greens the surrounding landscape.
2011-08-16 18:43:13 +02:00
6c5d1236c7
Fixed non-integer radius support for /thaw and /snow.
2011-08-16 18:42:29 +02:00
ea445ebcf5
Added a -s flag to //chunk, which extends your current selection to the encompassed chunks.
2011-08-16 10:10:23 +02:00
c79d90bb99
Added support for non-integer radius to //fill, //fillr, //drain, //fixlava, //fixwater, //snow and //thaw.
2011-08-15 14:35:21 +02:00
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
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
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
9d753c8692
Cleanup overlay/underlay mask.
2011-08-13 01:04:59 -04:00
af2429467d
Optimized //(h)sphere a bit and made the shell for //hsphere as thin as possible.
2011-08-12 08:20:40 +02:00
b74670fda6
Fixed a warning
2011-08-12 08:20:40 +02:00
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
43bba317e5
Added overlay and underlay masks
2011-08-11 21:44:54 +01:00