Skip to main content

Permissions

infoInfoAbout 7 min

Grant griefdefender.user.* to your players and both griefdefender.user.* and griefdefender.admin.* to your staff/admins then deny permissions you do NOT want.

IMPORTANT

Warning

If you do NOT grant the permission nodes above and instead grant singular permission nodes, you will not be supported as this goes against our recommendation.

If you alter any admin permissions while in-game, make sure you run /gdreload as GD caches various permissions for performance gains.
Wildcard permission * is currently not supported.
Use griefdefender.user.* and griefdefender.admin.* for admins instead.

As GD makes heavy use of LP's default group, the following MUST be setup properly or GD will not function properly

  • All non-griefdefender LP groups have a path in inheritance to the default group.
  • The default group is inheriting GD's delivered groups : griefdefender_option griefdefender_override
  • The default group is NOT disabled. LP strongly recommends to never disable this group.
    See LuckPerms - Default Groupsopen in new window

LuckPerms

For large minecraft networks

If you manage a large network of minecraft servers and are using a centralized Luckperms database, make sure to follow Luckperms - Syncing data between serversopen in new window if you want Luckperms updates to be synchronized across all servers instantly.

On first server boot of GriefDefender, 5 LP groups will automatically be created if they do not already exist.

  • griefdefender_claim - Stores all flag permissions applied to single claims via /cf command.
    ex. Executing the command /cf block-place minecraft:wool true would have the permission stored in this group.
    Note: This does not store permissions made through Flag Preset GUI.

  • griefdefender_default - Stores all flag permissions that contain gd_claim_default contexts via /cf command.
    ex. Executing the command /cf block-place minecraft:wool true default=user would have the permission stored in this group.
    Note: This does not store permissions made through Flag Preset GUI.

  • griefdefender_definition - Stores all flag definition permissions applied via /cf GUI.
    Note: This does not store permissions made through Flag Advanced GUI.

  • griefdefender_option - Stores all option meta permissions applied via command or GUI.

  • griefdefender_override - Stores all flag permissions that contain gd_claim_override context.

  • griefdefender_claim_group - Stores all flag permissions applied to group claims via /cf command.

  • griefdefender_trust_resident - Stores all trust permissions that have resident.

  • griefdefender_trust_accessor - Stores all trust permissions that have accessor.

  • griefdefender_trust_builder - Stores all trust permissions that have builder.

  • griefdefender_trust_container - Stores all trust permissions that have container.

  • griefdefender_trust_manager - Stores all trust permissions that have manager.

Luckperms default node weight

griefdefender_option should have 0 weight
griefdefender_override should have -40 weight
griefdefender_claim should have -60 weight
griefdefender_trust_manager should have -70 weight
griefdefender_trust_builder should have -71 weight
griefdefender_trust_container should have -72 weight
griefdefender_trust_accessor should have -73 weight
griefdefender_trust_resident should have -74 weight
griefdefender_claim_group should have -75 weight
griefdefender_definition should have -80 weight
griefdefender_default should have -100 weight

Useful MySQL DB queries

⚠️ Replace minecraft with LuckPerms DB name and griefdefender with GD DB name

Select all admin claim permissions

SELECT A.* FROM minecraft.luckperms_group_permissions A, griefdefender.gd_claim_data B WHERE A.contexts LIKE CONCAT('%', BIN_TO_UUID(B.claim_uuid), '%') AND B.claim_type = 'admin'
UNION
SELECT * FROM minecraft.luckperms_group_permissions WHERE contexts LIKE CONCAT('%gd_claim_default":"admin"%')

Select all user claim permissions

SELECT A.* FROM minecraft.luckperms_group_permissions A, griefdefender.gd_claim_data B WHERE A.contexts LIKE CONCAT('%', BIN_TO_UUID(B.claim_uuid), '%') AND B.claim_type <> 'admin'
UNION
SELECT * FROM minecraft.luckperms_group_permissions WHERE contexts LIKE CONCAT('%gd_claim_default":"basic"%') OR contexts LIKE CONCAT('%gd_claim_default":"user"%') 

Delete all user claim permissions

Warning

Backup LuckPerms database before performing deletes.
You have been WARNED!

DELETE FROM minecraft.luckperms_group_permissions A, griefdefender.gd_claim_data B WHERE A.contexts LIKE CONCAT('%', BIN_TO_UUID(B.claim_uuid), '%') AND B.claim_type <> 'admin'
DELETE FROM minecraft.luckperms_group_permissions WHERE contexts LIKE CONCAT('%gd_claim_default":"basic"%') OR contexts LIKE CONCAT('%gd_claim_default":"user"%') 

