0
0
mirror of https://github.com/Pumpkin-MC/Pumpkin-Website.git synced 2025-02-11 22:50:55 +00:00
Alexander Medvedev 530524b739 init
2024-12-22 19:45:25 +01:00

1.1 KiB

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.

:::code-group

[pvp]
enabled = true

:::

hurt_animation: Boolean

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

:::code-group

[pvp]
hurt_animation = true

:::

protect_creative: Boolean

Whether to protect players in creative againest PVP or not.

:::code-group

[pvp]
protect_creative = true

:::

knockback: Boolean

Whether attacks should have knockback or not.

:::code-group

[pvp]
knockback = true

:::

swing: Boolean

Whether players should swing when attacking or not.

:::code-group

[pvp]
swing = true

:::

Default Config

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

:::code-group

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

:::