Variables Tutorial
Each of the variables in the config follows a certain format. Here you can find the explanation of the options you can use. Everytime you modify something in this file you must reload the plugin using /svar reload
Variable Type
Type of the variable. You can use PLAYER or GLOBAL.
GLOBAL: The variable is set for the whole server.
PLAYER: The variable is set for a player in particular.
Value Type
Value format of the variable. You can use TEXT, INTEGER or DOUBLE.
TEXT: The variable accepts all values.
INTEGER: The variable accepts only numbers.
DOUBLE: The variable accepts numbers with decimals.
If you want to use the add/reduce commands you must set this option to INTEGER or DOUBLE.
Initial Value
The initial or default value of the variable.
Possible Values
The possible values of this variable. You'll not be able to set the variable to a different value. Format: <value>;(optional)<display>
The "display" is optional and it is a visual representation of the variable which can be used as a PlaceholderAPI variable. Always use a single word for the value option, if you need multiple words, use something like this: "this_is_the_first_value".
This parameter is completely optional.
Limitations
Conditions that the variable will have. You will not be able to change the variable if the new value doesn't respect these conditions.
Min Value
Minimum value of the variable. Only works with Value Type on INTEGER or DOUBLE.
Max Value
Maximum value of the variable. Only works with Value Type on INTEGER or DOUBLE.
Max Characters
Maximum number of characters of the variable. Only works with Value Type on TEXT.
Last updated