Patch #841

Timed Auto-Kick of "Player"s

Added by petert about 10 years ago. Updated about 10 years ago.

Status:NewStart date:2010-03-17
Priority:NormalDue date:
Assignee:-% Done:


Target version:-


This patch checks if a client's name is Player, and if it is, the Server will kick the client. It is (by default) set to kick after 5 seconds, which can be changed. It will also (privately) notify the player that they are being kicked. I've put the checking code before the entry message so that the Server doesn't waste time messaging the player if they are going to be kicked anyway.

player-autokick.diff Magnifier (1000 Bytes) petert, 2010-03-17 18:51


#1 Updated by Ammler about 10 years ago

you could do it a bit friendlier:

- tell the "Player" to change nick in next min
- check again in 1min
- if nick is changed, fine, if not => kick

#2 Updated by petert about 10 years ago

That would be a lot of checking, which in-turn causes lag. I like the idea though, I'll try to make a patch tonight.

Also available in: Atom PDF