PvPToggleX
PvPToggleX is a lightweight Minecraft plugin that lets server admins control PvP globally or per dimension, with support for timed toggles, automatic interval switching, and lava placement blocking.
PvPToggleX
PvPToggleX
PvPToggleX is a versatile and lightweight Minecraft plugin that allows server administrators to manage PvP (Player vs Player) combat globally or per dimension. It includes features for timed toggles, automatic interval toggling, and blocking lava placement when PvP is disabled to prevent griefing.
Features
- Fully Configurable: Toggle PvP on or off for the entire server. - Fully Configurable: Manage PvP settings independently for the Overworld, Nether, and End. - Fully Configurable: Schedule PvP to turn on or off after a specific duration (e.g., enable PvP for 60 seconds). - Fully Configurable: Set PvP to automatically toggle on and off at a defined interval (e.g., every 5 minutes). - Fully Configurable: Option to block lava bucket placement near other players when PvP is disabled. - Fully Configurable: Customize all messages, settings, and lava protection rules via.
Commands
All commands require the `pvptoggle.use` permission (default: OP).
General Control
| Command | Usage | Description | | :--- | :--- | :--- | | `/pvp` | `/pvp <on|off> [time]` | Toggles PvP for all dimensions. | | `/pvpoverworld` | `/pvpoverworld <on|off> [time]` | Toggles PvP for the Overworld only. | | `/pvpnether` | `/pvpnether <on|off> [time]` | Toggles PvP for the Nether only. | | `/pvpend` | `/pvpend <on|off> [time]` | Toggles PvP for the End only. |
Automatic Intervals
| Command | Usage | Description | | :--- | :--- | :--- | | `/pvptoggle` | `/pvptoggle <time> | off` | Toggles PvP on/off globally every X seconds. | | `/pvptoggleoverworld` | `/pvptoggleoverworld <time> | off` | Interval toggling for Overworld. | | `/pvptogglenether` | `/pvptogglenether <time> | off` | Interval toggling for Nether. | | `/pvptoggleend` | `/pvptoggleend <time> | off` | Interval toggling for End. |
Configuration
| Command | Usage | Description | | :--- | :--- | :--- | | `/pvptogglex` | `/pvptogglex reload` | Reloads the configuration file. |
Configuration
You can customize all chat messages and plugin settings in the configuration file.
Key Settings: * `disable-lava`: Set to `true` to block lava placement near players when PvP is off. * `lava-radius`: Distance in blocks to check for nearby players (default: 2). * `toggleInterval`: Default interval for automatic toggling.