🎛️Conditions
Syntax
# types:
# purchase_conditions (only for products)
# view_conditions (products and items)
#
<type>_conditions:
condition_name: #your own condition name
type: TYPE
input: INPUT
output: OUTPUT
Type
Type is a condition type. Here is list of all types.
hasPermission
Player have specific permission
type: hasPermission input: '<your permission>' output: null
!hasPermission
Player not have specific permission
type: !hasPermission input: '<your permission>' output: null
hasSubscribe
Player is subscribing to specific product
type: hasSubscribe input: '<product id>' output: null
!hasSubscribe
Player is not subscribing to specific product
type: !hasSubscribe input: '<product id>' output: null
>
input > output
type: > input: 'Placeholder/Number' output: 'Number'
<
input < output
type: < input: 'Placeholder/Number' output: 'Number'
>=
input > output OR input = output
type: >= input: 'Placeholder/Number' output: 'Number'
<=
input < output OR input = output
type: <= input: 'Placeholder/Number' output: 'Number'
==
input equals output
type: == input: 'Placeholder/Number' output: 'Number'
Last updated