Commit Graph

1236 Commits

Author SHA1 Message Date
feildmaster
7ddfdb8253 Add API for getting and setting experience for BlockBreakEvent. Addresses BUKKIT-2033 2012-08-08 19:48:50 -05:00
feildmaster
7d9185e473 Add spaces to gamemode message. Fixes BUKKIT-2148 2012-08-08 19:48:49 -05:00
Wesley Wolfe
dafef287cb Purge outdated biomes. Fixes BUKKIT-1087 2012-08-07 01:55:48 -05:00
Wesley Wolfe
dc3fc6a702 Add Warning API and settings for Deprecated events 2012-08-07 00:16:57 -05:00
feildmaster
ebb4362cf6 Don't send duplicate messages for Gamemode and Time commands.
Gamemode gets sent with the packet.
2012-08-06 11:29:38 -05:00
feildmaster
09ef15e950 Update commands to match 1.3 vanilla commands 2012-08-06 06:59:46 -05:00
feildmaster
c809871558 Fail silently on incorrect number input 2012-08-06 06:59:45 -05:00
Wesley Wolfe
fee71b3ec9 Change inheritance for new MaterialData. 2012-08-05 22:01:54 -05:00
Mike Primm
67cf6c6bdf [Bleeding] Add new MaterialData classes for new blocks and update existing blocks with new data 2012-08-05 19:55:46 -05:00
Wesley Wolfe
e49a640760 BREAKING: replace defunct PlayerChatEvent with async chat. Addresses BUKKIT-2064
PlayerChatEvent is now Deprecated. It should be fired asynchronously, but
has not been so traditionally. To do so would massively break plugins that
rely on it.

AsyncPlayerChatEvent now replaces PlayerChatEvent. It uses comparable
functionality, but can be fired without synchronizing to the event manager.
The event will sometimes fire synchronously if triggered by a plugin.

Because PlayerChatEvent is now deprecated, PlayerCommandPreprocessEvent will
no longer extend PlayerChatEvent. This is almost completely source and
binary compatible, bar plugins that downcast to PlayerChatEvent.
Additionally, some methods that are non-functional have been marked
deprecated and indicate such.

