Implemented JSON utilities that allows for more complex and customizable way of providing values in JSON files.
Additionally, the Operators allow for boolean evaluations or conditioned value providers.
Value Providers
There are 3 types of provider types. These are Integer, Float, and String.
Each of those types has different providers:
const – provides a constant value.
var – provides a variable from the available context.
papi – provides a value from PlaceholderAPI
Operators
Operators provide a way evaluate values.
BoolOperator
They evaluate to a boolean value.
Logical Operator
They are the usual and, or, not operators, that take one or two BoolOperators (Which allows for more complex chaining) and produce a new boolean output.
Comparison Operator
Those operators always take two ValueProviders of the same type and then evaluates into a boolean value.
They are ==, !=, >, <, =>, =<.
Implemented JSON utilities that allows for more complex and customizable way of providing values in JSON files. Additionally, the Operators allow for boolean evaluations or conditioned value providers.
Value Providers
There are 3 types of provider types. These are Integer, Float, and String. Each of those types has different providers:
Operators
Operators provide a way evaluate values.
BoolOperator
They evaluate to a boolean value.
Logical Operator
They are the usual
and
,or
,not
operators, that take one or two BoolOperators (Which allows for more complex chaining) and produce a new boolean output.Comparison Operator
Those operators always take two ValueProviders of the same type and then evaluates into a boolean value. They are
==
,!=
,>
,<
,=>
,=<
.