Network Player Details (Expression) — skNetwork
Addon: skNetwork · Category: Expression · Since: 1.0.0
Syntax
[the] ping of network player[s] %networkplayers%Description
The ping, address, display name, locale or playtime of somebody anywhere on the network. The server holding them reports these, and every other server reads its own copy, so none of this waits on the wire. Only what changed is sent, so a ping is at most a few seconds old and moves in steps of 5ms. Playtime counts up on its own between reports. Nothing is set for somebody nobody is holding.
Guide: https://github.com/ahmadmsaleem/skNetwork/wiki/Network-Players
Examples
on network server switch:
broadcast "%event-networkplayer% arrived with a ping of %ping of network player event-networkplayer%ms"
on network player join:
if playtime of network player event-networkplayer is less than 10 minutes:
broadcast "&aWelcome %display name of network player event-networkplayer%!"