A smart Towny combat control plugin that prevents PvP abuse while respecting Town & WorldGuard. rules.
If a town has PvP ENABLED
If a town has PvP DISABLED
/townycombat reload| Permission | Description | Default |
|---|---|---|
townycombat.bypass |
Bypass combat restrictions | OP |
townycombat.reload |
Reload plugin configuration | OP |
combat:
duration-seconds: 10 # Duration in seconds a player stays in combat after being hit
behavior:
knockback-enabled: true # Enable knockback when a player tries to enter a PvP-disabled town
knockback-strength: 1.5 # Knockback power (recommended: 0.5 - 3.0)
allow-entry-if-pvp-enabled: true # If true, players can enter towns with PvP enabled
worldguard:
enabled: true # Enable WorldGuard integration
allowed-regions:
- "southlands" # Players who start combat outside these regions can enter towns freely
# Add more region names here (case-sensitive)
bypass:
ops-only: true # Only OPs can use the bypass permission by default
permission-node: townycombat.bypass # Permission for bypassing entry restrictions
messages:
blocked_message: "§cYou are in combat — you cannot enter a town!" # Message when entry is blocked