[FilterScript] Pause Check & Kick!
#1

Pause Check and Kick!


so, Here's a simple pause checker and kick! filterscript

Requirments:
None.

Contains:
Checks if a player was AFK for 2 minutes, it kicks them. (you of course can edit it to fit your own will)

THAT'S IT

Just open this pastebin: http://pastebin.com/vg4dfjrp
and copy it's components in your gamemode

Thank You,
Vanter
Reply
#2

Cool...
Reply
#3

Very easy and simple script, it'll be helpful to some people who might want to implement AFK checks into their server.
Reply
#4

Not that efficient. There's a better method.
Reply
#5

Thanks all for your comments, yeah it's supposed to be simple.
Reply
#6

nice, i like that
Reply
#7

I dont like that, when i ESC to change my screen resolution or something like this i'll get kick? lol

@Edit: It probably dont works, this script haven't a timer to check for the pausing, and haven't a detection method for pressing ESC key, surely dont works. This script just compares the old and new position of player, if you aren't moving you get kick (or no, because the public will never be called).
Reply
#8

There is better methods to check if a player is paused and also PauseCheck won't get check unless you add a timer to it.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)