Skip to content

PVP

PVP is a core part of vanilla mechanics, with even the smallest change affecting gameplay. Pumpkin allows you to fully configure PVP.

Configuring PVP

enabled: Boolean

Whether PVP is enabled or not.

toml
[pvp]
enabled = true

hurt_animation: Boolean

Whether to show red hurt animation and FOV bobbing or not.

toml
[pvp]
hurt_animation = true

protect_creative: Boolean

Whether to protect players in creative againest PVP or not.

toml
[pvp]
protect_creative = true

knockback: Boolean

Whether attacks should have knockback or not.

toml
[pvp]
knockback = true

swing: Boolean

Whether players should swing when attacking or not.

toml
[pvp]
swing = true

Default Config

By default all PVP options are enabled to match vanilla behavior.

toml
[pvp]
enabled = true
hurt_animation = true
protect_creative = true
knockback = true
swing = true

Released under the MIT License.