User Permissions

Claims

Permission NodeDescription
griefdefender.user.claim.command.abandon.basicAllows to abandon basic claims
griefdefender.user.claim.command.abandon.townAllows to abandon town claims
griefdefender.user.claim.command.abandon-allAllows to abandon all claims
griefdefender.user.claim.command.abandon-top-levelAllows to abandon a claim and all its subdivisions
griefdefender.user.claim.command.basic-modeAllows to use basic claim shovel mode
griefdefender.user.claim.command.bankAllows to use claim bank
griefdefender.user.claim.command.buyAllows to buy a claim (Requires economy plugin)
griefdefender.user.claim.command.buy-blocksAllows to buy claim blocks (Requires economy plugin)
griefdefender.user.claim.command.claim.taxAllows to check/pay tax balance
griefdefender.user.claim.command.contractAllows to contract(shrink) a claim in a direction
griefdefender.user.claim.command.cuboidAllows to toggle cuboid claims mode
griefdefender.user.claim.command.expandAllows to expand a claim in a direction
griefdefender.user.claim.command.farewellAllows to set a claim farewell
griefdefender.user.claim.command.give.blocksAllows to give claim blocks to another player
griefdefender.user.claim.command.give.petAllows a player to give away a pet they tamed
griefdefender.user.claim.command.greetingAllows to set a claim greeting
griefdefender.user.claim.command.info.othersAllows to get information about others claims
griefdefender.user.claim.command.info.baseAllows to get information about claims
griefdefender.user.claim.command.info.teleport.othersAllows a user to use the teleport feature in claiminfo on other claims
griefdefender.user.claim.command.info.teleport.baseAllows a user to use the teleport feature in claiminfo
griefdefender.user.claim.command.inheritAllows to toggle inheritance from parent claim
griefdefender.user.claim.command.list.baseAllows to list your claims
griefdefender.user.claim.command.list.othersAllows to list other players claims
griefdefender.user.claim.command.list-flagsAllows to list claim flags
griefdefender.user.claim.command.nameAllows to set a claimname
griefdefender.user.claim.command.sellAllows to sell a claim (Requires economy plugin)
griefdefender.user.claim.command.sell-blocksAllows to sell claim blocks (Requires economy plugin)
griefdefender.user.claim.command.set-spawnAllows to set claim spawn
griefdefender.user.claim.command.spawnAllows to use claim spawn
griefdefender.user.claim.command.subdivide-modeAllows to use subdivide shovel mode
griefdefender.user.claim.command.town-modeAllows to use town shovel mode
griefdefender.user.claim.command.transferAllows to transfer own claims
griefdefender.user.claim.command.trappedTeleports the player to a safe location if stuck and unable to build
griefdefender.user.claim.command.unlock-dropsAllows other players to pickup any items dropped from death
griefdefender.user.claim.command.worldedit-claimAllows to use a worldedit selection to create a claim.
griefdefender.user.claim.command.claim-toolAllows whether players can use the claim tool.
griefdefender.user.claim.create.baseAllows to create a basic claim
griefdefender.user.claim.create.basicAllows to create/resize basic claims
griefdefender.user.claim.create.subdivisionAllows to create/resize subdivision claims
griefdefender.user.claim.create.townAllows to create/resize town claims
griefdefender.user.claim.create.cuboid.basicAllows to create/resize basic claims in 3D mode
griefdefender.user.claim.create.cuboid.subdivisionAllows to create/resize subdivision claims in 3D mode
griefdefender.user.claim.create.cuboid.townAllows to create/resize town claims in 3D mode
griefdefender.user.claim.resizeAllows to resize claims
griefdefender.user.claim.show-tutorialAllows to see claim tutorial text when creating/resizing claims
griefdefender.user.claim.list.otherAllows to list other player claims
griefdefender.user.claim.visualize.baseAllows player to visualize their claims
griefdefender.user.claim.visualize.nearbyAllows player to visualize nearby claims
griefdefender.user.command.info.baseAllows to get information about self
griefdefender.user.command.info.othersAllows to get information about another player
griefdefender.user.command.versionAllows to get information about GD, server and LP versions
griefdefender.user.town.command.bank
griefdefender.user.town.command.info.baseAllows to get information about town claims
griefdefender.user.town.command.info.othersAllows to get information about others town claims
griefdefender.user.town.command.nameAllows to set a town claimname
griefdefender.user.town.command.tagAllows to set the tag of your town

Flags

