📜Conditions
⚠️ DON'T USE ANY FLAGS PLUGIN(worldguard etc etc), THAT MAY CAUSE CONFLICT⚠️ How conditions work ?

Auto reactivate fly after condition disable fly
auto-reactivate-fly-after-conditions-disable: true
It seems that if flying has been disabled by a condition, after the player enters a new area where that condition does not block flying, flying will automatically be reactivated.
Make conditions
conditions:
my-first-conditions:
placeholder: ""
equals: ""
commands: "" #optional
authorized:
my-first-conditions:
placeholder: ""
equals: "" EXAMPLE WITH FACTIONUUID
conditions:
not-authorized:
my-first-conditions:
placeholder: "%factionsuuid_faction_territory_name%"
equals: "§2Wilderness" Here the player can't fly wilderness zone.
conditions:
not-authorized:
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". You can use placeholder in placeholder and equals to make some condition (like player can fly in his claim).
EXAMPLE WITH LANDS
conditions:
not-authorized:
my-first-conditions:
placeholder: "%player_name%" #make sure Player ecloud is download for PlaceholderAPI
equals: "%player_name%" #working always
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`
Last updated