Перейти к содержимому
Mineforgian

qGP-Contexts

GriefPrevention addon that adds LuckPerms contexts

366 загрузок3 подписчиковGPL-3.0-or-laterpaper

Обновлён 19 июля 2024 г. · опубликован 19 июля 2024 г.

Modrinth Discord GitHub Paypal Supported Minecraft Versions


A GriefPrevention addon to provide contexts to LuckPerms permissions


Now with HuskClaims support!

Requirements:

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: with huskclaims: 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 build trust in? You can do the following

  • Set essentials.sethome to true as you would normally.
  • Set essentials.sethome to false with context griefprevention:trust-build to false

GP Contexts Permissions


This plugin uses bStats. You can opt-out in the bStats config

bStats for qTemplate Plugin

Версии

ВерсияКаналИграЗагрузчикиДатаСкачать
1.0.0-ALPHA2Альфа26.1, 26.1.1, 26.1.2, 26.2paper19 июля 2024 г.Скачать (35 КБ)
1.0.0-ALPHA1Альфа1.21paper19 июля 2024 г.Скачать (33 КБ)

Ченджлог

1.0.0-ALPHA2Альфа26.1.1, 26.1.2, 26.2 · 19 июля 2024 г.
  • Adds HuskClaims support
  • Renames griefprevention:is-admin-claim to griefprevention:in-admin-claim
  • Fixes error where griefprevention:in-admin-claim never reset to false
1.0.0-ALPHA1Альфа1.21 · 19 июля 2024 г.

Initial release

Комментарии

Загружаем…