Commit Graph

1093 Commits

Author SHA1 Message Date
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
sk89q
ebb25ff41c Now using com.sk89q.worldedit.blocks.BlockType for block type queries. rawSetBlock() now handles changes in block data. WorldEdit.getBlock() now supports specifying data and sign text. 2010-10-15 00:22:03 -07:00
sk89q
47efbb6b18 Fixed a typo in the help of /descend. 2010-10-14 23:40:28 -07:00
sk89q
fcf02df4dc Added /editcut. 2010-10-14 23:39:07 -07:00
sk89q
9dc324f00a Fill routine is now no longer dependent on the state of a block as reported by the server (infinite recursion fixed on non-block items). 2010-10-14 12:06:32 -07:00
sk89q
92dc88562c Renamed hey0's plugin to SMWorldEdit. Made WorldEdit somewhat a singleton to hold the ServerInterface instance. 2010-10-14 11:59:45 -07:00
sk89q
5f1a014bfb Added /toggleplace which lets you perform actions that require one point to use position #1 rather than your feet. 2010-10-14 02:14:18 -07:00
sk89q
9739336730 Changed super axe command to /,. 2010-10-14 02:01:10 -07:00
sk89q
98d1a0be05 Fixed the order of the tool checking code you can now use edit wand again. 2010-10-14 01:43:20 -07:00
sk89q
3bf7c08ad6 Added support for block data and sign texts. Decoupled more code from the server modification. 2010-10-14 01:31:05 -07:00
sk89q
d1eca7c429 Changed everything to use BaseBlock, which supports block data and soon some tile entity data. 2010-10-13 16:49:35 -07:00
sk89q
23b24b3615 Added super pick axe and /.. 2010-10-13 11:26:07 -07:00
sk89q
598f4aa6cd Changed the clipboard so it doesn't store min/max anymore, just origin and offset. Added /editrotate. 2010-10-13 10:08:53 -07:00
sk89q
bd9a90f01d Re-implemented /forestgen in Java. This version does not replace existing blocks. Undo system fixed. 2010-10-12 22:38:05 -07:00
sk89q
a5ac9514ab Added /toggleeditwand, removed unused tool click stuff. 2010-10-12 22:10:17 -07:00
sk89q
514a78272e Added /ascend and /descend. 2010-10-12 22:06:46 -07:00
sk89q
87daf8e7ed Fixed help for /editstack(air). 2010-10-12 21:43:01 -07:00
sk89q
6ab19fd52d Added /editexpand and /editcontract. 2010-10-12 21:41:06 -07:00
sk89q
68dcce31f8 Removed Point/BlockPoint to Vector/BlockVector. 2010-10-12 18:03:56 -07:00
sk89q
c039e8e77d Updated to v115 with PluginListener. WorldEdit decoupled from plugin. 2010-10-12 13:51:25 -07:00
sk89q
aea64916e3 Removed scripting support. 2010-10-11 13:27:37 -07:00
sk89q
2f2ff86bac Converted /editdrain to use own stack. 2010-10-11 11:30:11 -07:00
sk89q
6882aa416d Switched undo/redo buffer to use BlockPoint. Added Point.toBlockPoint(). 2010-10-11 11:21:43 -07:00
sk89q
f64cc76906 Added /editdrain, added BlockPoint that compares using ints. 2010-10-11 11:17:32 -07:00
sk89q
7823aa2a6c Added Javadocs for EditSession.stackCuboidRegion() 2010-10-11 10:27:18 -07:00
sk89q
0044ddf48b Removed Apache commons dependency. 2010-10-11 09:44:22 -07:00
sk89q
10703082ed Cleaned up Javadoc comments. 2010-10-11 08:56:19 -07:00
sk89q
eb70ac391a Fixed the help for /editstack and /editstackair. 2010-10-11 01:29:51 -07:00
sk89q
204cfc1452 Major cleanup and refactoring. Non-cuboid regions now technically supported; players now abstracted through WorldEditPlayer; use of Point across the board; command cleanup. 2010-10-11 01:22:47 -07:00
sk89q
ce4b2810ff Added /lift. 2010-10-08 20:53:03 -07:00
sk89q
633be176eb Removed /editcyl (not finished). 2010-10-05 21:52:47 -07:00
sk89q
532c4de8cc Added /editwand. 2010-10-05 21:16:55 -07:00
sk89q
c59d77e138 Fixed /editstack(air), fixed getLength()/getHeight() of WorldEditSession. 2010-10-05 21:08:52 -07:00
sk89q
35f46473de Fixed arguments with /removeabove and /removebelow. 2010-10-05 20:28:43 -07:00
sk89q
02ef9610be Added /removebelow and added a height parameter to /removeabove. 2010-10-05 17:02:33 -07:00
sk89q
ba828c1a3a Added untested /editstack and /editstackair commands to stack the region towards a direction. 2010-10-05 13:46:54 -07:00
sk89q
05524be2d2 Made static Logger static final. 2010-10-05 13:07:39 -07:00
sk89q
f896acc662 On paste, you will now be placed on top of the paste if you ended up inside some blocks. 2010-10-05 01:43:23 -07:00
sk89q
a61c62f46d Implemented block smart queuing that allows certain block types that require a block under them to exist to work now. For example, torches are only created at the end. 2010-10-05 00:40:50 -07:00
sk89q
c0a9d0d551 Improved the quality of the command-related messages and renamed /setchangelimit to /editlimit. 2010-10-04 23:08:08 -07:00
sk89q
87780f0a78 etc.getDataSource() is now static; updated. 2010-10-04 22:44:55 -07:00
sk89q
48aeb58bbb Updated the .schematic save routine to also create directories as required. 2010-10-04 17:04:28 -07:00
sk89q
414c3cf33d Added short overflow check for schematic saving. 2010-10-04 17:00:54 -07:00
sk89q
713f23d0de Reorganized code, made exceptions inherit from WorldEditException, added /setchangelimit. 2010-10-04 16:39:35 -07:00
sk89q
1f7b39b8e3 Updated for b104. 2010-10-03 17:57:41 -07:00
sk89q
c0e78bebf4 Fixed a bug where Point was not returning accurate results with .equals(), breaking undo code. Temporarily using org.apache.commons.lang3.builder.EqualsBuilder to fix the problem. 2010-10-03 17:29:17 -07:00
sk89q
a620ca9efe Added /editoutline. 2010-10-03 17:04:06 -07:00
sk89q
bb06f9daed Added region selection with a wooden axe (#271); 2010-10-03 16:45:54 -07:00
sk89q
fc2a827c07 Added maximum script execution time of 3 seconds. 2010-10-03 16:12:29 -07:00
sk89q
ddfb7f21be Added direct script->command mapping support; fixed some comments in exception files. 2010-10-03 13:23:43 -07:00
sk89q
33fb2abb54 Added teleport functions to the player interface for scripts; renamed some script-related classes. 2010-10-03 13:09:59 -07:00
sk89q
c55799567a Added some JavaDoc/minor cleanup. 2010-10-03 12:43:30 -07:00
sk89q
5507f0ae98 Made /clearclipboard function. 2010-10-03 12:37:32 -07:00
sk89q
4eb40b039f Minor cleanup of code. 2010-10-03 12:16:09 -07:00
sk89q
81753ee979 Added .schematic loading/saving; fixed issue with pasting not pasting entire region. 2010-10-03 10:44:52 -07:00
sk89q
b3eb1fc548 Gave /editreplace the ability to discriminate on block type to replace. Corrected arguments help for /editscript. 2010-10-02 16:44:20 -07:00
sk89q
2b0d73621a Allowed blocks list can now be adjusted in worldedit.properties. 2010-10-02 16:28:02 -07:00
sk89q
d1a807f25f Added lower bounds clamping to some of the arguments. 2010-10-02 16:15:10 -07:00
sk89q
c70a7914da Added /clearhistory and /clearclipboard. 2010-10-02 16:13:52 -07:00
sk89q
4c7e14a76b Added basic copy/paste functions. 2010-10-02 16:11:44 -07:00
sk89q
8e2c6ece61 Updated com.sk89q.worldedit.Point to use generics. 2010-10-02 15:12:45 -07:00
sk89q
7387e36016 Added basic undo/redo functionality with a history size of 15. 2010-10-02 14:52:42 -07:00
sk89q
6364ba720b Moved exceptions to package com.sk89q.worldedit to prevent potential collision. 2010-10-02 13:46:33 -07:00
sk89q
6eaf5895e4 Hard-coded a list of items that can be used for WorldEdit. 2010-10-02 01:36:33 -07:00
sk89q
c8054b95fe Added preliminary JavaScript scripting support. Currently it can be used to do routines such as forest creation but it cannot make hooks or do anything fancy. 2010-10-02 01:21:48 -07:00
sk89q
2e31c2aaf0 Updated WorldEdit for build 100; made regions no longer shared and fixed the missing authorization check. 2010-09-29 23:41:05 -07:00
sk89q
83fea4d00c Initial commit. 2010-09-28 01:12:34 -07:00