![>](img/i_next.png)
The addition of
![cs2d lua cmd](img/i_codehelp.png)
![user](img/i_friend.png)
This simple lua script will request data from steam web page. If player has ever been VAC banned, they will not be able to participate in the game.(Can be set in settings)
This script also includes the function to identify the previously distinguished VAC banned players, so as to reduce the network usage of the server.
![>](img/i_next.png)
1
2
3
4
5
2
3
4
5
logdir = "sys/lua/vaclog.txt" vaclistdir = "sys/lua/vaclist.lua" logusgn = true allow_play = false kick_player = true
logdir: USGN log directory
vaclistdir: VAC recognized SteamID list directory
logusgn: Log VAC banned players' USGN if they have it.
allow_play: Allow VAC banned players to play?
kick_player: Kick VAC banned players?
![>](img/i_next.png)
To ensure that VAC banned players do not evade by simply logging out of steam, I forced them to log in to steam in order to play. DO NOT REMOVE THIS LINE OF CODE OR THEY MAY EVADE THE CHECK.
This script has its limits that if a player is so dedicated to ruin the game, he may join with an entirely new account without VAC record. So manual moderation is always the best choice if possible.
![>](img/i_next.png)
Added
kick_playeroption, changed
allow_watchto
allow_play.
![>](img/i_next.png)
Frequent requests seem to make steam ignore the request, looking for a work around.
![>](img/i_next.png)
This content is published under WTFPL 3.0.
edited 14×, last 11.08.18 11:24:41 pm
Approved by SQ
Download
2 kb, 596 Downloads