Skip to main content
Structure: LevelCriteria Defines a condition required to unlock a Bank Level.

Configuration

mode
Enum
default:"PLACEHOLDER"
  • PLACEHOLDER: Checks a PlaceholderAPI value.
  • FACT: Checks a TypeWriter Fact.
placeholder
String
The placeholder to check (e.g. %vault_eco_balance%).
fact
Ref<Fact>
The Fact entry to check.
requiredValue
Double
default:"0.0"
The value needed to pass.
comparison
Enum
default:"GREATER_THAN_OR_EQUALS"
Operator: EQUALS, GREATER_THAN, LESS_THAN, etc.
deductOnMet
Boolean
default:"false"
If true (and mode is PLACEHOLDER), subtracts the requiredValue from the source (cost to upgrade).