Permission NodeDescription
griefdefender.admin.claim.command.flag.argAllows to use the claimflag command with command line arguments
griefdefender.user.claim.command.flag.baseAllows to use the claimflag command
griefdefender.user.claim.command.flag.guiAllows to use the claimflag command GUI
griefdefender.user.claim.command.flag.debugAllows to toggle claim flag debug mode
griefdefender.user.claim.command.flag.playerAllows to use the claimflag for players command
griefdefender.user.claim.command.flag.groupAllows to use the claimflag for groups command
griefdefender.user.claim.command.flag.resetAllows to use the claimreset command
griefdefender.user.claim.flagBase permission used to check if user has access to use a specific core flag.
The format is griefdefender.user.claim.flag.<flag_name>.
Note: This is checked when accessing the flag ADVANCED GUI section and when using the flag command with arguments.
Note: The flag name is not to be confused with a definition flag name. This checks for GD's core flags. The list can be found here

Flag Definitions

Permission NodeDescription
griefdefender.admin.custom.flagBase permission used to check if user has access to a specific admin flag definition.
The format is griefdefender.admin.custom.flag.<preset>.<group>.<definition_flag_name>.
Note: By default, this manages the delivered admin group which is mapped to the ADMIN tab.
griefdefender.user.custom.flagBase permission used to check if user has access to a specific user flag definition.
The format is griefdefender.user.custom.flag.<preset>.<group>.<definition_flag_name>.
Note: By default, this manages the delivered user group which is mapped to the USER tab.

*See Flag Definitions GUI for information on how to manage the flag GUI for both users and admins.

Options

Permission NodeDescription
griefdefender.admin.claim.command.option.baseAllows to use the claimoption command
griefdefender.admin.claim.command.option.groupAllows to set group options in claims
griefdefender.admin.claim.command.option.playerAllows to set player options in claims
griefdefender.admin.claim.optionAllows to set options in claims
griefdefender.admin.option.perk.fly.ownerAllows owners to fly in their own claim
griefdefender.admin.option.perk.fly.residentAllows users to fly in claims where they have resident trust
griefdefender.admin.option.perk.fly.accessorAllows users to fly in claims where they have accessor trust
griefdefender.admin.option.perk.fly.builderAllows users to fly in claims where they have builder trust
griefdefender.admin.option.perk.fly.containerAllows users to fly in claims where they have container trust
griefdefender.admin.option.perk.fly.managerAllows users to fly in claims where they have manager trust

Trust

Permission NodeDescription
griefdefender.user.claim.command.trust.playerAllows to grant player trust
griefdefender.user.claim.command.trust.listAllows to list trusted players
griefdefender.user.claim.command.trustall.groupAllows to grant group trust to all claims
griefdefender.user.claim.command.trustall.playerAllows to grant player trust to all claims
griefdefender.user.claim.command.untrust.groupAllows to revoke group trust
griefdefender.user.claim.command.untrust.playerAllows to revoke player trust
griefdefender.user.claim.command.untrustall.groupAllows to revoke group trust to all claims
griefdefender.user.claim.command.untrustall.playerAllows to revoke player trust to all claims
griefdefender.user.claim.trust.residentAllows to add residents
griefdefender.user.claim.trust.accessorAllows to add accessors
griefdefender.user.claim.trust.containerAllows to add containers
griefdefender.user.claim.trust.builderAllows to add builders
griefdefender.user.claim.trust.managerAllows to add managers
griefdefender.user.claim.trust.removeAllows to untrust players

Trust interface

Permission NodeDescription
griefdefender.advanced.user.gui.flag.group.ownerAdds a button to the interface to control the trust of owner
griefdefender.advanced.user.gui.flag.group.accessorAdds a button to the interface to control the trust of accessor
griefdefender.advanced.user.gui.flag.group.containerAdds a button to the interface to control the trust of container
griefdefender.advanced.user.gui.flag.group.builderAdds a button to the interface to control the trust of builder
griefdefender.advanced.user.gui.flag.group.managerAdds a button to the interface to control the trust of manager
griefdefender.advanced.user.gui.flag.group.residentAllows user to see RESIDENT tab in flag GUI.

Admin Permissions

