Commit Graph

6768 Commits

Author SHA1 Message Date
Albert Pham
04c31262f7 Added a new command dispatcher that injects different parameters dynamically.
This reduces the boilerplate code needed to parse arguments in each command, and reduces the need to maintain command documentation with @Command.

Example:

@Command(aliases = "/set", desc = "Set all the blocks inside the selection to a block")
@CommandPermissions("worldedit.region.set")
@Logging(REGION)
void setBlocks(LocalPlayer player, EditSession editSession, @Selection Region region, Pattern replaceWith) {
    // Perform command
}
2013-06-18 14:50:46 -07:00
Lucas Tan
80536d85ca Update Minecraft Forge compatibility for 1.5.2. 2013-06-10 17:02:41 -04:00
me4502
70ccac620f Use equalsIgnoreCase to check for perm plugins, and check for GroupManager
Using equalsIgnoreCase fixes a few weird issues with bPerms, and adding GroupManager fixes a metric tonne of issues with GroupManager.. Like it being randomly disabled, it not working, etc.
2013-06-10 17:02:30 -04:00
wizjany
5895b492da Horrible 0-day fix. Super important to upgrade.
Actually just a typo.
2013-06-03 16:54:14 -04:00
wizjany
fb96ced3bf Add coordinate argument to //chunk command. 2013-06-03 15:55:17 -04:00
Albert Pham
10c43a9c9f Made McRegionReader.getChunkInputStream() throw a DataException instead of returning a null when an ungenerated chunk is encountered. 2013-06-02 12:14:56 -07:00
TomyLobo
321e2246fc Added some comments to BlockDataTest.testCycle. 2013-05-24 02:03:08 +03:00
Trevor Wilson
7c98cc0e01 Made CommandManager registration with parent public so hooks can be made to existing commands 2013-05-19 02:32:06 -05:00
wizjany
ca06489e11 Don't spam chat when a different type of vector is given to the Selector. 2013-05-16 02:02:09 -04:00
wizjany
94dbfa3b85 Be less lazy handling MobSpawnerBlock tags. (Although once again, no one should actually being using this class.) 2013-05-12 13:23:31 -04:00
wizjany
77a2b998bd Fix link to issue tracker in readme 2013-05-05 11:06:16 -04:00
wizjany
f22403cae7 [maven-release-plugin] prepare for next development iteration 2013-05-03 12:10:25 -04:00
wizjany
19abcf6c93 [maven-release-plugin] prepare release 5.5.6 2013-05-03 12:10:17 -04:00
wizjany
19566370d6 Updated CHANGELOG for 5.5.6 2013-05-03 12:07:30 -04:00
wizjany
fad30ff23b Update for CraftBukkit 1.5.2 package. 2013-04-30 20:54:59 -04:00
wizjany
f213bb73e8 Added pistons (retracted only) to cycler tool. 2013-04-18 16:56:09 -04:00
wizjany
102a149dbb Fix setbiome issue and tweak a few block names. 2013-04-09 17:17:15 -04:00
wizjany
e7ae3b4ddf Fix setting blocks that used multiple TileEntities on one block id.
Since forge added support for this feature, we need to double-pass
on setting block data values to preserve both TileEntity type and
block orientations.
Users using MCPC may need to remove their old MCPC nmsblock class
before the new one is used correctly. (Although it was only added
in a dev build)
2013-03-30 15:50:21 -04:00
wizjany
2846119f08 Make //setbiome respect global mask, if set to a biome mask 2013-03-28 19:53:42 -04:00
wizjany
e7d55ca87d Add compatibility for MCPC-Plus 1.5.1 2013-03-26 11:55:10 -04:00
wizjany
51515473bc Allow remove command to be used from console 2013-03-26 00:56:42 -04:00
wizjany
0e8508847e Added hoppers to block data info 2013-03-25 10:24:18 -04:00
wizjany
382b6f35ad Update changelog with trivial stuff. 2013-03-20 18:02:58 -04:00
wizjany
9d7eb0fd8c [maven-release-plugin] prepare for next development iteration 2013-03-20 17:47:04 -04:00
wizjany
a3fd75c3e7 [maven-release-plugin] prepare release 5.5.5 2013-03-20 17:46:56 -04:00
wizjany
58a7a2ed4f Prepare for MC 1.5.1 (specifically, Bukkit renames). 2013-03-20 17:40:22 -04:00
wizjany
422cba101d Fix NPE in mob spawner blocks on non-bukkit implementations 2013-03-17 22:11:29 -04:00
wizjany
2e8119bdb1 [maven-release-plugin] prepare for next development iteration 2013-03-17 21:41:17 -04:00
wizjany
90011cc430 [maven-release-plugin] prepare release 5.5.4 2013-03-17 21:41:09 -04:00
wizjany
1af61f827b Fix block setting while not in fast mode 2013-03-17 21:38:13 -04:00
wizjany
be320f60e1 Fix line endings (again) 2013-03-17 11:19:34 -04:00
wizjany
5e881ff022 [maven-release-plugin] prepare for next development iteration 2013-03-17 11:17:46 -04:00
wizjany
84d78ff334 [maven-release-plugin] prepare release 5.5.3 2013-03-17 11:17:41 -04:00
sk89q
9139775c52 Updated changelog for 5.5.3. 2013-03-17 11:12:44 -04:00
wizjany
83d5e2fd22 Fix block rotations 2013-03-17 11:11:41 -04:00
wizjany
6c35d20306 Use correct method and mask to set blocks. 2013-03-16 17:15:00 -04:00
wizjany
0d52d22bd8 Fix for minecart naming 2013-03-16 12:23:22 -04:00
sk89q
9ac04f8cfe Cleaned up pom.xml, added attach-docs profile to separately generate Javadocs/source jars. 2013-03-16 00:42:56 -07:00
wizjany
3eb821ffed Added names for new items 2013-03-16 02:18:07 -04:00
wizjany
c042f7829a Fixed equalsFuzzy returning true when it shouldn't 2013-03-15 22:25:57 -04:00
wizjany
b3392986be Fix line endings 2013-03-15 16:00:14 -04:00
wizjany
d90a2aa2f6 [maven-release-plugin] prepare for next development iteration 2013-03-15 15:47:31 -04:00
wizjany
f3b608e211 [maven-release-plugin] prepare release 5.5.2 2013-03-15 15:47:26 -04:00
wizjany
e1fac30e62 Updated changelog for 5.5.2 2013-03-15 15:38:02 -04:00
wizjany
db9808cfd1 Update nmsblock classes for 1.5 2013-03-15 15:10:23 -04:00
Wizjany
94ef1591e8 Update for MC 1.5 2013-03-14 21:03:14 -04:00
kgamecarter
ca1cecbdf4 Fix //flip using incorrect block directions. 2013-03-14 19:29:28 -04:00
Albert Pham
184d02d2e3 Updated BukkitWorld NMS fields to be static.
This prevents attempts at loading the proper NMS compatibility classes from occurring more than once.
2013-03-12 18:05:14 -07:00
wizjany
6f8b80ae37 More lasting fix for Spout constantly causing issues. (This is not the first time this has happened). 2013-03-12 19:15:24 -04:00
Albert Pham
33d0d7cd6c Fixed WORLDEDIT-2717, max-blocks-changed . maximum overriden by default
min(default_limit, max_limit) meant that the max limit was really default_limit when the default was less than the max
2013-03-12 14:07:25 -07:00