Context (Luckperms)
Since v0.17.1, Towns and Nations register several contextes into luckperms
Boolean context
tan:is-at-war: true/false
tan:has-town: true/false
tan:has-region : true/false
tan:is-town-leader: true/false
tan:is-region-leader: true/false
tan:is-nation-leader: true/false
tan:is-in-friendly-claims: true/false
tan:is-in-neutral-claims: true/false
tan:is-in-enemy-claims: true/false
tan:is-in-wilderness-claims: true/false
tan:is-in-owned-property: true/false
tan:is-in-rented-property: true/false
tan:town-has-unlocked-<upgrade_id>: true/false #Example : town-has-unlocked-<WATCHTOWER>
tan:region-has-unlocked-<upgrade_id>: true/false
tan:nation-has-unlocked-<upgrade_id>: true/falseSpecific values
Last updated