Commit Graph

473 Commits

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