Commit graph

525 Commits

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