Player - Client Version (Expression) — Lusk

Addon: Lusk · Category: Expression · Since: 1.0.0, 1.3.9 (Plural), 1.3.14 (Via)

Syntax

[the] [via[[ ]version]] [minecraft|client|player] version of %players%

Description

Returns the Minecraft version of a player, snapshots are not included. Additionally, you can get the client's version with via.

Examples

broadcast version of player

if version of player = 1.19.3:
    send "why so specific of a version?"

if version of player < 1.9.0:
    send "i think you should update but you do you"

if via version of player = 26.1.2:
    send "good boy"

View source