-
Notifications
You must be signed in to change notification settings - Fork 96
PvP
kencinder edited this page Aug 23, 2021
·
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.conf
in the GD config directory. -
Change
default-value=true
todefault-value=false
under thepvp
definition -
Toggle the
pvp
definition to true in claims where pvp is wanted -
Optional: Move the
pvp
flag definition from USER to ADMIN inminecraft.conf
5: /gdreload
- Run command
/cfp <player> entity-damage player false context[source=player, override=global]
- Run command
/cfg <group> entity-damage player false context[source=player, override=global]
If you want to allow users to enable/disable PvP then have them do the following
- Run command
/cf
to launch flag GUI. - Make sure
PRESET
USER
tab is selected. - Toggle
pvp
tofalse
.
- Run command
/cf
to launch flag GUI. - Make sure
PRESET
USER
tab is selected. - Toggle
pvp
tofalse
ortrue
.