Version String (Expression) — Skript

Addon: Skript · Category: Expression · Since: 2.3

Syntax

[the] [shown|custom] version [string|text]

Description

The text to show if the protocol version of the server doesn't match with protocol version of the client. You can check the <a href='#ExprProtocolVersion'>protocol version</a> expression for more information about this. This can only be set in a <a href='#server_list_ping'>server list ping</a> event.

Examples

on server list ping:
	set the protocol version to 0 # 13w41a (1.7), so it will show the version string always
	set the version string to "&lt;light green&gt;Version: &lt;orange&gt;%minecraft version%"

View source