Hostname (Expression) — Skript

Addon: Skript · Category: Expression · Since: 2.6.1

Syntax

[the] (host|domain)[ ][name]

Description

The hostname used by the connecting player to connect to the server in a <a href='#connect'>connect</a> event.

Examples

on connect:
	hostname is "testers.example.com"
	send "Welcome back tester!"

View source