Thread Rating:
  • 2 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Released]  Anti High Ping
Plugin Version1.0.2
Plugin CategoryServer Management
Plugin DescriptionKicks players whos ping is above the set limit.
Plugin Downloadanti_high_ping.zip
#1
Simple Anti High Ping plugin which kicks player whos ping is above the set limit.

Installation:

Extract the zip file inside your /zps/data/scripts/plugins folder

Add the plugin to the default_plugins.txt

Code:
    "plugin"
    {
        "name"      "Anti High Ping"
        "script"    "anti_high_ping/ahp"
    }



New with 1.0.2 - Configuration File

With the new update the plugin will (if it doesn't exist) automatically create a file in zps/data/custom/ called anti_high_ping.zpdata (file can be opend with any text editor such as notepad or notepad++) alternatively you can manually create the file and use this code for the default settings:


Code:
1
2
3
4
5
6
7
8
9
"AntiHighPingConfig"
{
	"Config"
	{
		"MaxPing"		"150"
		"IgnoreAdmins"		"1"
		"MaxWarnings"		"5"
	}
}



Remember if you manually create it to save it as anti_high_ping.zpdata

Changelog
- 1.0.0 Release
- 1.0.1 Fix when the map changes the plugin stops working due disconnect / connect not being called on map change.
- 1.0.2 Added Configuration file for the CVars. Fixed where bots would be added to the check

Reply
#2
Lovely! Thank you for this!
Reply
#3
Any way to keep the ping-limit at a certain value even after restarts and crashes? Anytime the server crashes I have to reset the ping limit and admin kick values~
Reply
#4
Try latest version just updated it. Keep in mind though that I intentionally removed the messages you receive when you change the cvars ingame in favor of the configuration file. Also keep in mind that the config file is read once per map.
Reply
#5
(01-24-2018, 04:41 PM)XeroX Wrote: Try latest version just updated it. Keep in mind though that I intentionally removed the messages you receive when you change the cvars ingame in favor of the configuration file. Also keep in mind that the config file is read once per map.

Dunno if it needs another update- but occasionally I see multiple instances of PLAYER WAS Kicked, sometimes 2-3 times in chat. Then today this happened, given I just updated to 3.0.7


Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
"Game Over" has been kicked! (Your Ping is to high! Ping Limit: 300)
"Game Over" has been kicked! (Your Ping is to high! Ping Limit: 300)
"Game Over" has been kicked! (Your Ping is to high! Ping Limit: 300)
"Game Over" has been kicked! (Your Ping is to high! Ping Limit: 300)
"Game Over" has been kicked! (Your Ping is to high! Ping Limit: 300)
] admin ban game over 0
"Game Over" has been banned by permanently! (0)
"Game Over" has been kicked! (Your Ping is to high! Ping Limit: 300)
"Game Over" has been kicked! (Your Ping is to high! Ping Limit: 300)
"Game Over" has been kicked! (Your Ping is to high! Ping Limit: 300)
(KEYBOARD) Walls McLongclock :  :xg
"Game Over" has been kicked! (Your Ping is to high! Ping Limit: 300)
DaPope killed 25sxwhiting with carrierarms.
Dustin Hoffman :  lol
25sxwhiting + Khaztraz killed DaPope with usp.
"Game Over" has been kicked! (Your Ping is to high! Ping Limit: 300)
"Game Over" has been kicked! (Your Ping is to high! Ping Limit: 300)
"Game Over" has been kicked! (Your Ping is to high! Ping Limit: 300)
"Game Over" has been kicked! (Your Ping is to high! Ping Limit: 300)
] admin kick game
"Game Over" has been kicked!
"Game Over" has been kicked! (Your Ping is to high! Ping Limit: 300)
"Game Over" has been kicked! (Your Ping is to high! Ping Limit: 300)
"Game Over" has been kicked! (Your Ping is to high! Ping Limit: 300)
"Game Over" has been kicked! (Your Ping is to high! Ping Limit: 300)
"Game Over" has been kicked! (Your Ping is to high! Ping Limit: 300)
Pillz :  WHAT THE FUCK
"Game Over" has been kicked! (Your Ping is to high! Ping Limit: 300)
[SM] Time remaining for map:  10:51
"Game Over" has been kicked! (Your Ping is to high! Ping Limit: 300)
"Game Over" has been kicked! (Your Ping is to high! Ping Limit: 300)
"Game Over" has been kicked! (Your Ping is to high! Ping Limit: 300)
Dustin Hoffman :  just g ot another glock
"Game Over" has been kicked! (Your Ping is to high! Ping Limit: 300)
"Game Over" has been kicked! (Your Ping is to high! Ping Limit: 300)
Dustin Hoffman :  LOL
"Game Over" has been kicked! (Your Ping is to high! Ping Limit: 300)
25sxwhiting :  !swapteam
] 
[SM] Sacmo: Kicked Game Over
Dustin Hoffman :  IF I CAN GET 3 GLOCKS

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)