conditions:
my-first-conditions:
placeholder: ""
equals: ""
commands: "" #optional
authorized:
my-first-conditions:
placeholder: ""
equals: ""
Use %player% for the "commands: "
conditions:
my-first-conditions:
placeholder: "%factionsuuid_faction_territory_name%"
equals: "§2Wilderness"
Here the player can only fly on his claim.
Make sure your placeholder return the value of "equals:"
Now, the problem here is that the player will only be able to fly in his claim only.
Fortunately,, the authorized section is there to counter this.
conditions:
my-first-conditions:
placeholder: "%factionsuuid_faction_territory_name%"
equals: "§2Wilderness"
authorized:
my-first-conditions:
placeholder: "%worldguard_region_name%"
equals: "spawn"
With this config, now player can fly in the region "spawn".
conditions:
not-authorized:
my-first-conditions:
placeholder: "%multiverse_world_alias%"
equals: "world"
commands:
- 'playsound minecraft:entity.enderman.teleport ambient %player% ~ ~ ~ 5100'
authorized:
my-seconds-conditions:
placeholder: "%lands_land_name_plain_here%"
equals: "%lands_lands%"
Here player can fly on his claim only.
Note: Player will have the playsound `entity.enderman.teleport`