Class PlayerUtils

java.lang.Object
com.github.skriptdev.skript.api.hytale.utils.PlayerUtils

public class PlayerUtils extends Object
Utilities for Players
  • Constructor Details

    • PlayerUtils

      public PlayerUtils()
  • Method Details

    • getPlayers

      public static List<com.hypixel.hytale.server.core.entity.entities.Player> getPlayers(@Nullable @Nullable com.hypixel.hytale.server.core.universe.world.World world)
      Get all players in a specific world or all worlds.
      Parameters:
      world - World to get players from (can be null to get players from all worlds)
      Returns:
      List of players