Skip to content

Claim Management

Angel Avila edited this page Dec 29, 2020 · 29 revisions

GriefDefender is a plugin that provides self-service region protection functionality, giving you additional options to fine tune aspects such as door, chest, and build permissions for users or groups of users! Below some basic instructions for claim management for more fine tuned control over your claims check out the Flags page.

All the examples are with the defaults at the time of writing this in mind.

Claim Creation

There are three types of claims, admin, town and basic, with each having a 2D and 3D mode. To switch between types use /adminclaims, /townclaims and /basicclaims. Admin claims have no size limitations and different flags compared to basic claims which normal players can make. Towns can also be made by players, and supports the creation of basic claims within town claims. The two different modes, (3D and 2D) are defined in the way the claims are shaped. To switch between modes use /cuboidclaims: 2D claims will go from bedrock to max Y-level (Default 255). In 3D mode the Y-level is set depending on where exactly you clicked allowing for more control over your exact claim size.
For a player to claim chunks they need the permissions and enough claim-blocks for the size of their claim which can be configured with Options.

Golden Shovel

You create claims with a golden shovel (item can be changed in the configs), which can also change claim size and position. Remember there are commands to switch claim type and mode, /adminclaims, /townclaims and /basicclaims!

  • Creating a new claim: Right click at two points to mark the corners
  • Resizing a claim: Right click once in an existing claim to see the markers. Right click on a corner block and then again on a different position to move that corner.
  • Cancelling operations: Putting away a golden shovel without completing an operation cancels all actions

The shovel can also be used to subdivide a basic. To switch to that mode, use /claimsubdivide. All three main claim types support direct child claims (subdivisions) - Town, Admin and Basic.

Wooden stick

Basic tool, you can use it to indicate the position of claims, and identify who the owners of the claims are.

  • Right clicking shows existing claim locations
  • Shift right clicking searches for all claims in a 100 block radius and shows their location
  • Left clicking hides the markers

Claim Settings

To get general information about claims use /claiminfo while standing in them. Hover over things to find various details you can change directly without entering any commands. There are also commands to change the claim name, greeting, and farewell.

Claim Entry Control

Allowing other players to access your claim

You can give other players access to your basic claim using the trust commands, e.g. to give your friend "Applehead" building permissions to your claim just run /trust Applehead.

Require trust for players to enter claims

  • Edit the flags.conf file within the plugin folder.
  • Modify the player-enter definition to the following
player-enter {
    contexts=[
        "gd_claim_default=global"
    ]
    default-value=false
    description="Controls whether a player can enter this claim."
    enabled=true
    permissions=[
        "flag=enter-claim, source=minecraft:player"
    ]
}
  • Restart server or use /gdreload to refresh flag definitions.

Once the above is done, no player will be able to enter other player claims unless they are trusted.

To allow entry for all users /at public

To allow entry for a single user /at <playername>

To remove entry for all users /untrust public

To remove entry for a specific user /untrust <playername>

Allow players to enter claims by default but give them the ability to control

Admin must do the following

  1. Edit flags.conf and move player-enter definition to user section.

Player could then do the following

  1. Run command /cf
  2. Click USER tab
  3. Toggle player-enter flag

How to disable claiming/GD functionality

Disable claiming in a specific world

To disable creating claims for a specific group of users in a world called valhalla, enter the following command
/lp group <group> permission set griefdefender.user.claim.create.* false world=valhalla

Disable GD in a specific world

To disable GD functionality in an overworld world named valhalla, go to GD config folder then to worlds

You will see the following folders

nether
normal
the_end

Since the world valhalla is of type overworld , go into normal folder. You will see a folder named valhalla. Inside this folder will be a config folder named world.conf. Edit the config file to be the following

# 1.2.7
# # If you need help with the configuration or have any issues related to GriefDefender,
# # create a ticket on https://github.com/bloodmc/GriefDefender/issues.
# # Note: If you have not purchased GriefDefender, please consider doing so to get 
# # exclusive access to Discord for prompt support.
# 

GriefDefender {
    claim {
        # Whether claiming is enabled or not. (0 = Disabled, 1 = Enabled)
        claims-enabled=0
    }
}

FAQ

**1. How do allow all users to create claims for free? ** A. Set meta griefdefender.initial-blocks to a high value such as 9999999999. See https://github.com/bloodmc/GriefDefender/wiki/Options-(Meta)#luckperms. You should also disable use-claim-block-task under economy category in global.conf so players do not accrue claim blocks.

**2. How do I transfer a claim to another player for free? ** A. Create claim, use /claiminfo -> Admin Settings and toggle Requires Claim Blocks to false. Then use /claimtransfer <playername> to transfer claim to player.

3. How do I create a claim using WorldEdit?
A. First make sure your wand is set for cuboid mode as GD only supports cuboid. Use the wand to select your 2 points. If you want to create a 2D claim from bedrock to sky then type /claimwe. If you want to create a 3D claim that respect the height of your selection then type /cuboid then /claimwe. Using /cuboid will put you into 3D claiming mode where your selection will always respect block height.

**4. How do I make use of WECUI visuals with GD claims? ** A. Make sure you use the investigation tool (minecraft:stick by default) or are in /claimmode then right-click an area.

**5. How do I allow everyone to access my spawn? ** A. Give them accessor trust by using /at public where public represents all players. See https://github.com/bloodmc/GriefDefender/wiki/Trust-System. If you need more detailed protection then use the flag system. See https://github.com/bloodmc/GriefDefender/wiki/Flag-Definitions-GUI

**6. How do I select a specific claim to work in? (change settings, etc..) ** A. Most GD commands will use the claim you are standing in. Simply stand in the claim and make your change. If the claim is far, use /claimlist and TP to it.

**7. How do I test flags as a non-trusted user in a claim? ** A. Use /cfdebug to put yourself into claim flag debug mode then perform any action. This will internally set you as a non-trusted player for all claims. When done, simply run /cfdebug command again.

Clone this wiki locally