Additionally, new constructors are now provided to allow for lazier
initialization of the receiving player set. A note has been added stating
plugins should be prepared for UnsupportedOperationExceptions if the caller
provides an unmodifiable collection.
2012-08-03 20:31:01 -05:00
Wesley Wolfe
0b2870a6fd Warn server owners of plugins using deprecated events. Fixes BUKKIT-2027 2012-08-02 23:21:02 -05:00
Travis Watkins
bc8f053e2a Test command permissions before running them. 2012-08-02 19:02:23 -05:00
feildmaster
c2e493480c Revive the toggledownfall permission! (and fix descriptions) 2012-08-02 18:31:19 -05:00
feildmaster
99f251cadb Add LargeBiomes WorldType. 2012-08-02 08:55:11 -05:00
feildmaster
110ad8c196 Update Bukkit for 1.3.1 changes 2012-08-02 04:54:21 -05:00
feildmaster
ec51c24641 Add API to get a players experience to level (getExpToLevel). Implements BUKKIT-1906
This is the total experience one needs to gain a level.
2012-07-11 17:12:26 -05:00
feildmaster
c3830e0d22 Implement server.getMotd() for BUKKIT-1799 2012-07-04 23:21:03 -05:00
feildmaster
c65422de4b Don't "setLastDamageCause" in the DamageEvent constructor. Addresses BUKKIT-1881
This is now done after the event to allow you to be able to get previous damageCauses, and is now only applied if the event is not canceled.
2012-07-03 14:09:51 -05:00
TomyLobo
945ff9eebb Add an isValid() method to Entity. Addresses BUKKIT-810 2012-06-28 19:33:33 -05:00
Wesley Wolfe
2b3eaee7d9 Add check for existing config file. Addresses BUKKIT-1851 2012-06-28 16:39:19 -05:00
TomyLobo
6525a30e74 Add LivingEntity.hasLineOfSight. Addresses BUKKIT-1255 2012-06-23 10:58:01 -05:00
V10lator
e129c8363e Deprecate spawnCreature and add spawnEntity. Addresses BUKKIT-1168 2012-06-23 10:57:59 -05:00
Wesley Wolfe
c4fe5bfdf6 Add plugin channel events. Addresses BUKKIT-1844 2012-06-21 02:39:35 -05:00
Travis Ralston
ae3b5cc615 Add PlayerItemBreakEvent. Addresses BUKKIT-1600 2012-06-21 02:08:31 -05:00
Wesley Wolfe
ae4f1c05d8 Revert "Shift plugin initialization; Addresses BUKKIT-1788"
This reverts commit 27cb5e7c9c. Issues
were discovered with shared class loaders.
2012-06-16 00:48:47 -05:00
Wesley Wolfe
27cb5e7c9c Shift plugin initialization; Addresses BUKKIT-1788 2012-06-15 23:48:09 -05:00
obnoxint
218fa3197f Add NotePlayEvent. Fixes BUKKIT-1779 2012-06-14 20:58:19 -05:00
Wesley Wolfe
63669e8d3d Add asynchronous pre-login event; Addresses BUKKIT-1213 2012-06-13 23:01:03 -05:00
Wesley Wolfe
4ebefa5b3a Support asynchronous events; Addresses BUKKIT-1212 2012-06-13 23:01:03 -05:00
H31IX
40ca05a5c7 Add PlayerToggleFlightEvent. Fixes BUKKIT-1696 2012-06-13 22:19:51 -05:00
Wesley Wolfe
6d09f52afd Check for non-existent class alias; Fixes BUKKIT-1780 2012-06-09 15:58:53 -05:00
feildmaster
537138e9b2 Javadoc updates
Fixes BUKKIT-1653, Fixes BUKKIT-1383 and Fixes BUKKIT-1644
2012-06-03 05:40:54 -05:00
Wesley Wolfe
fbdceefaa7 Change logger references to explicitly use plugin logger 2012-05-26 14:33:27 -05:00
Wesley Wolfe
6807c05321 Reverse disable order; Addresses BUKKIT-1389 2012-05-26 01:28:51 -05:00
Wesley Wolfe
30545e1a50 Make class loader preference predictable; Fixes BUKKIT-1591 2012-05-25 15:47:39 -05:00
Acrobot
5ae3c99bf5 Use existing function to get opposite block face 2012-05-25 05:01:47 -05:00
Wesley Wolfe
5630ae217c Add getName() to AnimalTamer 2012-05-24 22:33:45 -05:00
Travis Watkins
7bbda1b7ab Optimize ChatColor.getLastColors.
ChatColor searches from the start to the end of a string for chat format
characters but this always has to search the entire string. By starting
from the end of the string and working backwards we can stop searching once
we find a color code or a reset code as any previous formatting is wiped
out by these.
2012-05-16 18:42:39 -05:00
Travis Watkins
5c4d329d9f Add IgniteCause.FIREBALL for BUKKIT-1566 2012-05-09 01:41:47 -05:00
feildmaster
81d9cacff8 Set help index page to 1 for invalid numbers. Fixes BUKKIT-1569 2012-04-30 17:47:27 -05:00
Wesley Wolfe
ae518078eb Making MemorySection much more efficient; Addresses BUKKIT-1454 2012-04-30 16:54:00 -05:00
feildmaster
f922cd87be Made clearPermissions public. Addresses BUKKIT-1541 2012-04-27 12:31:42 -05:00
feildmaster
1c7f9c3d31 We default to OP 2012-04-27 04:59:53 -05:00
Travis Watkins
90d2cedd56 Add API for managing mob spawn limits per-world. Fixes BUKKIT-1565 2012-04-23 21:53:52 -04:00
Wesley Wolfe
a75cbbff56 Adding ceil to NumberConversions 2012-04-15 18:25:57 -05:00
feildmaster
0884988785 Add SpawnReason.DEFAULT, to make SpawnReason.CUSTOM solely for plugins 2012-04-14 01:31:59 -05:00
feildmaster
988bd87040 Added SpawnReason.SLIME_SPLIT. Addresses BUKKIT-790 2012-04-14 00:59:29 -05:00
feildmaster
3c1ba91f77 Fix createSection getting sections from itself. Fixes BUKKIT-1513 2012-04-14 00:59:22 -05:00
Wesley Wolfe
23a48d57e6 Adds address to PlayerLoginEvent; Addresses BUKKIT-431
This also deprecates old constructors left for compatibility. Address
will default to null in these cases.
2012-04-03 17:00:05 -05:00
EvilSeph
e5ef8c2b40 Removed pointless counter and use .length in PluginsCommand. Thanks nallar! 2012-04-02 16:28:58 -04:00