Commit Graph

591 Commits

Author SHA1 Message Date
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