Commit Graph

  • 67918f171b Internal restructuring of CommandContext TomyLobo 2011-09-20 02:35:15 +0200
  • 2d86b1b40d Fixed and cleaned up CommandContext. TomyLobo 2011-09-19 23:01:57 +0200
  • c78e8a10d7 Made shouldNotStack use a HashSet instead of a bunch of or'ed comparisons. TomyLobo 2011-09-19 09:13:51 +0200
  • a4618fa3c0 It just a test case but meh... TomyLobo 2011-09-19 09:08:10 +0200
  • c1f1e29617 Replace ItemType.X.getID() with ItemID.X everywhere. TomyLobo 2011-09-19 08:38:30 +0200
  • 16a4e5ccb3 Added/fixed some copyright notices. TomyLobo 2011-09-19 08:24:21 +0200
  • 088001f099 Used ItemID in ItemType TomyLobo 2011-09-19 08:04:57 +0200
  • 51d4b572cb De-craftbooked some copyright notices. TomyLobo 2011-09-19 07:43:49 +0200
  • 5b5c25f1ae Added an ItemID class, containing all the item IDs. TomyLobo 2011-09-19 07:39:28 +0200
  • 88b4f4de18 Cleanup. TomyLobo 2011-09-19 07:14:43 +0200
  • 43809a705d More BlockType cleanup Wizjany 2011-09-19 00:41:33 -0400
  • b413af307a Updated plugin.yml (not that it needs it). Wizjany 2011-09-19 00:09:45 -0400
  • 67a7969cd1 Added a tool that allows a player to place and remove blocks at a distance. Wizjany 2011-09-18 21:49:45 -0400
  • 1a6bc6f42c Fixed AIOOBE and a missing return, removed an unused and ambiguous method from CommandContext. Wizjany 2011-09-18 18:51:03 -0400
  • dd358bc982 Made floating tree remover work on mushrooms Wizjany 2011-09-18 02:37:11 -0400
  • 709cae1995 Removed permissions from plugin.yml for compatibility and cleaned up a bit more. Wizjany 2011-09-18 01:29:12 -0400
  • 3f369f104a Abstracted type detection of simulateBlockMine into BlockType. zml2008 2011-09-17 21:52:12 -0700
  • a1cf6eb6da Allow //replace to ignore from block damage values (and force them to not be ignored with the -f flag) zml2008 2011-09-17 21:50:06 -0700
  • 56fd654eed Fixed bug with unclosed quotes zml2008 2011-09-17 21:10:39 -0700
  • 46ba1c7f5b Added mob type enum and subsequently removed case sensitivity from //set with mobspawners. md-5 2011-09-06 18:06:17 +1000
  • 1c4c621500 Cleanup. Wizjany 2011-09-17 18:57:34 -0400
  • f7c5782fa9 Added data support for silverfish blocks. Wizjany 2011-09-17 14:11:59 -0400
  • ece3934994 Abstracted cycler tool methods to BlockData and optimized them slightly, as well as adding support for many new blocks. Wizjany 2011-09-17 01:34:55 -0400
  • b10498b9c7 Added 'xp' as a parameter of the /remove command to remove experience orbs. Wizjany 2011-09-17 01:33:42 -0400
  • d6ed17dd9d Made some variables final. TomyLobo 2011-09-16 05:48:09 +0200
  • 633145d796 Adjusted some BlockType flags. TomyLobo 2011-09-16 05:46:07 +0200
  • 7798319896 Optimized all of the public static boolean BlockType.*(int id) functions by using HashSets and put the blockDrops HashMap next to the getDroppedBlock function. TomyLobo 2011-09-16 04:25:20 +0200
  • f0308efdd0 Made the static initializer for BlockType.blockDrops refer to the BlockID constants instead of having the literal IDs. TomyLobo 2011-09-16 03:32:58 +0200
  • 19eedecdaf Re-re-introduced a small optimization in the flag parser. TomyLobo 2011-09-16 02:16:11 +0200
  • 9371202a12 Cleanup BlockType and added a missing block Wizjany 2011-09-14 20:25:22 -0400
  • afa8e873e9 Reverted block id checking in BukkitWorld to prevent false positives and made LoclWorld use the internal list for easier updates Wizjany 2011-09-14 19:19:19 -0400
  • bd52ed5c33 Fixed plugin.yml for dumb people zml2008 2011-09-14 18:14:42 -0700
  • 75e843b965 Some small improvements to value flags, and a unit test. zml2008 2011-09-14 17:58:22 -0700
  • 6cdfd86f0b CommandContext: - Adjusted comment of CommandContext(String[] args, Set<Character> valueFlags) to reflect the actual semantics - Optimized several parts of the parser (still not happy with the frequent reallocations inside removePortionOfArray) - Someone (unintentionally?) forgot to break if a non-flag argument was found. If this was indeed intended behaviour, just change the "break;" in line 83 to "continue;". - Reduced the number of nested control structures a bit. TomyLobo 2011-09-14 18:36:10 +0200
  • cb927d17e1 Fixed a warning. TomyLobo 2011-09-14 18:33:07 +0200
  • 6f43c6a312 Updated for 1.8 blocks and items zml2008 2011-09-13 22:45:47 -0700
  • 2f390e9938 Added multiword args and some improvements to value flags. zml2008 2011-09-13 22:41:19 -0700
  • c38a6b0677 Bug fixes zml2008 2011-09-09 15:10:25 -0700
  • 6b3f19f857 Minor cleanup of WEPIF constructors zml2008 2011-09-07 17:56:23 -0700
  • 703131107d Fix dinnerperms wildcard matching & group enumeration. ZerothAngel 2011-09-04 16:21:49 -0700
  • 6f1d263e16 Added getting of the Bukkit player to BukkitPlayer (for RegionBook) zml2008 2011-09-04 19:00:32 -0700
  • 3bcd9a932b Replaced lots of else if constructs by switch/case and other simpler constructs. TomyLobo 2011-09-05 03:53:39 +0200
  • 9ea977af77 Fixed some warnings. TomyLobo 2011-09-04 23:20:03 +0200
  • bb2f8bb350 Cleaned up WorldEdit.getFlipDirection. TomyLobo 2011-09-04 23:18:37 +0200
  • e4cd6c23b6 Fixed odd-lengthed clipboards double flipping in the center as per anon's commit(s). Wizjany 2011-09-03 20:25:20 -0400
  • 4c00a24c1d Abstracted all block IDs to BlockID and item ids to ItemType. Overloaded recently changed methods for compatibility and cleaned a few things up. Wizjany 2011-09-03 12:54:20 -0400
  • 8c0d0f9ed4 //[h]sphere can now generate ellipsoid (stretched sphere) shapes TomyLobo 2011-09-02 21:38:38 +0200
  • 780d07a9ba Fixed a warning. Seriously, guys... TomyLobo 2011-09-02 21:32:23 +0200
  • 3205904003 //copy and //paste now respect /toggleplace. TomyLobo 2011-09-02 21:01:24 +0200
  • bc6315fb24 Fixed getting and setting of blocks in unloaded chunks zml2008 2011-08-29 17:31:08 -0700
  • 02d8acfa81 Alowed performing undos from other player sessions, if they exist. zml2008 2011-08-29 14:24:35 -0700
  • a3186c2ce4 Removed old workaround from hmod zml2008 2011-08-29 14:16:20 -0700
  • 93fbad4d82 Cleaned up CommandAlias a bit zml2008 2011-08-29 14:15:25 -0700
  • d64fd95173 Added support for value flags to the command system TomyLobo 2011-08-29 14:44:14 +0200
  • b8a310dfdc Changed data type of BaseBlock.data from char to byte TomyLobo 2011-08-29 14:43:56 +0200
  • 1562f17540 Added block damage support to //replace and //replacenear zml2008 2011-08-28 23:57:07 -0700
  • d83fed13fb Fixed 43 and 44 block data cycling zml2008 2011-08-28 20:46:54 -0700
  • 04dd21d51a Added merging of quoted multiword strings (single or double quotes) into one index, flags can be anywhere in the command args string. Untested and currently unused command aliasing added for moving commands around zml2008 2011-08-28 12:59:26 -0700
  • 4dcbae03fe Made some variables in CuboidClipboard.flip final TomyLobo 2011-08-28 12:28:31 +0200
  • 447de4b206 - CommandContext's valueFlag constructor will now ignore the 0th element of args (no idea why that is even there) - Limited flags to a-zA-Z - Passing null to the valueFlag constructor will disable flag parsing altogether - Adjusted the error message - Added javadoc to CommandContext(String[], Set<Character>) - Added CommandContext(String, Set<Character>) TomyLobo 2011-08-27 12:07:07 +0200
  • 799b84622f Added support for value flags to CommandContext. TomyLobo 2011-08-26 17:28:37 +0200
  • 8ac8cb77a5 Cleaned up bukkit event registration a bit and fixed 2 warnings. TomyLobo 2011-08-26 17:25:18 +0200
  • 3f58187790 Fixed sign post flipping TomyLobo 2011-08-26 16:48:31 +0200
  • c6843a2c6d When flipping a door upside-down, the top and bottom parts are now swapped. TomyLobo 2011-08-26 14:08:02 +0200
  • c8bbcbd133 Fixed flipping of the central blocks in a clipboard with odd length. TomyLobo 2011-08-26 14:04:38 +0200
  • 8e84e7ae18 - Added proper block flipping code for all blocks with proper rotation code except sign posts - Fixed block rotation code for some blocks and cleaned it up a lot - Added block rotation code for powered rails and detector rails - //flip now flips all blocks, not just half of them TomyLobo 2011-08-26 12:41:31 +0200
  • 2281684f20 - Added a -p flag to //flip that makes it flip around the player instead of the center of the clipboard. - Code cleanup TomyLobo 2011-08-26 04:57:05 +0200
  • 84ed4bf4c3 Added PermissionsEx support to WEPIF. zml2008 2011-08-24 23:56:29 -0700
  • da6e6da024 Cleanup. Added toString override for polygonal regions. Wizjany 2011-08-24 18:27:18 -0400
  • 26d07b4ca4 Fixed polygonal edges with explicit test for point-on-line segment Closes pull #136 Droolio 2011-08-23 16:01:16 +0100
  • 2af38feadc Added a generic injector for commands zml2008 2011-08-23 21:31:17 -0700
  • ef60fa94bf Typo fixes zml2008 2011-08-23 21:19:38 -0700
  • 63262dbd5f Corrected number of arguments in //pos2 masteroftime 2011-08-22 23:05:31 +0200
  • 91b7b8444f Added pattern support to /replacenear, //walls, and //faces zml2008 2011-08-21 23:55:50 -0700
  • 9e13e25760 Fixed floodfill usage zml2008 2011-08-21 22:05:28 -0700
  • 9de9004834 - Moved Bukkit event registration from WorldEditPlugin into the respective listeners. - Changed registerEvent to the string-based system WorldGuard has, which should improve compatibility with differing Bukkit versions. TomyLobo 2011-08-21 23:05:03 +0200
  • d12bff993b Added //-prefixed aliases for most /-prefixed commands TomyLobo 2011-08-21 22:31:42 +0200
  • a9498d2c68 Stop working around broken stuff and do it like we always have. Wizjany 2011-08-21 11:47:29 -0400
  • e09a66d859 Gave /green a larger "ignored blocks" set. TomyLobo 2011-08-20 15:51:25 +0200
  • 2893438f8e /green now fails a bit less. TomyLobo 2011-08-20 15:17:29 +0200
  • 3c92bd9451 Worked around brokenness in PlayerInteractEvent zml2008 2011-08-17 13:33:01 -0700
  • 59ade7a386 Abstracted natural blocktype checking to BlockType.isNaturalBlock zml2008 2011-08-17 13:24:27 -0700
  • 93620ec168 The /green command should now only affect dirt on the top layer. TomyLobo 2011-08-17 13:18:42 +0200
  • 2b94ddf7ed Added flag to //smooth to only use "natural" blocks zml2008 2011-08-17 00:33:46 -0700
  • c99d64cfa0 Removed unnecessary valid block checking (already in LocalWorld) zml2008 2011-08-16 22:29:06 -0700
  • a313f2e93e Made events respect isCancelled() zml2008 2011-08-16 18:39:07 -0700
  • 4d6bb6d746 Prevent setting blocks to items due to Bukkit's Material containing both. Wizjany 2011-08-16 19:30:06 -0400
  • 3f0da63b01 Fixed dinerperms groups and bridge detection. zml2008 2011-08-16 14:05:33 -0700
  • 151b4c0fa1 Added a /green command, which greens the surrounding landscape. TomyLobo 2011-08-16 18:43:13 +0200
  • 6c5d1236c7 Fixed non-integer radius support for /thaw and /snow. TomyLobo 2011-08-16 18:42:29 +0200
  • ea445ebcf5 Added a -s flag to //chunk, which extends your current selection to the encompassed chunks. TomyLobo 2011-08-16 10:10:23 +0200
  • c79d90bb99 Added support for non-integer radius to //fill, //fillr, //drain, //fixlava, //fixwater, //snow and //thaw. TomyLobo 2011-08-15 14:35:21 +0200
  • a57830706e Added support for non-integer radius to //superpickaxe recursive and improved performance a bit by making the recurse method static. TomyLobo 2011-08-15 14:21:24 +0200
  • e67ea1e769 Commands that consider the player's look direction now also use up/down when the player's pitch is outside the [-67.5;67.5] interval. TomyLobo 2011-08-15 14:05:21 +0200
  • d7c21322aa Merge pull request #134 from TLUL/master Elizacat 2011-08-14 01:41:09 -0700
  • 22cbc90b6d setTypeIdAndData in LocalWorld is no longer abstract - it now defaults to calling setBlockType and setBlockData. Restores compatibility with SinglePlayerCommands 2.10_2. TLUL 2011-08-14 03:48:18 -0400
  • 9d753c8692 Cleanup overlay/underlay mask. Wizjany 2011-08-13 00:29:28 -0400
  • af2429467d Optimized //(h)sphere a bit and made the shell for //hsphere as thin as possible. TomyLobo 2011-08-12 08:16:53 +0200
  • b74670fda6 Fixed a warning TomyLobo 2011-08-12 08:16:23 +0200
  • bc31e4c20a Removed the >, or <, from the over and underlay masks - command is now /mask >id,id,id X1337X 2011-08-11 22:56:24 +0200