Mechanics
Other WikisDonate
  • Home
  • Examples
  • Placeholders
  • ⚙️Mechanics
    • Action Bar
    • Boss Bar
    • Command
    • Custom Sound
    • Damage
    • Drop Item
    • Fake Item
    • Firework
    • Flinch
    • Ignite
    • Leap
    • Lightning
    • Message
    • Particle
    • Potion
    • Push
    • Sculk Bloom
    • Sculk Shriek
    • Sound
    • Title
    • Warden Disturbance
  • 🎯Targeters
    • ServerPlayers
    • Shapes
      • Box
      • Scatter
    • Source
    • Target
    • World
  • ❔Conditions
    • Biome
    • Custom Biome
    • Entity Type
    • Gliding
    • Has Permission
    • InCone
    • Light Level
    • Material Category
    • On Ground
    • Range
    • Riding
    • Sneaking
    • Sprinting
  • 🔌Integrations
    • 🌊GeyserMC
    • 🌎MechanicsEverywhere
    • 👽MythicMobs
    • 🔫WeaponMechanics
Powered by GitBook
On this page
  1. Conditions

Has Permission

Last updated 1 year ago

The has permission condition checks whether the target entity has a permission.

Argument
Description
Default Value

permission

Which permission to check for

*Required

Not sure which permission to use? Use the to see all permissions on your server.

All entities have access to permissions (like zombies)! If you only want players, add:

?EntityType{entity=PLAYER}
Mechanics:
  - "Message{message=Damn you are op} @ServerPlayers{} ?HasPermission{permission=essentials.op}"

Sends a message to all players on the server who have the essentials.op permission.

❔
LuckPerms Web Editor