CombatControl - Advanced PvP Management Plugin
CombatControl is a lightweight yet powerful plugin designed to give players and server administrators complete control over PvP interactions. With beautiful gradient messages, intuitive commands, and efficient player status tracking, it's the perfect solution for servers that want to offer flexible PvP options.
✨ Key Features
- Toggle PvP Status: Players can enable or disable their PvP participation
- Beautiful Gradient Messages: All plugin messages use customizable gradient colors for a premium feel
- Real-Time Status Checking: Check your own or other players' PvP status instantly
- Automatic Update Notifications: Server admins get notified when new versions are available
- Minecraft 1.21 Ready: Fully compatible with the latest Minecraft features
- Highly Configurable: Customize messages, colors, and default settings
Commands
- /pvp - Toggle your PvP status on/off
- /pvp enable - Enable your PvP status
- /pvp disable - Disable your PvP status
- /pvp toggle - Alternative way to toggle status
- /status - Check your current PvP status
- /status <player> - Check another player's PvP status
Permissions
- combatcontrol.pvp - Allows use of the /pvp command (default: true)
- combatcontrol.status - Allows checking own status (default: true)
- combatcontrol.status.others - Allows checking others' status (default: op)
- combatcontrol.admin - Receives update notifications (default: op)
⚙️ Configuration
The plugin features a simple but comprehensive configuration system:
- Default PvP state for new players
- Update checker toggle
- Gradient message settings with customizable colors
- All messages can be fully customized
Code (YAML):
# CombatControl Configuration
# Default PvP state for players when they first join
default-pvp-enabled
: false
# Update checker settings
check-for-updates
: true
# Gradient settings
use-gradient-messages
: true
# Messages
messages:
prefix
: '&8
[&bCombatControl&8
] '
pvp-enabled
: '&aPvP has been enabled.'
pvp-disabled
: '&cPvP has been disabled.'
status-self
: 'Your PvP status is currently
:
{STATUS
}'
status-other
: '
{PLAYER
}''s PvP status is currently
:
{STATUS
}'
error-player-only
: 'This command can only be used by players.'
error-player-offline
: 'Player ''
{PLAYER
}'' is not online.'
warning-pvp-disabled-self
: 'You cannot attack players while your PvP is disabled.'
warning-pvp-disabled-other
: '
{PLAYER
} has PvP disabled.'
update-available
: 'A new version of CombatControl is available! Version
{VERSION
} can be downloaded from Spigot.'
# Gradient color settings (hex colors)
gradients:
info-start
: '
#969696'
info-end
: '
#DCDCDC'
success-start
: '
#00FF64'
success-end
: '
#64FFB4'
warning-start
: '
#FFFF00'
warning-end
: '
#FFC800'
error-start
: '
#FF3232'
error-end
: '
#FF6464'