ChanceSD/PvPManager

PVP LogOut

Closed this issue · 3 comments

Hello, does the plugin already have or will it be possible to prevent players who have been damaged from leaving the game, or who have hit themselves (are in PVP mode). It is not protection from auto-exit, but from manual exit? How does the auto-exit protection work, will it protect if the player has time to manually exit?

It can punish players that disconnect while they are in combat, I'm not sure what you mean by auto exit vs manual exit
Like pressing the disconnect button vs lagging out or do you mean something else

I'll give you an example:
player1 hit player2,
player2 understands that he won't win, just Alt+F4 and is saved.
Is it possible not to let player2 escape from PVP in this way when he has already entered the battle and decided not to die and save things in this way?

Most you can do is enable match kick reason here

Match Kick Reason: false
Kick Reasons:
- 'Kicked for spamming'
- 'disconnect.spam'
and only put the reasons you want, they are the ones that show in the console when a player leaves the server.