Commit Graph

279 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
912468f8a1 Fixed Java warnings. 2010-12-29 23:15:53 -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
2e3c3404d4 Blocks should now be fully removed correctly so that they don't drop items. 2010-11-26 23:24:55 -08:00
sk89q
0ec0b42026 Added mob spawner support; added 'info' tool. 2010-11-26 19:33:28 -08:00
Erik Broes
7acd006b2b Added //smooth 2010-11-21 22:58:05 +01:00
sk89q
f810b18f07 Added //count and //distr. 2010-11-16 23:00:17 -08:00
sk89q
cc9d639afb Expanded the filename filter for snapshot paths. 2010-11-16 22:31:04 -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
363372b160 Added /up. 2010-11-06 21:47:50 -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
01340152e3 Added support for replacing a list of blocks with one block with //replace. 2010-11-06 09:35:05 -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
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
767c445f4c Improved the prioritized block spawn list by adding more block types. 2010-11-04 23:29:38 -07:00
sk89q
e81ffc2ad5 Updated WorldEdit for the new block types. 2010-10-30 19:40:36 -07:00
sk89q
6173c6c78e Added /listchunks and /delchunks. 2010-10-28 10:27:30 -07:00
sk89q
cca5f157f4 Clamped Y for //expand and //contract operations. 2010-10-25 01:07:10 -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
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
a34f977b94 Added //move and //moveair. 2010-10-18 13:51:43 -07:00
sk89q
3ad6577be6 Changed //cyl and //hcyl to respect boundaries. 2010-10-17 17:39:20 -07:00
sk89q
aa63f886ec Fixed floating point inaccuracy error with getBlock#(), fixed //rotate. 2010-10-17 15:17:24 -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
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
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
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
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
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
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
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
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
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
c55799567a Added some JavaDoc/minor cleanup. 2010-10-03 12:43:30 -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
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