Download qGP-Contexts — Minecraft Mods — ModStock

qGP-Contexts

Active

Downloads

0

Last update

11 months ago

Versions

1.21 — 1.21.3
Server
Control
Utils
[![Modrinth][modrinth-shield]][modrinth-url] [![Discord][discord-shield]][discord-url] [![GitHub][github-shield]][github-url] [![Paypal][paypal-shield]][paypal-url] [![Supported Minecraft Versions][versions-shield]][versions-url]

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][bstats-plugin-svg]][bstats-plugin-url]
Project members
QarthO

QarthO

Developer