Permission NodeDescription
griefdefender.advanced.admin.flagDetermines if user can use a specific flag as argument in a flag command.
griefdefender.advanced.admin.flagsAllows usage of advanced mode in flag GUI
griefdefender.advanced.admin.flags.argAllows user to use flag commands /cf, /cfg, /cfp with arguments.
griefdefender.advanced.admin.optionDetermines if user can use a specific option as argument in an option command.
griefdefender.advanced.admin.options.argAllows user to use option commands /co, /cog, /cop with arguments
griefdefender.admin.bypass.banAllows bypass of bans
griefdefender.admin.bypass.border-checkAllows bypass of claim border checks
griefdefender.admin.bypass.optionAllows bypass of options
griefdefender.admin.bypass.override.resizeAllows bypass of claim resize restrictions
griefdefender.admin.bypass.override.limitAllows bypass of claim creation limit restrictions
griefdefender.admin.claim.command.trust.groupAllows to grant group trust
griefdefender.admin.claim.command.adjust-claim-blocksAllows to edit amount of bonus claim blocks
griefdefender.admin.claim.command.admin-modeAllows to use admin claim shovel mode
griefdefender.admin.claim.command.banAllows to ban or unban an item, block, or entity id from all usage
griefdefender.admin.claim.command.clearAllows to clear entities within one or more claims
griefdefender.admin.claim.command.schematicAllows to manage claim schematics
griefdefender.admin.claim.command.debugAllows to use GDdebug
griefdefender.admin.claim.command.delete.baseAllows to use the deleteclaim command
griefdefender.admin.claim.command.delete.basicAllows to delete basic claims
griefdefender.admin.claim.command.delete.adminAllows to delete admin claims
griefdefender.admin.claim.command.delete-claimsAllows to delete all of another player's claims
griefdefender.admin.claim.command.ignore.baseAllows to use the ignore claims command
griefdefender.admin.claim.command.ignore.basicAllows to ignore basic claim flags
griefdefender.admin.claim.command.ignore.adminAllows to ignore admin claim flags
griefdefender.admin.claim.command.ignore.townAllows to ignore town claim flags
griefdefender.admin.claim.command.ignore.wildernessAllows to ignore wilderness claim flags
griefdefender.admin.claim.command.permission-groupAllows to use the claim command for group permissions
griefdefender.admin.claim.command.permission-playerAllows to use the claim command for player permissions
griefdefender.admin.claim.command.reserve-nameAllows to reserve claim names
griefdefender.admin.claim.cuboidAllows to create/resize admin claims in 3D mode
griefdefender.admin.claim.list.adminAllows to list admin claims
griefdefender.admin.claim.option.globalAllows to manage global options
griefdefender.admin.claim.resizeAllows to resize claims
griefdefender.admin.claim.resize.adminAllows to resize admin claims
griefdefender.admin.claim.resize.admin.subdivisionAllows to resize admin claim subdivisions
griefdefender.admin.claim.resize.basicAllows to resize basic claims
griefdefender.admin.claim.resize.basic.subdivisionAllows to resize basic claim subdivisions
griefdefender.admin.claim.resize.townAllows to resize town claims
griefdefender.admin.claim.set-admin-flagsAllows to edit flags in an admin claim
griefdefender.admin.claim.use-reserved-namesAllows to use reserved claim names
griefdefender.admin.claim.wildernessAllows to edit wilderness claims
griefdefender.admin.command.delete-admin-claimsAllows to delete all admin claims
griefdefender.admin.command.reloadAllows to reload GP
griefdefender.admin.command.restore-claim.baseAllows to restore claim to its natural state
griefdefender.admin.command.restore-nature.baseAllows to switch shovel tool to restoration mode.
griefdefender.admin.command.set-accrued-claim-blocksAllows to edit amount of accrued claim blocks
griefdefender.admin.custom.flagAllows to use advanced claim flags in GUI
griefdefender.admin.flag-defaultsAllows to edit flag defaults
griefdefender.admin.flag-overridesAllows to edit flag overrides

Snapshot

Permission NodeDescription
griefdefender.advanced.user.claim.command.snapshotAllows user to use /claimsnapshot command.
griefdefender.advanced.user.claim.command.playerAllows user to use /claimgroup command.
griefdefender.advanced.user.snapshot.create.userAllows user to create claim snapshots stored with user.
griefdefender.advanced.user.snapshot.create.claimAllows user to create claim snapshots stored with claim.
griefdefender.advanced.admin.snapshot.create.adminAllows user to create admin claim snapshots.
griefdefender.advanced.admin.snapshot.create.publicAllows user to create public claim snapshots that all users with public view access can see.
griefdefender.advanced.user.snapshot.view-publicAllows user to view/use public claim snapshots.

Options

Permission NodeDescription
griefdefender.admin.claim.command.option.group.baseAllows to set group options in claims
griefdefender.admin.claim.command.option.player.baseAllows to set player options in claims

Misc

Permission NodeDescription
griefdefender.user.command.helpAllows to you the view the help
griefdefender.user.chat.captureAllows to record chat in command GUI's
griefdefender.login.inventory-guiSets user or group to use the Inventory GUI on login