checkVersion

fun checkVersion(target: String)

Checks if the current Minecraft server version meets the minimum required version.

Parameters

target

The minimum required Minecraft version string (e.g., "1.20.6").

Throws

if the current version is lower than the target version.

Samples