AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [CSGO] Client Convar Checker (1.2 | 2017/10/17) (https://forums.alliedmods.net/showthread.php?t=298646)

rogeraabbccdd 06-18-2017 23:54

[CSGO] Client Convar Checker (1.2 | 2017/10/17)
 
http://i.imgur.com/zbK5FOJ.jpg


Description
This plugin can check players' convars, to prevent players' use bad convar like "voice_inputfromfile".



Install
  1. Upload all files to your server.
  2. Edit "addons/sourcemod/configs/kento_ccc.cfg".
    Code:

    "net_graph"                        //Cvar name
            {
                    "immunity"                        "a"        // What admin flag have immunity? empty = disabled
                    "mode"                        "0"        // 0 = not allow value, 1 = only allow value
                    "value"                        "1"        // Value
                    "punishment"                        "1"        // 1 = kick, 2 = ban
                    "bantime"                        "0"        // If punishment is ban, how long should a player be banned? (0 = Permanent Ban)
            }




Admin Commands
Spoiler




Cvars
Spoiler




Changelog
Spoiler




Known Bugs


To Do
  • Support more than 1 value.



Donate
If you apreciate my work, you can donate me via steam trade offer or paypal.




Git Repo
Download

vortex. 06-19-2017 01:23

Re: [CSGO] Client Convar Checker (1.0 | 2017/06/19)
 
Good job ;)

Keros 06-28-2017 09:15

Re: [CSGO] Client Convar Checker (1.0 | 2017/06/19)
 
It works perfectly!

rogeraabbccdd 07-25-2017 10:52

Re: [CSGO] Client Convar Checker (1.1 | 2017/07/25)
 
Update 1.1
  • Added logging to "kento_ccc.log".

Log example
Code:

L 07/25/2017 - 22:46:03: [kento_ccc.smx] Kento<12><STEAM_1:1:XXXXXXXX><> cvar net_graph value 0. Kicked.
L 07/25/2017 - 22:46:55: [kento_ccc.smx] Kento<13><STEAM_1:1:XXXXXXXX><> cvar net_graph value 0.


rogeraabbccdd 10-17-2017 09:30

Re: [CSGO] Client Convar Checker (1.1 | 2017/07/25)
 
Update 1.2
  • Added a system to warn both client and admin before punishment.
  • New cvar "sm_ccc_warn".
  • Removed "warn admin" from punishment in "kento_ccc.cfg", now punishment setting is start from 1.

Sples1 02-17-2018 17:34

Re: [CSGO] Client Convar Checker (1.2 | 2017/10/17)
 
Hello! :)

It's a good idea and a nice release, BUT...
I tried to use this config:

https://i.imgur.com/0NWlc9S.jpg

...and I found some issue.
The first one is the m_yaw kicks everyone with the only allowed value...but the config says that's the only allowed one. I thought the . is a , so I tried to too, but same...

The other issue is the warn in the chat. Im using the default cfg (10sec, 3warn). When a player set a the voice_enable cvar (picture) to 0 the warn just spams 3 times in one sec and kicks instantly.

Can you help me with these, please? :)
Greetings, Martin!

mewbie222 08-26-2018 05:07

Re: [CSGO] Client Convar Checker (1.2 | 2017/10/17)
 
It would be nice also for cs source such a plugin.

DarkDeviL 08-26-2018 07:09

Re: [CSGO] Client Convar Checker (1.2 | 2017/10/17)
 
Quote:

Originally Posted by mewbie222 (Post 2612241)
It would be nice also for cs source such a plugin.

The only CSGO specific thing in the plugin code seems to be the <csgo_colors> include.

You may therefore see issues in some games with the translations, such as colors codes being printed, e.g. "{RED}WARNING" turning up instead of "WARNING".

The detection of different cvars should however work for most games, including CSS (and probably, many others).

mewbie222 08-27-2018 03:31

Re: [CSGO] Client Convar Checker (1.2 | 2017/10/17)
 
Quote:

Originally Posted by arne1288 (Post 2612256)
The detection of different cvars should however work for most games, including CSS (and probably, many others).

I saw it in the code , so that put will not be checked , then to the server. the log errors were. And also I at all wanted to and for CSS this plugin worked and some other on Sourse engine or added would to worked . Thanks !!!!!
p.s. Sorry bad English....


All times are GMT -4. The time now is 12:11.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.