Commit Graph

1516 Commits

Author SHA1 Message Date
TomyLobo
77bd86a203 Whitespace police 2011-11-24 21:07:14 +01:00
TomyLobo
5ec6276674 Made ExpressionTest invoke the optimizer every time it evaluates an expression.
This way that thing at least gets SOME coverage.
2011-11-24 21:00:09 +01:00
TomyLobo
c1e151ac19 Improved the expression parser's optimizer.
Added optimizers for Conditional, For, SimpleFor and While.
Improved the Sequence optimizer.
Removed the optimizer TODOs from Break and Return.
2011-11-24 21:00:09 +01:00
TomyLobo
05b427316d Changed signature of the optimize() method to return an RValue. 2011-11-24 20:50:07 +01:00
TomyLobo
7cbb7da80b Added the ternary operator. 2011-11-24 20:04:42 +01:00
TomyLobo
9456c9e58f Expression parser improvements
- Fixed calling nullary functions.
- Improved error reporting for missing functions
- Added random() and randint(max)
- Improved Sequence.optimize() to eliminate statements with no effect
- Adjusted a comment
2011-11-24 11:05:41 +01:00
TomyLobo
adf326e2bf Renamed some variables and adjusted some comments in ArbitraryShape. 2011-11-24 11:01:24 +01:00
TomyLobo
d69b04caf5 Added some element comments to ArbitraryShape. 2011-11-24 04:06:14 +01:00
TomyLobo
dfb729d5f1 Added license blocks and element comments to all expression parser classes.
Also updated some terminology
2011-11-24 03:55:06 +01:00
TomyLobo
71287299b5 Added a simple for loop to the expression parser.
Syntax: for (counter = first, last) { body }
Also added a test case.
2011-11-24 02:35:19 +01:00
TomyLobo
7e13b60a51 Cleanup 2011-11-23 04:48:40 +01:00
TomyLobo
1a57f6e95d Added return, break and continue. 2011-11-22 18:51:19 +01:00
TomyLobo
efc2209c0f Prevented overwriting built-in constants. 2011-11-22 17:47:44 +01:00
TomyLobo
5ef9df7feb Made it possible to leave parts of a for statement empty. 2011-11-22 16:56:41 +01:00
TomyLobo
e6e31d0b93 Moved some code around 2011-11-22 16:35:56 +01:00
TomyLobo
effbf9f79c Added for loops to the expression parser, java style.
Also:
- Added a test case for for
- Fixed Identifiable.id() for the runtime Nodes and added missing elements to the list in Identifiable.java.
- Factored keyword and character consumption into a common function.
2011-11-22 16:08:15 +01:00
TomyLobo
f217be0bdf Added while loops to the expression parser.
Also added a test case.
Iterations are currently limited to 256 maximum.
2011-11-22 06:16:23 +01:00
TomyLobo
aa43975e34 Added support for if/else to the expression parser. Basically same syntax as Java.
Also added a test case.
2011-11-22 05:12:32 +01:00
TomyLobo
5071885d10 Expression parser: Extended the index range of the megabuf function and renamed it to gmegabuf 2011-11-22 02:33:01 +01:00
TomyLobo
c6fee413dc Changed BukkitWorld.killMobs, so it compiles with the latest RB again.
Also increased forward compatibility as a side-effect.
2011-11-21 06:21:21 +01:00
Wizjany
19194ccb88 Made //butcher apply to enderdragons 2011-11-20 19:31:13 -05:00
TomyLobo
0c9c213e4e Added support for assignable function results.
Also:
- Added megabuf(index) as a first, temporary example
- Introduced a new Node class at the top of the hierarchy for the runtime.
- RValue and LValue are now interfaces
- Narrowed down some exception declarations
- Optimized the optimizer for functions
2011-11-20 17:41:38 +01:00
TomyLobo
7812d8f5f8 Cleanup and refactorings 2011-11-20 06:02:54 +01:00
TomyLobo
feee529095 Improved error reporting for number format errors. 2011-11-20 05:31:18 +01:00
TomyLobo
cf30a63018 Further cleanup of input handlers.
Slight deviation from previous behaviour:
Wand and navigation wand can no longer be used as ordinary tool binds.
However, these are already blocked elsewhere anyway, so it is unimportant.
2011-11-20 02:00:12 +01:00
TomyLobo
71d302c893 Removed fix for issue #376, since the problem appears to have been fixed on the CraftBukkit side now.
Also cleaned up the input handlers a bit.
2011-11-20 01:45:25 +01:00
TomyLobo
1194f4448e Fixed the unused Polygonal2DSelection(List, int, int) constructor. 2011-11-19 15:09:28 +01:00
TomyLobo
13f36757c2 Fixed compass teleporting twice on cliff edges 2011-11-16 16:54:05 +01:00
zml2008
927cab001e Fixed a few bugs with permissions resolver loading. 2011-11-15 20:38:23 -08:00
TomyLobo
86dfa3dce8 Cleaned up WorldEditPlayerListener.onPlayerInteract. 2011-11-13 15:17:08 +01:00
TomyLobo
a3946dc8c4 Typo fix.
Thanks, Moo0
2011-11-13 15:00:41 +01:00
zml2008
c29856f5a8 Added a registration method that returns information about successfully registered commands 2011-11-11 15:47:50 -08:00
zml2008
256897f473 Added seperate permissions for jumpto/thru commands and tools 2011-11-11 15:39:42 -08:00
zml2008
0a4cbd435f The permissions resolver needs to be loaded! 2011-11-10 19:36:57 -08:00
TomyLobo
ae3adae8a8 Disabled fast lighting until the issues are resolved. 2011-11-09 02:49:24 +01:00
TomyLobo
04b7f40f46 Renamed some local variables in WorldEdit.getblock.
Also added a note about a potential concurrency problem i stumbled upon.
2011-11-05 18:09:50 +01:00
TomyLobo
af1c600fc9 Non-leaf blocks should no longer show up as leaves in the inventory when using block bags. 2011-11-05 17:58:51 +01:00
TomyLobo
e72f84f08f Leaves can now be stored in a block bag. 2011-11-04 19:39:05 +01:00
TomyLobo
3ed5841863 The block bag fetch/place mapping is now taken from BlockType.getBlockBagItem. 2011-11-04 16:56:53 +01:00
TomyLobo
7beac92232 Added a deprecated delegate for storeDroppedBlock. 2011-11-04 16:39:56 +01:00
TomyLobo
2d0880e38d Piston extension and moving piece now put nothing into the blockbag. 2011-11-04 13:53:21 +01:00
TomyLobo
8e368ceef1 Employed a set of consistent rules for getDroppedBlock(type, data) and renamed it to getBlockBagItem. 2011-11-04 13:27:51 +01:00
TomyLobo
d9b8285a35 Made ItemType.usesDamageValue a bit more sane. 2011-11-03 18:34:20 +01:00
TomyLobo
ff39121fc8 Begun adding support for data/damage values to the blockbag. 2011-11-03 15:51:23 +01:00
TomyLobo
429bfe9faa Added BlockType.getDroppedBlock(int type, int data)
It currently still ignores the data value, but there's a framework in place to add data values.
2011-11-03 15:51:22 +01:00
zml2008
04803de8b1 Fixed some NPE's for block types not in BlockType. 2011-11-02 22:51:48 -07:00
TomyLobo
4c05050d73 Improved /we version output for dev builds. 2011-11-02 17:23:45 +01:00
TomyLobo
a51bc28756 Added true and false constants to the expression parser. 2011-11-02 15:29:55 +01:00
TomyLobo
c2cd587a9b Added support for functions that take LValues and added rotate(x&,y&,angle) 2011-11-02 03:41:35 +01:00
TomyLobo
ff03d03fd7 Cleanup 2011-11-02 03:41:22 +01:00
TomyLobo
187896c5ed Made //deform round the results before lookup and fixed some potential issues. 2011-11-02 03:39:02 +01:00
TomyLobo
2edf3559d8 EditSession: Split off a queueFinal, which contains only blocks that can be attached to other attached blocks.
This a speed improvement, since the recursive attachment checker turned out to be quite slow.
2011-11-01 21:58:50 +01:00
TomyLobo
2ee36f7484 //generate and //deform no longer behave oddly with selections that are only one block thick in either direction. 2011-11-01 16:32:56 +01:00
TomyLobo
4f1196ce2d Added a //deform command, which deforms a region given an expression that operates on the x/y/z variables. 2011-11-01 15:27:13 +01:00
TomyLobo
a5e5880064 Moved shape generation to EditSession.
Also refactored it to get rid of the 3 different anonymous classes.
2011-11-01 15:27:12 +01:00
TomyLobo
c5c68f481b Moved all command-implementing methods to the bottom of the file. 2011-11-01 14:54:32 +01:00
TomyLobo
478d6f6e54 Added support for type/data to //generate. 2011-11-01 14:31:33 +01:00
TomyLobo
8a83f7f70e Added support for custom materials to ArbitraryShape and adjusted //generate accordingly. 2011-11-01 14:28:03 +01:00
TomyLobo
02a70cca4a Added Pattern.next(int, int, int).
This method can be used to avoid creating short-lived vectors in tight loops.
2011-11-01 14:25:41 +01:00
TomyLobo
6b0f237a46 Removed extra fastLighting flag.
Fast lighting is now used when available.
2011-10-31 03:28:05 +01:00
TomyLobo
d3822ee345 Fixed postfix operator evaluation order. 2011-10-31 00:42:57 +01:00
zml2008
d5328e34ba This might fix problems people have been having with dinnerperms. 2011-10-30 15:16:00 -07:00
TomyLobo
8e0539adf1 Parser improvements
- After a closing brace or a semicolon, a new expression starts. This fixes "{}-1" and ";-1" returning an error.
- Empty statements and empty block statements are now fully supported
- Renamed PrefixOperator to UnaryOperator
- Added postincrement(x++), postdecrement(x--) and factorial(x!) operators
2011-10-30 06:04:49 +01:00
TomyLobo
77d1317964 Added support for temporary variables 2011-10-29 21:07:31 +02:00
Wizjany
2719308ada Made //fast display a different message if the argument matches the current mode 2011-10-29 13:32:51 -04:00
Wizjany
2b9f0be8df Updated to 1.9 2011-10-29 13:32:51 -04:00
Wizjany
699807665d Cleanup 2011-10-29 11:57:45 -04:00
TomyLobo
8797d8ac3c Added element comments to all classes of the expression parser.
Also fixed some id() implementations.
2011-10-29 17:24:11 +02:00
TomyLobo
e70446e82e Renamed RValue.invoke() to getValue. 2011-10-29 16:03:55 +02:00
TomyLobo
93f073f264 Renamed Assignable to LValue and Invokable to RValue 2011-10-29 16:01:55 +02:00
TomyLobo
0ba3da2641 Reverted to old manual lighting system that doesn't call notch's block lighting functions directly. 2011-10-29 05:27:17 +02:00
TomyLobo
8ce3f4d77a Moved some code around in ParserProcessors.java 2011-10-29 04:20:13 +02:00
TomyLobo
f28401aecc Moved the sub-processors into a new class, ParserProcessors. 2011-10-28 20:34:48 +02:00
TomyLobo
58be9d9be4 Added support for stretched cylinders and brought their profile in line with that of the central layer of a sphere of the same x/z radius. 2011-10-28 20:34:08 +02:00
TomyLobo
318e81886c Removed -q flag from //[h]sphere and the code to back it.
The speed difference between the "flexible" and the "quick" variant is so minor that it doesn't justify the aditional code complexity.
2011-10-28 15:10:14 +02:00
TomyLobo
d9b86025d3 Parser refactorings
- Made all sub-processors static
- Made statement (combined) assignment parsing right-associative
- Added a stub for the ternary operator
- Fixed position value on Sequences
2011-10-28 00:37:18 +02:00
TomyLobo
f6f08da620 Cleanup 2011-10-27 19:29:02 +02:00
TomyLobo
ee79abff67 The expression parser can now parse more than a simple expression
- Added sequencing (; and {}).
- Added =, +=, -=, *=, /=, %=, ^= to the expression parser. (left-associative for now, will change later)
- Added pre-increment(++) and pre-decrement(--) operators.
- Adjusted/added tests.
2011-10-27 19:16:46 +02:00
TomyLobo
9c070c323f Added ternary versions of min and max. 2011-10-27 19:06:27 +02:00
TomyLobo
ef5fba0f05 Improved accuracy of Function.getPosition() after optimization. 2011-10-27 19:06:26 +02:00
TomyLobo
0ca66ce350 Moved check for fastLightingAvailable from BukkitWorld.fixAfterFastMode to fixLighting and adjusted the description for //generate. 2011-10-26 23:24:23 +02:00
Wizjany
dbc3053195 Fixed & updated BlockType.usesDamageValue 2011-10-26 16:50:46 -04:00
TomyLobo
906b6dd832 Forgot to save... 2011-10-25 23:26:25 +02:00
TomyLobo
9fa5c4030b Added a //g[en[erate]] command, which generates a shape according to a mathematical formula.
(result > 0) = true = inside
(result <= 0) = false = outside.
2011-10-25 18:46:14 +02:00
TomyLobo
d4c2832437 Added an ArbitraryShape class which can be used to generate hollow and solid shapes based on an in/out condition. 2011-10-25 18:46:12 +02:00
TomyLobo
c2191f4fc7 Generalized the Lexer a bit more and renamed a function in the parser. 2011-10-25 18:45:52 +02:00
TomyLobo
7dfc2a34e5 Improved fast mode.
BukkitWorld's fast lighting mode now also does what the old fast mode did.
In addition, both fast lighting mode and the fallback resend all modified chunks when done.
This should prevent display issues.
2011-10-25 18:41:07 +02:00
TomyLobo
3ed867ed53 Added left, right, back and forward directions to all directional commands. 2011-10-25 01:07:08 +02:00
TomyLobo
2d654b59c5 Reduced code duplication in the WorldEdit.get*Direction methods. 2011-10-25 01:06:18 +02:00
TomyLobo
3962e6c9d8 Added LocalPlayer.getCardinalDirection(int yawOffset) 2011-10-25 01:02:50 +02:00
TomyLobo
a1fb1fd4e4 Using Notch's block lighting functions now.
Also removed some debug messages
2011-10-24 23:42:04 +02:00
TomyLobo
a0461aeb2c BukkitWorld.fixLighting now also fixes block light. 2011-10-24 20:49:17 +02:00
TomyLobo
b31d77536a Added some new functions to BlockType.
- emitsLight which returns whether the given block type emits light
- isTranslucent, which returns whether the block lets any light pass
2011-10-24 20:49:17 +02:00
TomyLobo
4f7e1a6b31 Improved speed greatly by deferring lighting until after all blocks are in place.
This needs CraftBukkit to work.
2011-10-24 13:44:22 +02:00
TomyLobo
e8dcee1acf Added LocalWorld.fixLighting(Set<BlockVector2D>)
This method redos lighting in the given chunks.
BukkitWorld's current implementation introduces some slight errors and doesn't redo torch light, but it's better than nothing.
2011-10-24 13:35:48 +02:00
TomyLobo
ef88c04550 Gave //fast an on|off parameter and adjusted its message to reflect a future change. 2011-10-24 04:33:19 +02:00
TomyLobo
542aed6ffd Fixed warnings. 2011-10-24 04:32:02 +02:00
TomyLobo
ffe5f89afc EditSession.flushQueue(): queueLast is now ordered with attachments in mind. 2011-10-24 04:31:34 +02:00
zml2008
bd5c78bb40 Fixed bug in PermissionsEx resolver when PermissionsEx is not found. 2011-10-23 09:19:29 -07:00
zml2008
52982c7c0f Moved YAML classes from RegionBook from WorldGuard into WorldEdit and made everything use those. 2011-10-22 23:48:15 -07:00
zml2008
a928349b1a Fixed bug in NijiPermissionsResolver.isFakePerms() 2011-10-22 08:07:02 -07:00
zml2008
0e6597fb86 Added configurable detection order of permissions resolvers, restored old default order, and updated configurations to the new Configuration 2011-10-22 01:34:24 -07:00
TomyLobo
d93d85cd37 Added an expression parser. 2011-10-18 01:04:04 +02:00
Wizjany
467cc4dd14 Fixed infinite loop. Just because it's unused in worldedit doesn't mean you should break it -.- 2011-10-12 17:47:26 -04:00
zml2008
050eef8dc7 Fixed checkLoadedChunk 2011-10-10 02:01:50 -04:00
Wizjany
b89ede09a6 Bugfix for jumpto 2011-10-09 20:43:21 -04:00
Wizjany
440f3baed1 Changed order of perms resolvers loading so that dinnerperms and ignore-niji-bridges settings were not ignored. 2011-10-09 20:43:21 -04:00
sk89q
09447c5f6c Fixed CommandContext.matches() always returning true. 2011-10-09 10:31:15 -07:00
Wizjany
68fe0d3438 Cleanup. Cycler uses BaseBlock instead of BlockData directly. Fixed a few BlockType method inaccuracies. 2011-10-04 17:16:20 -04:00
zml2008
9e877740aa Added negated node support for DinnerPerms lookup. 2011-10-03 22:09:44 -07:00
ZachBora
bb609a47c2 Negative angles will return negative number of rotations thus never looping the rotation. 2011-10-02 22:26:44 -03:00
zml2008
24056df78a Fixed config generation for Windows users 2011-10-02 01:27:52 -07:00
Meaglin
b17fb7eaa3 Adding /snapshot sel [index] to select a snapshot by list index. 2011-10-02 00:10:27 -04:00
TomyLobo
e2c71e4269 Added cactus to getAttachment. 2011-09-30 08:56:09 +02:00
TomyLobo
7fec065d4a Apparently the wiki has wrong data values for the stone button.
Also added top attachment for vines.
2011-09-29 21:11:51 +02:00
TomyLobo
69367e7762 Added BlockType.getAttachment.
See javadoc for details.
2011-09-29 15:54:28 +02:00
TomyLobo
f354ab392f Refactored BlockData test case to reduce code duplication. 2011-09-29 08:19:02 +02:00
zml2008
ccfabd94b9 Should fix broken config generation some people have been getting 2011-09-28 19:05:47 -07:00
TomyLobo
cbc331da7d Added some constants com.sk89q.worldedit.blocks.ClothColor.ID.X = ClothColor.X.getID() 2011-09-28 10:57:30 +02:00
TomyLobo
21c6ab894c Moved BlockData to the blocks package and left a stub with deprecated delegates behind. 2011-09-28 10:45:32 +02:00
TomyLobo
accd841b51 Fixed a few warnings 2011-09-28 08:05:50 +02:00
Wizjany
2d7c462477 Cleanup formatting. 2011-09-27 03:32:46 -04:00
t3hk0d3
4f80e78a7e WEPIF Improvement: code clean out, hardcoding removal and refactoring. Added Service discovery to PluginPermissionsResolver 2011-09-26 21:20:02 -07:00
Wizjany
102e5f142e Fix data cycling the right way. Merged TomyLobo's test changes in. 2011-09-26 05:53:04 -04:00
Wizjany
868fef813f Changed pyramid command usage 2011-09-26 01:43:39 -04:00
Wizjany
23c9a66c80 Fixed gaping huge security flaw. 2011-09-26 01:32:12 -04:00
Wizjany
9e6a2ccf4d Nicer wiki perms table. 2011-09-26 00:09:21 -04:00
Wizjany
903abc80a4 Cleanup 2011-09-25 22:21:27 -04:00
TomyLobo
c6c55c3b2a Adjusted some of the cycler code and added a test case for it.
- Added range checks for most blocks
- torches: Fixed cycle from 0->1->2->3->0 to 1->2->3->4->1
- mushroom caps: Included data value 10 (stem) in cycle
- vines: Included data value 0 (top attachment only) in the cycle
- furnaces/dispensers: Linearised the cycle. It's now 2->3->4->5->2
- chests/ladders: Added cycle code.
- rails: Linearised the cycle. It's now 6->7->8->9->6
2011-09-25 10:52:29 +02:00
TomyLobo
93f36955ca Added a test case for BlockData.
Fixed some non-breaking inaccuracies to make the test case work.
2011-09-25 06:08:31 +02:00
TomyLobo
63fa72af5e Added rotate code for brick and stone brick stairs and made powered/detector rails not lose their charge when rotating. 2011-09-25 06:01:01 +02:00
TomyLobo
b06caa9fd3 Cleanup 2011-09-25 05:15:20 +02:00
TomyLobo
50009cc855 Improved hashCode implementations for the Vector classes.
Block[World]Vector was ignoring changes of y < 128 (i.e. all of them) and changes of x < 8192.
2011-09-25 04:56:54 +02:00
zml2008
3bbebcd64e Updated for Bukkit changes. 2011-09-24 15:45:49 -07:00
Wizjany
f90e47da9a Removed trailing whitespaces. 2011-09-24 15:32:03 -04:00
Wizjany
b5b55a2775 Cleanup and a few bugfixes 2011-09-24 15:24:10 -04:00
lahwran
a2e23fedf7 send poly regions to wecui, take 2 2011-09-24 11:45:03 -06:00
TomyLobo
7c18327fdc Fixed extended piston rotation. 2011-09-24 11:20:37 +02:00
TomyLobo
bfc877cdb2 Added rotate code for vines, fence gates and mushroom caps. 2011-09-23 16:32:50 +02:00
TomyLobo
a3cd58fda1 Added flip code for vines, fence gates and mushroom caps. 2011-09-23 14:00:49 +02:00
TomyLobo
4b760fd17b Swapped flipY and flipZ in BlockData.flip and formatted the function more consistently. 2011-09-23 12:50:57 +02:00
Wizjany
2f19edca2a Fixed case fallthroughs in BlockType. 2011-09-22 01:31:35 -04:00
TomyLobo
fa82482823 Added a new test for get[Padded]Slice and renamed testHangingQuote to testUnmatchedQuote. 2011-09-20 03:41:07 +02:00
TomyLobo
67918f171b Internal restructuring of CommandContext
- getJoinedStrings(n) will now return literally everything after the first space following the (n-1)th argument. Mixing flags in after that is undefined
- What was in args before is now a List named parsedArgs, which also no longer contains the command, which was split off into a separate field.
- get[Padded]Slice now operates on the unparsed args with flags and all, allowing whoever uses it (script commands) to obtain a more low-level input.
- Added a test for the exactness of getJoinedStrings and adjusted an existing test to the new old behaviour.
2011-09-20 03:25:35 +02:00
TomyLobo
2d86b1b40d Fixed and cleaned up CommandContext.
- Removed all the inefficient removePortionOfArray stuff and replaced it by ArrayLists that accumulate content instead.
- Added new tests
- Swapped the arguments to assertEquals everywhere. First argument is "expected".
- Fixed warnings in the test case
- I put my original flag parser back and added support for putting flags anywhere. Looks and works better than that undocumented mindfuck zml put there.
2011-09-19 23:14:49 +02:00
TomyLobo
c78e8a10d7 Made shouldNotStack use a HashSet instead of a bunch of or'ed comparisons. 2011-09-19 09:13:51 +02:00
TomyLobo
a4618fa3c0 It just a test case but meh... 2011-09-19 09:08:10 +02:00
TomyLobo
c1f1e29617 Replace ItemType.X.getID() with ItemID.X everywhere. 2011-09-19 08:38:30 +02:00
TomyLobo
16a4e5ccb3 Added/fixed some copyright notices. 2011-09-19 08:24:21 +02:00
TomyLobo
088001f099 Used ItemID in ItemType 2011-09-19 08:08:05 +02:00
TomyLobo
51d4b572cb De-craftbooked some copyright notices. 2011-09-19 07:43:49 +02:00
TomyLobo
5b5c25f1ae Added an ItemID class, containing all the item IDs. 2011-09-19 07:39:28 +02:00
TomyLobo
88b4f4de18 Cleanup.
- Fixed a few warnings
- Unified the formatting of the command prologue
- Put down why it was deprecated in the javadoc of a deprecated method.
- Gave //none a better usage line
- Switchcaseified some elseifs
2011-09-19 07:24:49 +02:00
Wizjany
43809a705d More BlockType cleanup 2011-09-19 00:43:39 -04:00
Wizjany
b413af307a Updated plugin.yml (not that it needs it). 2011-09-19 00:43:38 -04:00
Wizjany
67a7969cd1 Added a tool that allows a player to place and remove blocks at a distance. 2011-09-18 21:53:29 -04:00
Wizjany
1a6bc6f42c Fixed AIOOBE and a missing return, removed an unused and ambiguous method from CommandContext. 2011-09-18 19:11:05 -04:00
Wizjany
dd358bc982 Made floating tree remover work on mushrooms 2011-09-18 02:37:38 -04:00
Wizjany
709cae1995 Removed permissions from plugin.yml for compatibility and cleaned up a bit more. 2011-09-18 02:37:37 -04:00
zml2008
3f369f104a Abstracted type detection of simulateBlockMine into BlockType. 2011-09-17 22:00:14 -07:00
zml2008
a1cf6eb6da Allow //replace to ignore from block damage values (and force them to not be ignored with the -f flag) 2011-09-17 21:50:06 -07:00
zml2008
56fd654eed Fixed bug with unclosed quotes 2011-09-17 21:10:55 -07:00
md-5
46ba1c7f5b Added mob type enum and subsequently removed case sensitivity from //set with mobspawners. 2011-09-17 21:08:15 -04:00
Wizjany
1c4c621500 Cleanup. 2011-09-17 19:32:44 -04:00
Wizjany
f7c5782fa9 Added data support for silverfish blocks. 2011-09-17 14:11:59 -04:00
Wizjany
ece3934994 Abstracted cycler tool methods to BlockData and optimized them slightly, as well as adding support for many new blocks. 2011-09-17 01:44:10 -04:00
Wizjany
b10498b9c7 Added 'xp' as a parameter of the /remove command to remove experience orbs. 2011-09-17 01:44:10 -04:00
TomyLobo
d6ed17dd9d Made some variables final. 2011-09-16 05:48:09 +02:00
TomyLobo
633145d796 Adjusted some BlockType flags.
Beds, glass panes and fence gates should no longer be placed last
Fence gates can no longer be passed through, since they can't, if they're closed.
2011-09-16 05:46:07 +02:00
TomyLobo
7798319896 Optimized all of the public static boolean BlockType.*(int id) functions by using HashSets and put the blockDrops HashMap next to the getDroppedBlock function. 2011-09-16 05:02:39 +02:00
TomyLobo
f0308efdd0 Made the static initializer for BlockType.blockDrops refer to the BlockID constants instead of having the literal IDs. 2011-09-16 03:32:58 +02:00
TomyLobo
19eedecdaf Re-re-introduced a small optimization in the flag parser. 2011-09-16 02:16:11 +02:00
Wizjany
9371202a12 Cleanup BlockType and added a missing block 2011-09-14 21:27:24 -04:00
Wizjany
afa8e873e9 Reverted block id checking in BukkitWorld to prevent false positives and made LoclWorld use the internal list for easier updates 2011-09-14 21:27:24 -04:00
zml2008
bd52ed5c33 Fixed plugin.yml for dumb people 2011-09-14 18:14:42 -07:00
zml2008
75e843b965 Some small improvements to value flags, and a unit test. 2011-09-14 17:59:18 -07:00
TomyLobo
6cdfd86f0b CommandContext:
- Adjusted comment of CommandContext(String[] args, Set<Character> valueFlags) to reflect the actual semantics
- Optimized several parts of the parser (still not happy with the frequent reallocations inside removePortionOfArray)
- Someone (unintentionally?) forgot to break if a non-flag argument was found. If this was indeed intended behaviour, just change the "break;" in line 83 to "continue;".
- Reduced the number of nested control structures a bit.
2011-09-14 18:56:42 +02:00
TomyLobo
cb927d17e1 Fixed a warning. 2011-09-14 18:33:07 +02:00
zml2008
6f43c6a312 Updated for 1.8 blocks and items 2011-09-13 22:47:17 -07:00
zml2008
2f390e9938 Added multiword args and some improvements to value flags. 2011-09-13 22:47:17 -07:00
zml2008
c38a6b0677 Bug fixes 2011-09-09 15:15:03 -07:00
zml2008
6b3f19f857 Minor cleanup of WEPIF constructors 2011-09-07 17:56:39 -07:00
ZerothAngel
703131107d Fix dinnerperms wildcard matching & group enumeration. 2011-09-05 20:53:11 -07:00
zml2008
6f1d263e16 Added getting of the Bukkit player to BukkitPlayer (for RegionBook) 2011-09-04 19:29:45 -07:00
TomyLobo
3bcd9a932b Replaced lots of else if constructs by switch/case and other simpler constructs. 2011-09-05 04:20:36 +02:00
TomyLobo
9ea977af77 Fixed some warnings. 2011-09-04 23:20:03 +02:00
TomyLobo
bb2f8bb350 Cleaned up WorldEdit.getFlipDirection. 2011-09-04 23:18:37 +02:00
Wizjany
e4cd6c23b6 Fixed odd-lengthed clipboards double flipping in the center as per anon's commit(s). 2011-09-03 20:25:20 -04:00
Wizjany
4c00a24c1d Abstracted all block IDs to BlockID and item ids to ItemType. Overloaded recently changed methods for compatibility and cleaned a few things up. 2011-09-03 13:01:51 -04:00
TomyLobo
8c0d0f9ed4 //[h]sphere can now generate ellipsoid (stretched sphere) shapes 2011-09-03 18:59:18 +02:00
TomyLobo
780d07a9ba Fixed a warning. Seriously, guys... 2011-09-02 21:32:23 +02:00
TomyLobo
3205904003 //copy and //paste now respect /toggleplace. 2011-09-02 21:03:22 +02:00
zml2008
bc6315fb24 Fixed getting and setting of blocks in unloaded chunks 2011-08-29 17:31:08 -07:00
zml2008
02d8acfa81 Alowed performing undos from other player sessions, if they exist. 2011-08-29 14:24:46 -07:00
zml2008
a3186c2ce4 Removed old workaround from hmod 2011-08-29 14:24:46 -07:00
zml2008
93fbad4d82 Cleaned up CommandAlias a bit 2011-08-29 14:24:46 -07:00
TomyLobo
d64fd95173 Added support for value flags to the command system 2011-08-29 14:46:36 +02:00
TomyLobo
b8a310dfdc Changed data type of BaseBlock.data from char to byte 2011-08-29 14:46:35 +02:00
zml2008
1562f17540 Added block damage support to //replace and //replacenear 2011-08-29 00:08:06 -07:00
zml2008
d83fed13fb Fixed 43 and 44 block data cycling 2011-08-28 20:46:54 -07:00
zml2008
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
TomyLobo
4dcbae03fe Made some variables in CuboidClipboard.flip final 2011-08-28 12:28:31 +02:00
TomyLobo
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
TomyLobo
799b84622f Added support for value flags to CommandContext. 2011-08-26 18:40:51 +02:00
TomyLobo
8ac8cb77a5 Cleaned up bukkit event registration a bit and fixed 2 warnings. 2011-08-26 18:40:21 +02:00
TomyLobo
3f58187790 Fixed sign post flipping 2011-08-26 16:48:31 +02:00
TomyLobo
c6843a2c6d When flipping a door upside-down, the top and bottom parts are now swapped. 2011-08-26 14:08:02 +02:00
TomyLobo
c8bbcbd133 Fixed flipping of the central blocks in a clipboard with odd length. 2011-08-26 14:04:38 +02:00
TomyLobo
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
TomyLobo
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
zml2008
84ed4bf4c3 Added PermissionsEx support to WEPIF. 2011-08-24 23:58:06 -07:00
Wizjany
da6e6da024 Cleanup. Added toString override for polygonal regions. 2011-08-24 18:27:18 -04:00
Droolio
26d07b4ca4 Fixed polygonal edges with explicit test for point-on-line segment
Closes pull #136
2011-08-24 00:19:00 -07:00
zml2008
2af38feadc Added a generic injector for commands 2011-08-24 00:17:27 -07:00
zml2008
ef60fa94bf Typo fixes 2011-08-24 00:17:27 -07:00
masteroftime
63262dbd5f Corrected number of arguments in //pos2 2011-08-22 23:05:31 +02:00
zml2008
91b7b8444f Added pattern support to /replacenear, //walls, and //faces 2011-08-21 23:56:10 -07:00
zml2008
9e13e25760 Fixed floodfill usage 2011-08-21 23:56:10 -07:00
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
sk89q
cd54bb6f09 Added native data getter methods to Bukkit selection API. 2011-03-26 19:35:27 -07:00
Valentin Stahlmann
789abaada9 Added diagonal stacking 2011-03-27 05:16:59 +08:00
sk89q
3a361b98bc Made EditSession.rawSetBlock() public. 2011-03-18 17:08:38 -07:00
sk89q
024604e204 Fixed the permissions resolver not being loaded if it was loaded after a plugin was enabled or re-enabled. 2011-03-13 20:40:40 -07:00
sk89q
66edfbbae6 Added /worldedit tz to set your timezone. It currently does not persist yet. Example: /we tz america/los_angeles 2011-03-13 20:36:28 -07:00
sk89q
12ba1a9fc4 Removed GroupUsers support. 2011-03-13 20:28:15 -07:00
sk89q
e2c0670a81 Cleaned up some code. 2011-03-13 20:26:26 -07:00
sk89q
2d58fcb5b2 Added /snap before [date] and /snap after [date]. Example: /snap before last Monday 2am 2011-03-13 20:23:55 -07:00
sk89q
5b4ac1233a Added McRegion support to /chunkinfo. 2011-03-12 17:06:36 -08:00
sk89q
baca76e8b6 Possibly fixed item dropping with undo/redo. 2011-03-12 16:42:50 -08:00
sk89q
1b670a1c98 Added //regen to regenerate an area. 2011-03-12 16:37:07 -08:00
sk89q
0fa675cecc Fixed //sel not sending a CUI event. 2011-03-12 15:30:34 -08:00
sk89q
94ab610da7 Added greater coverage for CUI for region adjustments. 2011-03-12 02:27:43 -08:00
sk89q
9151f8b6bf Added shortcut fire extinguisher brush. 2011-03-12 00:49:35 -08:00
sk89q
7787f7c4f6 Fixed block mine drops for 1.3. 2011-03-12 00:43:41 -08:00
sk89q
3b29403a9b Add a com.sk89q.worldedit.bukkit.WorldEditPlugin.getSelection(Player player) method to return the user's current selection utilizing native Bukkit types. 2011-03-12 00:28:19 -08:00
sk89q
5e536ad302 Changed the compass so that left click is /jumpto and right click is /thru. 2011-03-11 23:38:11 -08:00
sk89q
5ac8c5adf7 Added basic support for CUI. 2011-03-11 22:43:02 -08:00
sk89q
015a3042a4 Removed "blue" as an alias for lapis lazuli. 2011-03-10 00:49:10 -08:00
sk89q
7d81303fea Added an alias for wool colors as though they were blocks, so you can now do //set blue, etc. 2011-03-10 00:48:13 -08:00
sk89q
5a3e703acc Fixed beds and redstone repeaters not being set. 2011-03-10 00:42:44 -08:00
sk89q
ac70a37ef1 Added beds as a place-last block. 2011-03-10 00:41:18 -08:00
sk89q
32417e8e86 Fixed snapshot restoration not working on sign blocks and other special tile entity blocks. 2011-03-10 00:32:25 -08:00
sk89q
8017a346cb Optimized the case when worlds were not in the root directory of a zip. 2011-03-10 00:26:01 -08:00
sk89q
7df2ae4e11 WorldEdit should now support McRegion. 2011-03-10 00:21:45 -08:00
sk89q
49b4c190f9 Fixed McRegionReader not being closed. 2011-03-09 23:55:44 -08:00
sk89q
1d68fdd11c Added detection of McRegion-format worlds for snapshot detection. 2011-03-09 23:51:40 -08:00
sk89q
96e75a4cae Made McRegion reading work. 2011-03-09 23:44:04 -08:00
sk89q
5e7d9c7f7d Added McRegion reader classes (incomplete), moved some com.sk89q.worldedit.data classes around and moved org.jnbt com.sk89q.jnbt to coincide with some modifications to make the JNBT library a bit more generic by accepting uncompressed input streams. 2011-03-09 23:10:59 -08:00
sk89q
488f841d69 Added PermissionsProvider interface that can also handle permissions. 2011-03-02 00:49:59 -08:00
sk89q
b7cfdf2ef4 Added BlockType.redstone SOMETHING. 2011-02-26 23:18:28 -08:00
sk89q
4488bb8091 Added iterator implementation to CuboidRegion, courtesy of hash. 2011-02-26 20:30:53 -08:00
sk89q
6aa2c15652 Added 1.3 block support. 2011-02-26 02:48:07 -08:00
sk89q
c58f8f4155 Fixed handling of CommandExceptions thrown by commands. 2011-02-25 08:59:10 -08:00
sk89q
0ffe0689d1 Fixed //count being ///count. 2011-02-24 17:21:11 -08:00
sk89q
2ccbcacfc2 Added a workaround to the fact that Minecraft no longer sends a block dig packet for bedrock. 2011-02-24 17:14:03 -08:00
sk89q
92e5d80c90 Fixed second position setting commands saying position 1 in CuboidRegionSelector. 2011-02-24 16:49:11 -08:00
sk89q
7730ddf679 Removed /t. 2011-02-24 16:43:23 -08:00
sk89q
ad62dbe565 Refactored command handling code to be more reusable. 2011-02-24 16:39:23 -08:00
sk89q
b3508fc2bf Fixed permissions with brush commands. 2011-02-24 09:31:28 -08:00
sk89q
9a2039bed0 /b changed to /br. 2011-02-23 09:49:15 -08:00
sk89q
ccd586ec81 Fixed an error the command parser that resulted it in handling commands it did not really handle. Closes #153. 2011-02-23 00:31:49 -08:00
sk89q
017b762780 Added /search as an alias for /searchitem. 2011-02-22 00:54:04 -08:00
sk89q
ce544da46d Improved command detection algorithm, fixed //size. 2011-02-21 23:15:19 -08:00
sk89q
35ae72e8b7 Improved the permissions list printer to handle nested commands. 2011-02-21 22:59:21 -08:00
sk89q
b2547b2156 Fixed issue with too many commands being put into plugin.yml. 2011-02-21 22:50:48 -08:00
sk89q
19deb404ee Cleaned up code. 2011-02-21 22:28:23 -08:00
sk89q
dffd3682b2 Cleaned up some unused imports. 2011-02-21 20:17:17 -08:00
sk89q
a273a86a7d Updated WorldEdit for command preprocessor event, changed initialization. 2011-02-19 17:54:47 -08:00
sk89q
a0d5e02292 Fixed permission for outset. 2011-02-19 17:45:09 -08:00
sk89q
97529abaca Added polygonal regions. 2011-02-19 17:44:39 -08:00
sk89q
9667e92d66 Added 'no-op-permissions' setting for Bukkit. 2011-02-19 01:25:08 -08:00
sk89q
824e4c9381 Added /we version and /we reload. 2011-02-19 01:22:28 -08:00
sk89q
d5e8f037c9 Added simple smoothing brush. 2011-02-18 23:48:27 -08:00
sk89q
7f25262572 Renamed Brush to BrushTool, and BrushShape to Brush. 2011-02-18 23:36:08 -08:00
sk89q
498f3d9ef1 Added negated block type support. 2011-02-18 23:33:55 -08:00
sk89q
8680a9e6bd Added /size and /mat commands for the brush. 2011-02-18 23:33:43 -08:00
sk89q
0f46fb957f Added history size configuration option. 2011-02-18 21:57:43 -08:00
sk89q
5254986da2 Snapshot commands put under /snap and /snapshot commands. 2011-02-18 21:44:57 -08:00
sk89q
bc6ef48935 Added //outset and //inset commands. 2011-02-18 21:32:28 -08:00
sk89q
fd4b167ac7 Added -c flag to //distr to print to console. 2011-02-18 21:24:12 -08:00
sk89q
5642f95962 Added /undo and /redo as aliases. 2011-02-18 21:21:07 -08:00
sk89q
7088fadab8 Added multiple undo/redo, fixed compile error. 2011-02-18 21:19:54 -08:00
sk89q
abaeaa99ac Added some API methods. 2011-02-18 21:12:15 -08:00
sk89q
fed8960045 Added navigation wand to the tool bind item blacklist. 2011-02-18 20:59:39 -08:00
sk89q
7afe38180c //wand now gives the wand item directly. 2011-02-18 20:56:53 -08:00
sk89q
eff7dac690 Fixed issue with CommandContext breaking arguments with negative numbers. 2011-02-18 20:54:01 -08:00
sk89q
7d661844ad Improved messages for tools. 2011-02-18 20:50:40 -08:00
sk89q
1fe6f09066 Added /remove command to remove entities (paintings, items, minecarts, boats, arrows, and primed TNT). 2011-02-18 20:31:49 -08:00
sk89q
a6042e76f9 Expanded block/item list. 2011-02-18 17:46:26 -08:00
sk89q
21ca317d2c Improved parsing of block pattern/data syntax. 2011-02-18 16:24:56 -08:00
sk89q
e94c1d4874 Cleaned up documentation, added lacking Java annotations. 2011-02-18 15:49:50 -08:00
sk89q
e5a25496b2 Fixed warnings and deprecation warnings. 2011-02-18 15:31:09 -08:00
sk89q
28941b86ba Changed super pickaxe mode command to /sp. 2011-02-18 15:23:22 -08:00
sk89q
b311b0b88a Overhauled the tool system. All tools can now be bound to any held item so you can have multiple tools out a time. New masks framework allows making a filter of blocks to change. Brushes are now powerful as well. 2011-02-18 15:14:43 -08:00
sk89q
dfc7d074bd Fixed incorrect help messages for nested commands. 2011-02-18 00:09:07 -08:00
sk89q
ee4c1141c5 Removed obsolete files. 2011-02-17 22:54:02 -08:00
sk89q
e91c837949 Generalized commands handler so that other plugins (WorldGuard, CraftBook, etc.) can use it too. 2011-02-17 22:53:44 -08:00
sk89q
01f7be3ba3 Added nested command support. 2011-02-01 02:03:18 -08:00
sk89q
78c78fee1f Improved profiling messages. 2011-01-31 23:51:55 -08:00
sk89q
297fbd8bb9 Updated for Bukkit commit 8ccfad945663cd0ea60531b085748c81fc6fefb8. 2011-01-31 01:26:48 -08:00
sk89q
faf03079d6 Improved Bukkit performance drastically. 2011-01-31 01:16:49 -08:00
sk89q
f69184f9ab Added version information for SP. 2011-01-31 00:58:29 -08:00
sk89q
8a35c3230c Changed BukkitWorld in hopes that it will fix the error regarding ItemStack.getDamage(). 2011-01-30 23:43:53 -08:00
sk89q
2630226052 Improved overall performance by using EditSession.getBlockType() instead of EditSession.getBlock().getType(). 2011-01-30 23:42:18 -08:00
sk89q
88d7128135 Improved the speed (slightly?) of replaceNear and removeNear methods in EditSession. 2011-01-30 22:15:08 -08:00
sk89q
6979704661 Fixed /removenear not taking a default size argument. 2011-01-30 22:14:36 -08:00
sk89q
6b996435e3 Fixed /forestgen having an incorrect number of maximum arguments. 2011-01-30 22:09:24 -08:00
sk89q
c2cd87ed50 Changed FilenameNotFoundException to FilenameResolutionException. 2011-01-30 22:06:06 -08:00
sk89q
c6537a783d Revamped file dialog handling. 2011-01-30 21:32:52 -08:00
sk89q
888699cae0 Enabled queue on EditSessions given to scripts. 2011-01-30 20:41:34 -08:00
sk89q
d5173a8763 Unified file selection and checking API. 2011-01-30 20:40:22 -08:00
sk89q
2bc75dd5db Re-added Sun Rhino implementation. 2011-01-30 19:49:57 -08:00
sk89q
9fed59cf63 Added compiling information, removed dependency on internal Sun components. 2011-01-30 15:10:48 -08:00
sk89q
10b48e9344 Added more tree generators, removed CraftBukkit/MC dependency (yay!). 2011-01-30 14:54:42 -08:00
sk89q
f7fe72311b Added a clipboard pattern. 2011-01-30 01:01:11 -08:00
sk89q
a7b457c35c Added pattern support to //overlay. 2011-01-30 00:47:02 -08:00
sk89q
fa59eb29b5 Changed the arm swing tools to also work on right click. 2011-01-30 00:42:31 -08:00
sk89q
016a3ddd5b Fixed issue in CommandsManager printing usage incorrectly. 2011-01-30 00:35:46 -08:00
sk89q
11b00e1165 Added more brush shapes. 2011-01-30 00:34:13 -08:00
sk89q
5fb442c7c5 Added distance to //size. 2011-01-29 23:24:42 -08:00
sk89q
52cb2e0997 Added support for rotation block orientation with the rotate and flip commands. 2011-01-29 23:10:12 -08:00
sk89q
4455c9dcd9 Changed data cycler override and bedrock override permissions to worldedit.override.*. 2011-01-29 22:10:22 -08:00
sk89q
60442354d0 Added block data cycling super pickaxe tool. 2011-01-29 22:07:56 -08:00
sk89q
25f54a3d0c Added /searchitem or //l command to lookup items and block by name and ID. 2011-01-29 21:31:07 -08:00
sk89q
ec9c9885c9 Added debugging information for when no snapshots could be found. 2011-01-29 21:04:07 -08:00
sk89q
d9280358ad Fixed for recent Bukkit update. 2011-01-29 20:38:41 -08:00
sk89q
b0069f2548 Fixed DocumentationPrinter not print "/" for the wiki table. 2011-01-29 12:53:49 -08:00
sk89q
6434c04ce4 Fixed a bad plugin.yml. 2011-01-29 12:46:22 -08:00
sk89q
8dbd9645f9 Updated documentation printer program, updated plugin.yml. 2011-01-29 12:40:42 -08:00
sk89q
4bae254963 Merge branch 'master' of https://github.com/GuntherDW/worldedit 2011-01-29 12:09:32 -08:00
sk89q
df0b274014 Added better support for cake, added some more block/item aliases. 2011-01-29 12:08:16 -08:00
sk89q
3d98c7667d Added support for //stack [-a] to not stack air. 2011-01-29 12:03:50 -08:00
sk89q
aed274a1a5 Added //paste [-ao] syntax to paste without air and at origin. 2011-01-29 12:01:14 -08:00
sk89q
d202bc4739 Fixed arguments handling when flags are involved. 2011-01-29 12:00:36 -08:00
sk89q
a3fd9a18f7 Fixed /<script>.js shortcut. 2011-01-29 11:37:41 -08:00
sk89q
059f30808d Added command flag support, removed / prefix from command handling process. 2011-01-29 11:36:28 -08:00
sk89q
d1ff0250aa Added the ability to configure the schematic and CraftScript directories. 2011-01-29 10:14:04 -08:00
sk89q
cd298c3099 Fixed scripting.timeout setting taking no effect. 2011-01-29 09:50:28 -08:00
sk89q
b78d43d95c Added in a valid block ID check in EditSession.rawSetBlock(). 2011-01-29 09:49:17 -08:00
sk89q
a8c0b7c3d4 Added a program to list commands and their permissions for the wiki. 2011-01-29 09:47:37 -08:00
sk89q
56412e6f24 Fixed some permissions. 2011-01-29 09:47:19 -08:00
sk89q
712274d372 Fixed commands. 2011-01-29 09:31:48 -08:00
sk89q
f683959420 Added hierarchical permissions support to permission resolvers, improved Permissions support. 2011-01-29 09:01:21 -08:00
sk89q
02de4c8200 Moved commands into their own classes. 2011-01-29 02:05:22 -08:00
Gunther De Wachter
229d66c75b Small changes to fix some drops for the superpickaxe. 2011-01-28 13:24:32 +01:00
sk89q
67f344e1be Renamed some configuration settings in PropertiesConfiguration. 2011-01-27 10:54:34 -08:00
sk89q
06c25e2c88 Changed the sessions map to index by player name as a string. 2011-01-27 09:51:23 -08:00
sk89q
81c1b17f4c Added PropertiesConfiguration utility configuration loaded, fixed misspelling if logCommands variable in LocalConfiguration. 2011-01-27 09:07:50 -08:00
sk89q
4fa2b5bcb7 Fixed /script.js shortcut not stripping forward slashes. 2011-01-27 01:54:22 -08:00
sk89q
5d444d20a1 Added LocalConfiguration.getWorkingDirectory(). 2011-01-27 01:51:34 -08:00
sk89q
6b73ece378 Improved /info tool to handle more block data. 2011-01-26 12:42:14 -08:00
sk89q
14bcf2fa06 Now you can use /script.js directly as a command. 2011-01-26 12:38:51 -08:00
sk89q
4c2faf175b Changed /s to /.s to avoid conflicts. 2011-01-26 12:34:40 -08:00
sk89q
6a8dd9db4b Added wool as an alias for cloth. 2011-01-26 12:28:38 -08:00
sk89q
40a3a6fbe6 Added support for specifying color names instead of data values for cloth. 2011-01-26 12:28:08 -08:00
sk89q
5e01f50d93 Fixed /butcher. (I also added necessary methods to Bukkit.) 2011-01-26 12:04:53 -08:00
sk89q
26e72abc3e Improved algorithm for /thru. 2011-01-26 11:23:24 -08:00
sk89q
7dbb23051a Renamed WorldEditController to WorldEdit. 2011-01-26 10:53:26 -08:00
sk89q
fdb7c31aae Changed arm swing event to use arm swing; now compass right click toggles the compass mode between /jumpto and /thru. 2011-01-26 10:52:53 -08:00
sk89q
53d5a0c961 Fixed bad array bounds check in BukkitWorld.setContainerBlockContents(). 2011-01-23 10:48:31 -08:00
sk89q
dc8ea535d6 Fixed forest generator. 2011-01-23 10:15:57 -08:00
sk89q
ff2115ca31 Improved a few error messages. 2011-01-23 10:11:12 -08:00
sk89q
b10d6dcfa5 Added block data support to snapshots. 2011-01-23 10:09:48 -08:00
sk89q
56d69f9e77 Added /s to repeat last script. 2011-01-23 02:09:51 -08:00
sk89q
af1acd42b8 Fixed minor issues, moved some classes. 2011-01-23 02:03:49 -08:00
sk89q
360ae06d65 Added full block data support for Bukkit. 2011-01-23 00:36:26 -08:00
sk89q
3d1201df84 Returning true for the command hook for Bukkit. 2011-01-22 16:34:46 -08:00
sk89q
768ff9387c Improved scripting error messages. 2011-01-22 16:23:04 -08:00
sk89q
213f1e19f1 Improved scripting support. 2011-01-22 15:38:04 -08:00
sk89q
9e0bb0730c Improved scripting support. 2011-01-22 13:34:05 -08:00
sk89q
c9f8a8fe13 Moved scripting code around. 2011-01-22 10:53:53 -08:00
sk89q
12c230d153 Expanded block data whitelist. 2011-01-22 09:52:33 -08:00
sk89q
e0121cf88a Re-added scripting support. 2011-01-22 02:41:08 -08:00
sk89q
5b200092ba Moved WorldEdit to use Bukkit's command registration. 2011-01-21 18:24:38 -08:00
sk89q
9f25c1906d Change /reload WorldEdit to /reloadwe. 2011-01-21 18:01:42 -08:00
sk89q
b925855d77 Ops now have all permissions. 2011-01-21 18:00:29 -08:00
sk89q
1568c3f890 Fixed issue with BlockWorldVector causing java.lang.VerifyError due to how Bukkit loads plugins. 2011-01-21 17:59:12 -08:00
sk89q
ecb2942f1d Fixed default permissions with the built-in permission resolvers. 2011-01-21 17:53:27 -08:00
sk89q
01fa16aa54 Added support for Niji's permission system. 2011-01-21 17:35:10 -08:00
sk89q
bcb46d6b54 Added new flat file permissions resolver, added * support for ConfigurationPermissionsResolver. 2011-01-21 17:01:08 -08:00
sk89q
e2672e128c Fixed bad list to array conversion in ConfigurationPermissionsResolver. 2011-01-21 01:44:13 -08:00
sk89q
f05e31c8e9 Made sure that the player had the /jumpto permission in order to use the navigation wand. 2011-01-19 02:50:29 -08:00
sk89q
0a8dc5b47d Added new configuration to default config.yml. Changed navigation configuration variables for Bukkit. 2011-01-19 02:49:20 -08:00
sk89q
43f9acb690 Added the navigation wand. 2011-01-19 02:43:26 -08:00
sk89q
669a1911af Made super pickaxe arm swing and right click modes mutually exclusive. 2011-01-19 02:32:17 -08:00
sk89q
b7c620bc2f Fixed NullPointerExceptions in some super pickaxe modes, made arm swing handler get called on item usage. 2011-01-19 02:27:12 -08:00
sk89q
e9e6f894b3 Fixed NullPointerExceptions that appeared while saving a chest. 2011-01-19 02:05:20 -08:00
sk89q
724b81e901 Cleaned up WorldEditController. 2011-01-19 02:03:41 -08:00
sk89q
6f6a82d326 Ported block tracing code to WorldEdit. 2011-01-19 01:12:05 -08:00
sk89q
3e8b2edff9 Fixed block bags not being flushed in super pickaxe modes. 2011-01-17 21:26:18 -08:00
sk89q
e2edbcda23 Inventory support now works in Bukkit. 2011-01-17 21:11:39 -08:00
sk89q
3e912bf644 Now /jumpto and /thru works. 2011-01-17 21:05:05 -08:00
sk89q
dd15705cd6 Now prints an error message if permission is not available. 2011-01-17 20:43:30 -08:00
sk89q
a63ffc2fe4 Added support for cloth color with the super pickaxe drops. 2011-01-17 20:30:54 -08:00
sk89q
75c21623da Updated GroupUsers support to use official API. 2011-01-17 19:45:25 -08:00
sk89q
df836d285d Added pine tree tool. 2011-01-17 17:05:18 -08:00
sk89q
39914155b6 Added sign support for Bukkit. 2011-01-17 17:02:09 -08:00
sk89q
c3d56eefea Some cleanup of unused imports. 2011-01-17 16:56:30 -08:00
sk89q
8e8fa4c9d0 Made the PermissionsResolverManager catch Throwable just in case. 2011-01-17 16:49:06 -08:00
sk89q
7c24c7eadc Added GroupUsers support. 2011-01-17 16:47:38 -08:00
sk89q
d70a6e3de7 Removed hMod files, simplified configuration and usage. 2011-01-17 02:52:57 -08:00
sk89q
a86a96f2d0 Updated Vector to have getMin() and getMax(). 2011-01-17 00:37:23 -08:00
sk89q
84da5bc6f8 Fixed tree generators in Bukkit. 2011-01-16 13:44:41 -08:00
sk89q
bfa7ac6a48 Fixed incorrect loading of disallowed blocks list from the configuration. 2011-01-16 13:36:36 -08:00
sk89q
e6c101a307 Added permissions and configuration support. 2011-01-16 13:19:44 -08:00
sk89q
94b2b4713e Added com.sk89q.bukkit.migration.ConfigurationPermissionsResolver. 2011-01-16 12:51:35 -08:00
sk89q
80d7bbfa3c Updated item/block lists, added Bukkit API for other plugins, moved some things around. 2011-01-16 09:39:11 -08:00
sk89q
1397c1de4c /thru should now treat torches and such as pass-through blocks. 2011-01-12 08:59:02 -08:00
sk89q
1cadc5d7f6 /butcher should now kill animals again. 2011-01-12 08:56:49 -08:00
sk89q
bd770a5fac Fixed permissions checking for individual command. 2011-01-12 08:51:08 -08:00
sk89q
6390e1f180 Added the tree generator for CraftBukkit. Build process is now a bit difficult. 2011-01-11 10:21:26 -08:00
sk89q
8e4558a246 Updated Bukkit support. 2011-01-09 11:43:47 -08:00
sk89q
52edc2ec7e Added block bag support to the block replacer and sphere brush super pickaxe tools. 2011-01-09 11:23:57 -08:00
sk89q
2f411fa838 Made handling of non-right angles in getDirection() return more relevant errors. 2011-01-09 11:22:42 -08:00
sk89q
010a1c84fd Added sphere brush tool. 2011-01-09 11:14:55 -08:00
sk89q
0bbc4da594 Changed water to be considered a pass-through block. 2011-01-09 10:26:11 -08:00
sk89q
cdea296396 /tree now makes regular tree and /bigtree makes big trees. 2011-01-09 10:22:01 -08:00
sk89q
d997dbac2b Fixed HMPlayer.getSolidBlockTrace() and HMPlayer.getBlockTrace() returning null for the world. Changed LocalPlayer.findFreePosition() to take a WorldVector instead. 2011-01-09 09:25:24 -08:00
sk89q
98afdd7df6 Changed Bukkit listeners to cancel the event. 2011-01-08 13:11:03 -08:00
sk89q
a36ceecaab Removed the CLI program from WorldEdit. 2011-01-08 13:08:43 -08:00
sk89q
ab388eb2e8 Gave BukkitPlayer some colors for the messages. 2011-01-08 13:07:50 -08:00
sk89q
3a065c0edb Updated Bukkit support. 2011-01-08 13:03:18 -08:00
sk89q
d9ef073aef Merge branch 'master' into bukkit 2011-01-08 12:20:49 -08:00
sk89q
e57b89c0da Removed 'air' prefix from commands, made /worldeditselect permission more encompassing, and added syntax for //expand <amt> <reverse-amt> <direction> and //expand vert|vertical. 2011-01-08 12:14:55 -08:00
sk89q
7a2f1b58e2 Fixed the tree generator. 2011-01-08 11:41:22 -08:00
sk89q
d55fa96e3e Added /thaw. 2011-01-08 11:40:18 -08:00
sk89q
1767597672 Fixed WorldEdit not handling ice removal well. 2011-01-08 11:30:05 -08:00
sk89q
b26624bc9b Moved most methods of ServerInterface to LocalWorld. 2011-01-08 11:26:27 -08:00
sk89q
da4480ab49 Did some minor Vector optimization. 2011-01-08 10:59:06 -08:00
sk89q
2f71a32f64 Fixed inaccuracy with LocalPlayer.getBlockIn() and LocalPlayer.getBlockOn(). 2011-01-08 10:52:48 -08:00
sk89q
fea4be0161 Further fixed permissions. 2011-01-04 14:42:44 -08:00
sk89q
b8426317d9 Fixed permissions checking being completely erroneous. 2011-01-04 14:41:15 -08:00
sk89q
e8af1384d3 Fixed WorldEdit bridge. 2011-01-04 14:35:36 -08:00
sk89q
007d254978 Fixed BukkitPlayer not returning a LocalWorld. 2011-01-04 12:21:35 -08:00
sk89q
1917c94592 Merge branch 'master' into bukkit 2011-01-04 11:53:08 -08:00
sk89q
e8c1dba504 Fixed 'up' being recognized as west in some direction utilizing commands. 2011-01-03 12:11:58 -08:00
sk89q
e1939e0d4c Updated Bukkit plugin. 2011-01-03 12:05:41 -08:00
sk89q
0dfb88c41d Merge branch 'master' into bukkit 2011-01-02 17:09:11 -08:00
sk89q
96e848e880 Add a very rudimentary command line program that will check the integrity (a very basic integrity check) of a world. 2011-01-02 16:59:50 -08:00
sk89q
92fe984bfe Now bundling JNBT. 2011-01-01 23:16:16 -08:00
sk89q
b491457fb8 Implemented /repl tool that will replace a right clicked block with a block of your choice. 2011-01-01 22:02:26 -08:00
sk89q
1ed99f2337 Abstracted super pickaxe mode/tools and changed commands to /tree, /info, /none, /single, /area, and /recur. 2011-01-01 21:50:31 -08:00
sk89q
806081cc59 Fixed repeated comments in HMPlayer.java. 2011-01-01 10:35:26 -08:00
sk89q
d534432a2f Dropped WorldEdit prefix from session and player classes; changed them to "Local". 2011-01-01 10:34:36 -08:00
sk89q
ac4e6e8ddf Cleaned up some code, changed WorldEdit to be world-aware (finally). 2011-01-01 10:33:18 -08:00
angelsl
6d172891e2 Do it another way. I fail. 2011-01-01 22:20:32 +08:00
angelsl
6bc6b8bf5a Fix oversight. :) 2011-01-01 22:17:43 +08:00
sk89q
d0e4cc7454 Made the plugin at least load. 2010-12-31 19:28:28 -08:00
sk89q
ebf204cbc3 Initial commit. 2010-12-31 18:36:25 -08:00
sk89q
16761dfb5c Finished abstraction. 2010-12-31 17:40:07 -08:00
sk89q
ecce855db2 Initial abstraction. 2010-12-31 17:06:42 -08:00
sk89q
37140b0211 Fixed 'max-blocks-changed' not being loaded from configuration. 2010-12-31 15:01:30 -08:00
sk89q
78910b3a71 Simplified the max blocks change limit to be binary (either you have it or not). Also separated the 'max' limit and the 'default' limit in terms of configuration. 2010-12-31 14:49:49 -08:00
sk89q
80d2960020 Added the ability to use (require) inventory with operations. 2010-12-31 14:31:49 -08:00
sk89q
195c524c34 Made all commands support double forward slashes as the command prefix. 2010-12-31 01:45:00 -08:00
sk89q
24434e3e6f Fixed issue with chests failing to save to a schematic due to a NullPointerException. 2010-12-31 01:20:00 -08:00
sk89q
59afcce512 Worked around some ZIP-related bugs. 2010-12-31 01:18:08 -08:00
sk89q
98de15fb4e Overhauled chest handling for MC beta. Now handles item damage as well. 2010-12-30 21:19:23 -08:00
sk89q
78532c8668 Added no-double-slash option to disable the // and instead use /. 2010-12-30 00:10:59 -08:00
sk89q
7499a04e65 Worked around changes in hMod regarding chests. 2010-12-29 23:56:21 -08:00
sk89q
912468f8a1 Fixed Java warnings. 2010-12-29 23:15:53 -08:00
sk89q
d78e4f1218 Fixed incorrect item drops for the super pickaxe. 2010-12-25 21:00:39 -08:00
sk89q
e67d01cbb9 Improved version detection to be more reliable. 2010-12-25 20:52:56 -08:00
sk89q
25ac336c54 Fixed error caused by not specify a mob spawner type when using mob spawner blocks. 2010-12-25 20:49:28 -08:00
sk89q
8c2169f21c Updated WorldEdit for beta. 2010-12-25 20:41:25 -08:00
sk89q
c7af128320 Updated tree generator for 0.2.8. 2010-12-04 10:42:31 -08:00
sk89q
2e77753204 Fixed the history/queue array lists being iterated in the wrong direction. 2010-12-02 09:42:17 -08:00
sk89q
bb0aa3cb91 Updated WE for the new Minecraft update. 2010-11-30 20:14:01 -08:00
sk89q
4b8b77a6d5 Brought WE up to date with the newest hMod revision. 2010-11-28 14:11:15 -08:00
sk89q
2e3c3404d4 Blocks should now be fully removed correctly so that they don't drop items. 2010-11-26 23:24:55 -08:00
sk89q
d6d6624a04 /fixwater and /fixlava no longer cross solely diagonally connected pools. 2010-11-26 23:02:18 -08:00
sk89q
9e320dea6b //smooth should now no longer pull water upwards. 2010-11-26 22:46:44 -08:00
sk89q
95868514e0 Added //shift to shift the selection. 2010-11-26 22:25:55 -08:00
sk89q
3e2a1f5c33 Added //flip to flip clipboards. 2010-11-26 22:15:21 -08:00
sk89q
76d7a14016 Allowed the use of ; instead of | when specifying blocks. 2010-11-26 21:33:17 -08:00
sk89q
9ce9ed3657 Fixed error caused by not specifying a mob spawner type. 2010-11-26 21:29:27 -08:00
sk89q
255bea4416 Added item dropping to the super pickaxe. 2010-11-26 21:23:51 -08:00
sk89q
f103824ec1 Fixed missing symbol in WorldEditPlayer. 2010-11-26 20:44:48 -08:00
sk89q
9ff5c6375a Added permissions support for the tools. 2010-11-26 19:37:37 -08:00
sk89q
0ec0b42026 Added mob spawner support; added 'info' tool. 2010-11-26 19:33:28 -08:00
sk89q
efb4a7b52f ServerInterface.clearChest() now clears using Chest.clearContents(). 2010-11-26 09:39:23 -08:00
sk89q
67b46a9f27 Catch IOException now raised by PropertiesFile.load(). 2010-11-26 09:36:57 -08:00
sk89q
d942939336 Fixed compatibility with new server. 2010-11-25 02:10:40 -08:00
sk89q
a899b0c78d Fixed //pos2 and //hpos2 output messages. 2010-11-24 11:16:23 -08:00
sk89q
d5f5024127 Shortened output message for //smooth. 2010-11-24 11:15:50 -08:00
sk89q
d6151dee51 Merge branch 'master' of https://github.com/grum/worldedit 2010-11-24 11:02:46 -08:00
sk89q
fc95a2cd22 Updated for new server version 0.2.5. 2010-11-24 11:01:28 -08:00
sk89q
860de6b517 //distr now indicates the block IDs. 2010-11-24 10:41:10 -08:00
Erik Broes
e33291ef45 Fix some wrapped comments 2010-11-21 23:03:42 +01:00
Erik Broes
7acd006b2b Added //smooth 2010-11-21 22:58:05 +01:00
sk89q
fd5a7abb1c Added /butcher and mob killing to the super pickaxe. 2010-11-16 23:24:30 -08:00
sk89q
f810b18f07 Added //count and //distr. 2010-11-16 23:00:17 -08:00
sk89q
7f2391649e Offsets are now saved with .schematic files. 2010-11-16 22:34:18 -08:00
sk89q
cc9d639afb Expanded the filename filter for snapshot paths. 2010-11-16 22:31:04 -08:00
sk89q
bd87bd76a5 Added filename allowable characters filter to //load and //save (about time!). 2010-11-16 22:29:13 -08:00
sk89q
4a169216d8 Fixed WorldEditPlayer.findFreePosition() (/unstuck) moving players up when the player was not stuck. 2010-11-16 22:17:50 -08:00
sk89q
2068f40cd8 Switched history's hash maps to double array lists; operations 18x faster. 2010-11-16 22:05:45 -08:00
sk89q
6945ddd258 Changed WorldEdit to not set block data for blocks that don't require it. 2010-11-16 20:39:48 -08:00
sk89q
780ccd37ec Added recursive fill. 2010-11-16 20:03:54 -08:00
sk89q
06d87a84cc Added pattern support to //replace and //fill. 2010-11-16 14:07:52 -08:00
sk89q
ff7df41823 Made the selection commands spit out the region size. 2010-11-16 01:01:37 -08:00
sk89q
767c7de163 Somewhat improved the bad backup error message. 2010-11-16 00:40:19 -08:00
sk89q
a8972e9f04 Added adjustable wand item. 2010-11-16 00:19:03 -08:00
sk89q
c6033a7e1c Chests are now empty when removed (so they longer drop their items). Profile debugging mode added that prints how long an operation took. 2010-11-16 00:15:06 -08:00
sk89q
6b368a38a2 Updated for server v0.2.4. Thanks to ricin for testing an independent fix. 2010-11-10 15:56:29 -08:00
sk89q
b0330aa83c Fixed /jumpto and the help for //expand and //contract. 2010-11-10 01:54:07 -08:00
sk89q
586ae69467 Fixed /listsnapshots and //restore not working. 2010-11-10 01:43:18 -08:00
sk89q
f2e7801545 Added an argument to /listsnapshots to show a larger list and added an argument to //restore to select a snapshot when restoring. 2010-11-09 01:52:15 -08:00
sk89q
1e21124acd Fixed the super pickaxe not working with bedrock and the recursive super pickaxe not working properly. 2010-11-09 01:48:22 -08:00
sk89q
2d864355c6 Removed period at the end of the version message for consistency reasons. 2010-11-06 23:32:03 -07:00
sk89q
e1c1b2f134 Added help message to //load saying to use //paste. 2010-11-06 23:18:26 -07:00
sk89q
e534a7a50e Added tool mode (and tree playing tool). 2010-11-06 23:17:32 -07:00
sk89q
3908a2d0eb Added area and recursive super pickaxe modes. 2010-11-06 23:03:35 -07:00
sk89q
7585cccccb Added pasting at origin and saving origin to the .schematic. 2010-11-06 22:23:43 -07:00
sk89q
162fd11d40 Added //chunk to select a chunk. 2010-11-06 22:10:09 -07:00
sk89q
19f7456c51 Fixed bug with //replace causing a NullPointerException. 2010-11-06 22:07:16 -07:00
sk89q
a20ecc0887 Added /replacenear. 2010-11-06 21:54:03 -07:00
sk89q
835a8ee617 Updated /ascend, /descend, and /unstuck to detect pass-through blocks better. 2010-11-06 21:50:05 -07:00
sk89q
363372b160 Added /up. 2010-11-06 21:47:50 -07:00
sk89q
bf04191c5c Pumpkin patch generator no longer drops a log block. 2010-11-06 21:29:41 -07:00
sk89q
06f9284df1 Added /snow. 2010-11-06 21:26:52 -07:00
sk89q
b609114a8a Changed /forestgen to use Notch's tree generation code and made /pinegen to use the old generator. Both commands now support a density argument. 2010-11-06 21:03:34 -07:00
sk89q
57906fba32 Improved speed of functions that iterated over a cuboid by 20-40%. 2010-11-06 15:09:32 -07:00
sk89q
491f63b196 Fixed unsafe operation in ServerInterface. 2010-11-06 14:46:00 -07:00
sk89q
93ac198d80 Removed debug message in GroupRestrictionsManager.java. 2010-11-06 14:45:02 -07:00
sk89q
b27b6add93 Added support for random block placement with //set. Made //set faster. 2010-11-06 14:43:56 -07:00
sk89q
e2731bf834 Commands now also use hMod to resolve block names into block IDs. 2010-11-06 09:45:36 -07:00
sk89q
01340152e3 Added support for replacing a list of blocks with one block with //replace. 2010-11-06 09:35:05 -07:00
sk89q
cd16ca3abb Added register-help configuration to disable registering WorldEdit's commands with hMod's help system. 2010-11-06 01:32:36 -07:00
sk89q
7106783581 /ascend, /descend, and /unstuck clamp initial Y to >= 0 now. 2010-11-06 01:28:45 -07:00
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