order

val order: Int = 0(source)

Specifies the priority of this text command variation (1 is the most important).

By default, if two variations have no order set, parameters are compared between each variation, if one of them is a String but the other is not, the String parameter is prioritized.

If you are using Kotlin, DSL-declared commands retain the order they are declared in.