Class PlayerUtils
java.lang.Object
com.github.skriptdev.skript.api.hytale.utils.PlayerUtils
Utilities for
Players-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic List<com.hypixel.hytale.server.core.entity.entities.Player> getPlayers(@Nullable com.hypixel.hytale.server.core.universe.world.World world) Get all players in a specific world or all worlds.
-
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
-