I've been wondering this for a while. When I use Bukkit.getOnlinePlayers().length on PlayerQuitEvent, does it calculate the length including the player that triggers the event or does it detect the length AFTER the player leaves? Thanks.
duker02 I've just tested it's the number of players *before* the player leaves, so including the player.