RSSy MYGO.pl Opublikowano Styczeń 5, 2018 o 07:25 RSSy Udostępnij Opublikowano Styczeń 5, 2018 o 07:25 Hello, I could not really find a plugin that autokick afk player(s) while the server is full, so I made one :D. PHP Code: // This file was auto-generated by SourceMod (v1.9.0.6224)// ConVars for plugin "_AutoKickWhenFull.smx"// (Seconds)afk time before they will get kicked// -// Default: "420"// Minimum: "1.000000"konfull_afk_time "420"// check spec team like players for movement [0 = consider spec as AFK! 1 = check as player]// -// Default: "0"konfull_check_spec_for_movement "1"// Should we only kick when server is full [1 = true 0 = false]// -// Default: "1"konfull_kick_on_full "1" PHP Code: These adminflags are immune to autokicking.ADMFLAG_RESERVATIONADMFLAG_ROOT Tested in Left 4 dead but should work in other games Detection is based on Button changes and mouse movement. And checks for convar sv_visiblemaxplayers if it's -1 or not found will use GetMaxHumanPlayers() insteadGithub Repo Attached Files Get Plugin or Get Source (_AutoKickWhenFull.sp - 5.5 KB) Wyświetl pełny artykuł Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi
Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto
Jedynie zarejestrowani użytkownicy mogą komentować zawartość tej strony.
Zarejestruj nowe konto
Załóż nowe konto. To bardzo proste!
Zarejestruj sięZaloguj się
Posiadasz już konto? Zaloguj się poniżej.
Zaloguj się