HyperScript
Docs

← All of the Docs HyperVelocity

Proxy players HyperVelocity

expressionall proxy playersHyperVelocity

A list of the names of everyone on the proxy

set {_players} to all proxy players
expressionthis server playersHyperVelocity

A list of the names of everyone on this server

set {_here} to join this server players with ", "
expressionplayers on server <name>HyperVelocity

A list of the names on one server

set {_online} to size of players on server arg.1
expressionproxy serversHyperVelocity

A list of the names of the servers behind the proxy

for each {_server} in proxy servers:
    set {_names} to join players on server {_server} with ", "
    send "&e%{_server}%&7: &f%{_names}%"
expressionproxy player countHyperVelocity

How many players are on the proxy

set {_count} to proxy player count
expressionthis server nameHyperVelocity

The name the proxy knows this server by

set {_name} to this server name
Guide and examples

Values about the whole network. They are what the proxy last reported, so they can be a few seconds behind.

command /glist:
    trigger:
        set {_players} to all proxy players
        set {_count} to proxy player count
        send "&6%{_count}% player(s) on the network:"
        for each {_server} in proxy servers:
            set {_names} to join players on server {_server} with ", "
            send "&e%{_server}%&7: &f%{_names}%"

command /here:
    trigger:
        set {_here} to join this server players with ", "
        set {_name} to this server name
        send "&7On &f%{_name}%&7: &f%{_here}%"
SyntaxResult
all proxy playersA list of the names of everyone on the proxy
this server playersA list of the names of everyone on this server
players on server <name>A list of the names on one server
proxy serversA list of the names of the servers behind the proxy
proxy player countHow many players are on the proxy
this server nameThe name the proxy knows this server by
  • These are lists and values like any other: size of all proxy players, if all proxy players contains arg.1:, for each {_name} in players on server "pvp":.
  • Until the proxy has answered for the first time, the lists are empty and this server name is unset. The first time a script asks for players on server "x", that server is added to the ones asked about, so the very first answer may be empty.
  • this server players never needs the proxy and is always current.