Network Server Is Online (Condition) — skNetwork

Addon: skNetwork · Category: Condition · Since: 0.2.0

Syntax

network server[s] %strings% (is|are) online

Description

Checks whether a server is connected to the proxy right now. A server that is running but has not finished syncing does not count, because nothing sent to it would arrive yet.

Guide: https://github.com/ahmadmsaleem/skNetwork/wiki/Network-Players

Examples

if network server "survival" is online:
	connect network player player to "survival"
else:
	send "&cSurvival is down."

View source