Quake1011 / lr-Sends-clients-stats-on-LVL-UP

Post-query to http used JSONObj after lvl up

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[LR] Sends clients stats on LVL UP

Post-query to http used JSONObj after lvl up

Description

The plugin sends statistics on the server among the players every time the client raises his level. It is useful in order to track whether a player is on the server and does not wind up statistics.

Requirements

ConVar

In the server.cfg configuration file, specify convar http_a "OWN_a_LINK"

Containts of post request

{
	"SteamID":				"STEAM_0:1:180196110",
	"Name":					"Palonez",
	"Kills":				0,
	"Deaths":				0,
	"Scores":				0,
	"LVL_UP":				10,
	"Time":					1686829508,
	"Json":
	[
		"{
			'SteamID':'Grant',
			'Kills':1,
			'Deaths':0,
			'Scores':2,
			'Time':0
		}",
		"{
			'SteamID':'Dean',
			'Kills':1,
			'Deaths':0,
			'Scores':2,
			'Time':0
		}",
		"{
			'SteamID':'Henry',
			'Kills':0,
			'Deaths':1,
			'Scores':0,
			'Time':0
		}",
		"{
			'SteamID':'STEAM_1:1:00000000',
			'Kills':0,
			'Deaths':0,
			'Scores':0,
			'Time':1109303291
		}"
	]
}

At this moment there are 2 real players on the server, one of which received the request, as well as 3 bots

About possible problems, please let me know:

About

Post-query to http used JSONObj after lvl up


Languages

Language:SourcePawn 100.0%