Compatibility
Minecraft: Java Edition
1.21
Platforms
Paper
Supported environments
90% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Creators
Details
A GriefPrevention addon to provide contexts to LuckPerms permissions
Now with HuskClaims support!
Requirements:
- Paper/Forks 1.21+ (Spigot not supported)
- Java 21+
- LuckPerms
- GriefPrevention or HuskClaims
Contexts
Key | Description | Example Value |
---|---|---|
griefprevention:claim-id |
id of the claim the player is in | 32 |
griefprevention:in-claim |
if the player is in a claim | true |
griefprevention:in-admin-claim |
if the claim is an admin claim | false |
griefprevention:is-owner |
if the player is the owner of the claim | false |
griefprevention:trust-access |
if the player has access trust level* | true |
griefprevention:trust-build |
if the player has build trust level* | true |
griefprevention:trust-edit |
if the player has edit trust level* | false |
griefprevention:trust-inventory |
if the player has inventory trust level* | true |
griefprevention:trust-manage |
if the player has manage trust level* | false |
*Note: Claim owners default to true
for all trust level contexts if they're in their own claim
For HuskClaims:
- Replace
griefprevention:
withhuskclaims:
in the context key - HuskClaims doesn't have a
claim-id
key - Supports custom made trust levels too!
If you need any help or support join the discord!
Example Setup:
Want to prevent players from setting homes in claims they don't have atleast build trust in? You can do the following
Set essentials.sethome
to false
with the following contexts:
griefprevention:in-claim
=true
griefprevention:trust-build
=false
This plugin uses bStats. You can opt-out in the bStats config