Commit Graph

131 Commits

Author SHA1 Message Date
zml2008
86011a0d0d Fixed handling of double chests and cleaned WorldEditListener up a bit 2012-03-20 17:53:15 -07:00
Wizjany
f11e2ba6d6 Added Falling sand/gravel entities to /remove command 2012-03-18 00:00:04 -04:00
zml2008
b6d1146427 Added support for new tree types to TreeGenerator and make adding more tree types later easier 2012-03-17 15:28:49 -07:00
Jadedwolf
b2eb2741eb Temporary solution to fix Golems being butchered. This includes Iron and snow golems. 2012-03-17 09:25:57 +01:00
TomyLobo
85cdd49593 In WorldGuard, teleport/spawn location yaw/pitch should now work. 2012-03-12 16:40:02 +01:00
TomyLobo
255b04e13d Added a Location class and conversion utilities.
This is required for the latest WorldGuard version
2012-03-12 10:23:02 +01:00
zml2008
4328be282c Register command permissions, integrate with the Bukkit help API
Help API support requires a fix in Bukkit to work fully
Allow annotation-free registering of commands with other plugins
2012-03-09 23:16:50 -08:00
TomyLobo
4e91f4e988 No longer using deprecated stuff. 2012-03-02 19:57:32 +01:00
md-5
f265a93913 Bukkit puts out EXACTLY the same message, therefore we don't have to. 2012-03-02 20:57:59 +11:00
zml2008
c58276354e Fix duplicate WEPIF message 2012-03-01 21:32:33 -08:00
zml2008
742b6b61fa Check for null in ItemStacks 2012-03-01 20:33:03 -08:00
zml2008
0b548b2bac Have BukkitWorld.simulateBlockMine use Bukkit's dropNaturally 2012-02-11 15:46:33 -08:00
zml2008
0525112293 Fixed /scriptname.js and no-double-slash settings not working 2012-02-11 14:02:03 -08:00
zml2008
1772d02d80 Made BlockBag use WorldVectors for add(Single)SourcePosition 2012-02-07 17:25:55 -08:00
zml2008
ffa2824c4d Properly escape cuipattern 2012-01-29 16:22:04 -08:00
zml2008
3d0c045cd4 Added bPermissions support 2012-01-22 21:26:53 -08:00
zml2008
9830d9d326 Revert "Using trove collections for most internal stuff, using array access in BlockType and ItemType"
This reverts commit 410ac65c6a.
This has been causing compatibility issues with Spout. I haven't been ble to reproduce, but until somebody figures out why, this gets to go
2012-01-22 19:04:56 -08:00
TomyLobo
8aa65fd7f4 License block changes
Added some missing license blocks
Added "and contributors" to all copyright notices.
Added $Id$ to files that were still missing it.
Changed "All rights reserved" to GPLv3 on Injector.java.
2012-01-20 08:24:32 +01:00
zml2008
6134d2b868 Updated for slightly cleaner event handler syntax 2012-01-19 15:22:42 -08:00
TomyLobo
4e4a5a02c9 Updated the remaining Listeners to the new event system. 2012-01-18 17:50:07 +01:00
zml2008
edc955c5b6 Updated for Bukkit's new events system 2012-01-18 08:06:20 -08:00
zml2008
410ac65c6a Using trove collections for most internal stuff, using array access in BlockType and ItemType 2012-01-16 19:27:18 -08:00
zml2008
7922c437bf Allow copying item stacks with damage of > Byte.MAX_VALUE. Closes #972 2012-01-08 21:31:57 -08:00
TomyLobo
e810113ea0 Fixed some warnings and removed Bukkit/SpoutWorld.toLocation(pt) (replaced it by a call to the according Bukkit/SpoutUtil method) 2012-01-06 18:17:04 +01:00
TomyLobo
f4ba28268a Possibly fixed conflicts with other plugins since dynamic command registration was added. 2012-01-06 17:40:15 +01:00
TomyLobo
f2e26b07ec Some region selection fixes
- CuboidSelection no longer deals with IncompleteRegionExceptions
- Fixed Polygonal2DSelection not passing its region to the selector
- Fixed Polygonal2DRegion not cloning the list it receives in its constructor
- Gave PolygonalRegionSelector a new constructor where it takes a list of points
2012-01-01 14:50:26 +01:00
Yetanotherx
3b87953da0 Add cuiVersion to LocalSession and set it via incoming CUI event
Refactor region selectors to handle legacy versions a bit better.
Because chat doesn't allow the section sign to be sent, I have to send non-color codes. Meh.
closes #158
2011-12-31 22:31:05 -08:00
zml2008
754997ca73 Now sending an additional §4§5§3§4 color code for WECUI's handshake, so it knows that it has a version of WorldEdit with protocol version support 2011-12-27 22:20:06 -08:00
zml2008
76fd63d64b Fixed a NPE in WorldEdit.getSafeFile() when extensions is null. 2011-12-26 16:28:51 -08:00
TomyLobo
cc256aa246 Added license blocks to some files that were still missing them.
Copied from files from the same directory.
2011-12-26 00:57:26 +01:00
TomyLobo
324a041e38 Split up some external .* imports. 2011-12-26 00:36:23 +01:00
TomyLobo
4b47200f27 Fixed some warnings. 2011-12-26 00:06:50 +01:00
zml2008
c8c0c69f6d Added support for dynamic command registration. 2011-12-24 22:34:53 -08:00
zml2008
9aa8c5f674 Now that WorldEdit has YAML handling classes, YAMLConfiguration is separate from BukkitConfiguration. 2011-12-24 22:22:37 -08:00
zml2008
4a95d03230 No longer using switch statement in WorldEditPlayerListener. <.< 2011-12-24 22:22:36 -08:00
TomyLobo
050442fac3 Added a -l flag to /butcher, which spawns fake lightning on all killed entities. 2011-12-21 19:03:21 +01:00
TomyLobo
370ddeb9ff Added support for console commands to WorldEditPlugin. 2011-12-15 15:45:34 +01:00
TomyLobo
3bec3c169c Added BukkitCommandSender and WorldEditPlugin.wrapCommandSender. 2011-12-15 15:45:34 +01:00
TomyLobo
6d4b4718db Added ServerInterface.getWorlds. 2011-12-15 15:45:33 +01:00
TomyLobo
32bb810ce7 Changed all instances of new BukkitWorld to BukkitUtil.getLocalWorld, except for the one in that function. 2011-12-15 15:45:32 +01:00
TomyLobo
1ce9d39f45 Removed fast lighting completely for the release. 2011-12-13 06:00:08 +01:00
zml2008
914dd647b5 Changed EditSessionBlockDelegate.getHeight's return to match what Bukkit's worldheightheight methods return 2011-12-12 20:05:38 -08:00
zml2008
98216e2762 Added support for non-128 worldheights 2011-12-13 04:50:53 +01:00
TomyLobo
90b062a9d8 Fixed some warnings 2011-12-08 11:54:35 +01:00
zml2008
c2460a6305 PlayerInteract listener should now respect cancelled status. 2011-12-06 15:03:34 -08:00
TomyLobo
c21c380bba Added a -a flag to /butcher to kill animals. Its now disabled by default. 2011-12-06 07:10:15 +01:00
TomyLobo
bc3a4377ec The /butcher command no longer kills NPCs, except when the -n flag is passed.
Also:
- Moved some code from BukkitWorld to LocalWorld.
- Replaced the "boolean killPets" argument by an "int flags" to provide extensibility
- Made the radius argument a double
- Basically rewrote the entire function
- Deprecated all old versions of killMobs
2011-12-06 06:50:11 +01:00
TomyLobo
3ccb152350 Added support for line breaks to BukkitPlayer.print* 2011-12-05 10:33:13 +01:00
zml2008
daf1dde701 Moved WEPIF to the com.sk89q.wepif package and made PermissionsResolverManager a singleton
Added OfflinePlayer permissions fetching methods to WEPIF
2011-12-04 17:42:46 -08:00
sk89q
11245014c8 Added @Override annotations. 2011-11-29 20:17:50 +01:00