Commit Graph

13 Commits

Author SHA1 Message Date
Wesley Wolfe
0d9771acf6 Replace getOnlinePlayers to provide a view. Adds BUKKIT-5668 2014-06-25 15:56:56 -05:00
Wesley Wolfe
8a1dbc38da Pulling all pending Bukkit-JavaDoc changes
A special thanks goes to @aerouk for almost all of the changes found here.
2013-12-15 01:09:18 -05:00
Wesley Wolfe
16b340dd38 Pulling all pending Bukkit-JavaDoc changes 2013-11-30 21:14:02 -06:00
Edmond Poon
466febbe41 Pulling all pending Bukkit-JavaDoc changes 2013-08-03 21:46:30 -04: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
Feildmaster
ca71be0228 [Bleeding] Event no longer implements Serializable. 2012-02-19 04:10:07 -05:00
Erik Broes
7a06777e19 Deprecation cleanup. 2012-02-18 13:05:58 -05:00
Nathan Adams
e35037ab50 [Bleeding] Changed event system into a new, much faster design. Huge thanks to @zml2008 & @lahwran. 2012-01-17 19:46:22 +01:00
Erik Broes
dce83b6ce4 Generic cleanup of warnings, whitespace and style. 2011-12-25 16:02:30 +01:00
EvilSeph
a0c1f68109 More JavaDoc improvements. 2011-06-25 22:46:19 -04:00
sunkid
1de3f3cecc fixed PlayerCommandPreprocessEvent inheritance 2011-03-28 17:15:41 -07:00
Dinnerbone
4272e51e00 Line endings, consistency! 2011-03-27 21:27:27 +01:00
Erik Broes
325fbdc01a Change some more signatures :(
onPlayerCommandPreprocess(PlayerChatEvent event) -> onPlayerCommandPreprocess(PlayerCommandPreprocessEvent event)
onBlockFlow(BlockFromToEvent event)     -> onBlockFromTo(BlockFromToEvent event)
onPlayerJoin(PlayerEvent event)         -> onPlayerJoin(PlayerJoinEvent event)
onPlayerQuit(PlayerEvent event)         -> onPlayerQuit(PlayerQuitEvent event)
onPlayerTeleport(PlayerMoveEvent event) -> onPlayerTeleport(PlayerTeleportEvent event)
2011-03-27 00:16:06 +01:00