qGP-Contexts
作者:rebot | 分类:模组
Minecraft 版本: 1.21 1.21.1 1.21.2 1.21.3 1.21.4 1.21.5 1.21.6 1.21.7 1.21.8 1.21.9 1.21.10 1.21.11 26.1 26.1.1 26.1.2 26.2
平台: paper
标签: management utility
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-idkey - 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 build trust in? You can do the following
- Set
essentials.sethometotrueas you would normally. - Set
essentials.sethometofalsewith contextgriefprevention:trust-buildtofalse

This plugin uses bStats. You can opt-out in the bStats config
请登录后举报
暂无评论,抢个沙发吧~