public static Collection<Player> all() {
        //noinspection unchecked
        return (Collection<Player>) Bukkit.getOnlinePlayers();
    }
Gets all players on the server.

@return all players on the server
helper/src/main/java/me/lucko/helper/utils/Players.java