-
Notifications
You must be signed in to change notification settings - Fork 91
PvP
bloodmc edited this page Jun 4, 2022
·
11 revisions
GriefDefender has the ability to control PvP globally, per user/group, or per claim.
Here are a few examples on how to configure PvP
Note: These examples assume a clean installation with no modified settings.
To disable PvP on server, open server.properties and set pvp to false (On Sponge, set PVP to false in the Sponge config).
- Open
presets/minecraft.confin the GD config directory. - Change
default-value=truetodefault-value=falseunder thepvpdefinition - Toggle the
pvpdefinition to true in claims where pvp is wanted - Optional: Move the
pvpflag definition from USER group to ADMIN group inminecraft.conf
Note: Make this change if you ONLY want admins to be able to togglepvpin claims. /gdreload
- Run command
/cfp <player> entity-damage player false source=player
- Run command
/cfg <group> entity-damage player false source=player
If you want to allow users to enable/disable PvP then have them do the following
- Run command
/cfto launch flag GUI. - Make sure
PRESETUSERtab is selected. - Toggle
pvptofalse.
- Run command
/cfto launch flag GUI. - Make sure
PRESETUSERtab is selected. - Toggle
pvptofalseortrue.