Commit Graph

92 Commits

Author SHA1 Message Date
TomyLobo
05404b005d Added a //help command. 2011-12-13 09:43:39 +01:00
zml2008
98216e2762 Added support for non-128 worldheights 2011-12-13 04:50:53 +01:00
TomyLobo
f5c6678da6 Added an extending cuboid selector.
It can be used with //sel extend.
Also made //sel carry over some information about the selection into the new selection mode.
Also cleaned up the source of the RegionSelectors and the //sel command a bit.
2011-12-12 05:27:33 +01:00
TomyLobo
2e1087a49a Added a //hollow command, which hollows out the object contained in the selection. 2011-12-08 11:54:49 +01:00
TomyLobo
d69863db59 Fixed unimportant typos. 2011-12-06 13:59:41 +01:00
TomyLobo
c21c380bba Added a -a flag to /butcher to kill animals. Its now disabled by default. 2011-12-06 07:10:15 +01:00
TomyLobo
bc3a4377ec The /butcher command no longer kills NPCs, except when the -n flag is passed.
Also:
- Moved some code from BukkitWorld to LocalWorld.
- Replaced the "boolean killPets" argument by an "int flags" to provide extensibility
- Made the radius argument a double
- Basically rewrote the entire function
- Deprecated all old versions of killMobs
2011-12-06 06:50:11 +01:00
TomyLobo
4c9e0a629f Added help text for most commands that take flags.
//generate, //regen, //deform, //[h]cyl, //[h]sphere, //chunk, //outset, //inset, //stack, //move, //smooth, //paste, //flip, /search //distr /butcher, //brush sphere/cyl/clipboard/smooth
Only //replace and /replacenear are still missing.
2011-12-06 06:50:10 +01:00
TomyLobo
258bdc11b0 Fixed //stack -s only shifting by 1 block, regardless of the selection size. 2011-12-05 23:23:52 +01:00
TomyLobo
274ecaadf2 Changed a usage string. 2011-12-05 23:23:51 +01:00
TomyLobo
259003d030 Corrected a command description. 2011-12-05 08:56:49 +01:00
TomyLobo
5d59dd764e Changed getSafe*File to accept varargs instead of arrays. 2011-11-27 05:29:49 +01:00
TomyLobo
7e13b60a51 Cleanup 2011-11-23 04:48:40 +01:00
zml2008
256897f473 Added seperate permissions for jumpto/thru commands and tools 2011-11-11 15:39:42 -08:00
zml2008
04803de8b1 Fixed some NPE's for block types not in BlockType. 2011-11-02 22:51:48 -07:00
TomyLobo
ff03d03fd7 Cleanup 2011-11-02 03:41:22 +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
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
6b0f237a46 Removed extra fastLighting flag.
Fast lighting is now used when available.
2011-10-31 03:28:05 +01: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
699807665d Cleanup 2011-10-29 11:57:45 -04: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
f6f08da620 Cleanup 2011-10-27 19:29:02 +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
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
ef88c04550 Gave //fast an on|off parameter and adjusted its message to reflect a future change. 2011-10-24 04:33:19 +02:00
Meaglin
b17fb7eaa3 Adding /snapshot sel [index] to select a snapshot by list index. 2011-10-02 00:10:27 -04:00
Wizjany
868fef813f Changed pyramid command usage 2011-09-26 01:43:39 -04:00
Wizjany
b5b55a2775 Cleanup and a few bugfixes 2011-09-24 15:24:10 -04: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
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
709cae1995 Removed permissions from plugin.yml for compatibility and cleaned up a bit more. 2011-09-18 02:37:37 -04: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
Wizjany
1c4c621500 Cleanup. 2011-09-17 19:32:44 -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
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
3205904003 //copy and //paste now respect /toggleplace. 2011-09-02 21:03:22 +02:00
zml2008
02d8acfa81 Alowed performing undos from other player sessions, if they exist. 2011-08-29 14:24:46 -07:00
zml2008
1562f17540 Added block damage support to //replace and //replacenear 2011-08-29 00:08:06 -07: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
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
d12bff993b Added //-prefixed aliases for most /-prefixed commands 2011-08-21 22:35:27 +02:00