Class Players

    • Constructor Detail

      • Players

        @Deprecated
        public Players()
        Deprecated.
    • Method Detail

      • getPlayersInstance

        @Deprecated
        public static Players getPlayersInstance()
        Deprecated.
      • getPlayers

        @Deprecated
        public static Players getPlayers()
        Deprecated.
        Returns the active Players instance
        Returns:
        players instance
      • all

        public static java.util.List<Player> all()
      • localPlayer

        public static Player localPlayer()
        Gets your local Player.
        Returns:
        Player as your current logged in character.
      • localPlayer

        public static Player localPlayer​(int index)
        Gets a local Player at a specified index.
        Returns:
        Player at the specified index if valid index, otherwise null.
      • myPlayer

        @Deprecated
        public static Player myPlayer()
        Deprecated.
        see localPlayer() Gets your player character
        Returns:
        your player
      • all

        public static java.util.List<Player> all​(java.lang.Integer... ids)
      • all

        public static java.util.List<Player> all​(java.lang.String... names)
      • closest

        public static Player closest​(java.lang.String... names)
      • closest

        public static Player closest​(java.lang.Integer... ids)