Luckperms

🔒 LuckPerms Contexts with EasyStaff

Contexts in LuckPerms let you apply permissions conditionally—based on things like server, world, or in this case, EasyStaff-specific states like vanished or staff mode.


🎯 EasyStaff Contexts

Context Key
Value
Description

easystaff:vanished

true

Grants permission only when the player is vanished.

easystaff:staffmode

true

Grants permission only when the player has staff mode enabled.


🧩 Use Case Example

To give a permission only when vanished, you would run:

/lp user <username> permission set easystaff.chat.clear true easystaff:vanished=true

This means the user will only have easystaff.spychat when they are vanished.


🌐 Server-Specific Contexts

If you use BungeeCord or Velocity, you can also add server-specific contexts:

/lp user <username> permission set easystaff.reports.notify true server=staffserver

This grants the permission only when the user is on the staffserver.


📥 Download LuckPerms

You can download LuckPerms here: 🔗 https://luckperms.net/download

After downloading, add it to your server's plugin folder and restart your server to activate it.

Last updated