This plugin was designed to be a light-weight option to prevent players from exploiting other players that have recently disconnected due to network problems or after a server has crashed.
If you sleep in the open then you're fair game, but accidents happen and this helps prevent users from freaking out when they lose their connection. This plugin now also optionally protects players from taking damage. To avoid this being abused during raids consider setting to a reasonable time of 300 seconds. Any attempt to loot or damage a protected player will result in a warning message in the players chat and a warning in the server console. Track toxic players who try and take advantage of people on your server.
DC_DelayInSeconds : Defaults to 300 seconds (5 minutes) - Time after a disconnect to protect a player
Start_DelayInSeconds: Defaults to 300 seconds (5 minutes) - Time after a server starts to protect all players
PreventDamage: defaults to true - Prevents damage to protected players
PreventLooting: defaults to true - Prevents looting of protected players
If you sleep in the open then you're fair game, but accidents happen and this helps prevent users from freaking out when they lose their connection. This plugin now also optionally protects players from taking damage. To avoid this being abused during raids consider setting to a reasonable time of 300 seconds. Any attempt to loot or damage a protected player will result in a warning message in the players chat and a warning in the server console. Track toxic players who try and take advantage of people on your server.
Chat Commands
- /dcp add -- Add player you are looking at to the list of protected players for testing
- /dcp remove -- Remove player you are looking at from the list of protected players
- /dcp list -- List all current user IDs that are protected
- /dcp time -- Show the number of seconds since the server started for troubleshooting your configuration
Configuration
The settings and options can be configured in the DCProtect file under the config directory. The use of an editor and validator is recommended to avoid formatting issues and syntax errors.DC_DelayInSeconds : Defaults to 300 seconds (5 minutes) - Time after a disconnect to protect a player
Start_DelayInSeconds: Defaults to 300 seconds (5 minutes) - Time after a server starts to protect all players
PreventDamage: defaults to true - Prevents damage to protected players
PreventLooting: defaults to true - Prevents looting of protected players