
qGP-Contexts
GriefPrevention addon that adds LuckPerms contexts
366 загрузок3 подписчиковGPL-3.0-or-laterpaper
Обновлён 19 июля 2024 г. · опубликован 19 июля 2024 г.
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
Версии
| Версия | Канал | Игра | Загрузчики | Дата | Скачать |
|---|---|---|---|---|---|
| 1.0.0-ALPHA2 | Альфа | 26.1, 26.1.1, 26.1.2, 26.2 | paper | 19 июля 2024 г. | Скачать (35 КБ) |
| 1.0.0-ALPHA1 | Альфа | 1.21 | paper | 19 июля 2024 г. | Скачать (33 КБ) |
Ченджлог
1.0.0-ALPHA2Альфа26.1.1, 26.1.2, 26.2 · 19 июля 2024 г.
- Adds HuskClaims support
- Renames
griefprevention:is-admin-claimtogriefprevention:in-admin-claim - Fixes error where
griefprevention:in-admin-claimnever reset to false
1.0.0-ALPHA1Альфа1.21 · 19 июля 2024 г.
Initial release
Комментарии
Загружаем…