Class ExprVersionString

java.lang.Object
ch.njol.skript.lang.util.SimpleExpression<String>
ch.njol.skript.expressions.ExprVersionString
All Implemented Interfaces:
Debuggable, Expression<String>, SyntaxElement

@Name("Version String") @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=\'events.html#server_list_ping\'>server list ping</a> event."}) @Examples({"on server list ping:","\tset the protocol version to 0 # 13w41a (1.7), so it will show the version string always","\tset the version string to \"&lt;light green&gt;Version: &lt;orange&gt;%minecraft version%\""}) @Since("2.3") @RequiredPlugins("Paper 1.12.2 or newer") @Events("server list ping") public class ExprVersionString extends SimpleExpression<String>
  • Constructor Details

    • ExprVersionString

      public ExprVersionString()
  • Method Details