Repository navigation
Velocity Update
Addes some velocity support, see below:
command /velocitytest:
trigger:
broadcast "&7[VelocityTest] &fStarting tests..."
fetch proxy player count and store it in {_allCount}
broadcast "&7[VelocityTest] &fPlayerCount ALL: &a%{_allCount}%"
fetch proxy player count on server "srv1" and store it in {_lobbyCount}
broadcast "&7[VelocityTest] &fPlayerCount srv1: &a%{_lobbyCount}%"
fetch proxy player list and store it in {_allPlayers::*}
if size of {_allPlayers::*} > 0:
broadcast "&7[VelocityTest] &fPlayerList ALL: &a%{_allPlayers::*}%"
else:
broadcast "&7[VelocityTest] &fPlayerList ALL: &cnone"
fetch proxy player list on server "srv1" and store it in {_lobbyPlayers::*}
if size of {_lobbyPlayers::*} > 0:
broadcast "&7[VelocityTest] &fPlayerList srv1: &a%{_lobbyPlayers::*}%"
else:
broadcast "&7[VelocityTest] &fPlayerList srv1: &cnone"
fetch proxy servers and store them in {_servers::*}
if size of {_servers::*} > 0:
broadcast "&7[VelocityTest] &fServers: &a%{_servers::*}%"
else:
broadcast "&7[VelocityTest] &fServers: &cnone"
fetch current server and store it in {_currentServer}
broadcast "&7[VelocityTest] &fCurrent server: &a%{_currentServer}%"
fetch proxy uuid of "DjDisaster" and store it in {_otherUuid}
broadcast "&7[VelocityTest] &fUUIDOther DjDisaster: &a%{_otherUuid}%"
fetch proxy ip of "DjDisaster" and store it in {_otherIp}
broadcast "&7[VelocityTest] &fIPOther DjDisaster: &a%{_otherIp}%"
fetch proxy ip of server "srv1" and store it in {_serverIp}
broadcast "&7[VelocityTest] &fServerIP srv1: &a%{_serverIp}%"
send proxy message "&aVelocity message test from Skript" to "DjDisaster"
broadcast "&7[VelocityTest] &fMessage test: &asent to DjDisaster"
broadcast "&7[VelocityTest] &aDone."