Commit graph

425 Commits

Autor SHA1 Nachricht Datum
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