Raised This Month: $12 Target: $400
 3% 

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


Post New Thread Reply   
 
Thread Tools Display Modes
Author
rogeraabbccdd
Veteran Member
Join Date: Jun 2015
Location: de_dust2
Plugin ID:
5664
Plugin Version:
1.2
Plugin Category:
General Purpose
Plugin Game:
Counter-Strike: GO
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Client Convar Checker
    Old 06-18-2017 , 23:54   [CSGO] Client Convar Checker (1.2 | 2017/10/17)
    Reply With Quote #1




    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
    __________________

    Please keep in mind, nobody have responsibility to help you, especially who don't try to Google first.
    I only read messages in Chinese and English.

    GitHub | Discord:Kento#2118

    Last edited by rogeraabbccdd; 02-01-2018 at 08:19.
    rogeraabbccdd is offline
    vortex.
    AlliedModders Donor
    Join Date: Jan 2017
    Location: OnGameFrame()
    Old 06-19-2017 , 01:23   Re: [CSGO] Client Convar Checker (1.0 | 2017/06/19)
    Reply With Quote #2

    Good job ;)
    __________________
    vortex. is offline
    Keros
    Member
    Join Date: Aug 2013
    Old 06-28-2017 , 09:15   Re: [CSGO] Client Convar Checker (1.0 | 2017/06/19)
    Reply With Quote #3

    It works perfectly!

    Last edited by Keros; 06-28-2017 at 10:02.
    Keros is offline
    rogeraabbccdd
    Veteran Member
    Join Date: Jun 2015
    Location: de_dust2
    Old 07-25-2017 , 10:52   Re: [CSGO] Client Convar Checker (1.1 | 2017/07/25)
    Reply With Quote #4

    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.
    __________________

    Please keep in mind, nobody have responsibility to help you, especially who don't try to Google first.
    I only read messages in Chinese and English.

    GitHub | Discord:Kento#2118

    Last edited by rogeraabbccdd; 07-25-2017 at 10:53.
    rogeraabbccdd is offline
    rogeraabbccdd
    Veteran Member
    Join Date: Jun 2015
    Location: de_dust2
    Old 10-17-2017 , 09:30   Re: [CSGO] Client Convar Checker (1.1 | 2017/07/25)
    Reply With Quote #5

    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.
    __________________

    Please keep in mind, nobody have responsibility to help you, especially who don't try to Google first.
    I only read messages in Chinese and English.

    GitHub | Discord:Kento#2118
    rogeraabbccdd is offline
    Sples1
    Senior Member
    Join Date: Apr 2016
    Location: Kitsune Lab
    Old 02-17-2018 , 17:34   Re: [CSGO] Client Convar Checker (1.2 | 2017/10/17)
    Reply With Quote #6

    Hello!

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



    ...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!
    __________________
    Developer & Scripter from Kitsune Lab
    Contact me: Steam | My Plugins | Kitsune Lab

    Join to the community on our Discord server.
    I stopped public develops. My old/new plugins available ONLY for my Discord community.

    Last edited by Sples1; 02-17-2018 at 17:34.
    Sples1 is offline
    mewbie222
    Senior Member
    Join Date: May 2018
    Old 08-26-2018 , 05:07   Re: [CSGO] Client Convar Checker (1.2 | 2017/10/17)
    Reply With Quote #7

    It would be nice also for cs source such a plugin.
    mewbie222 is offline
    DarkDeviL
    SourceMod Moderator
    Join Date: Apr 2012
    Old 08-26-2018 , 07:09   Re: [CSGO] Client Convar Checker (1.2 | 2017/10/17)
    Reply With Quote #8

    Quote:
    Originally Posted by mewbie222 View Post
    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).
    __________________
    Mostly known as "DarkDeviL".

    Dropbox FastDL: Public folder will no longer work after March 15, 2017!
    For more info, see the [SRCDS Thread], or the [HLDS Thread].

    Last edited by DarkDeviL; 08-26-2018 at 07:10.
    DarkDeviL is offline
    mewbie222
    Senior Member
    Join Date: May 2018
    Old 08-27-2018 , 03:31   Re: [CSGO] Client Convar Checker (1.2 | 2017/10/17)
    Reply With Quote #9

    Quote:
    Originally Posted by arne1288 View Post
    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....

    Last edited by mewbie222; 08-27-2018 at 03:34.
    mewbie222 is offline
    Reply


    Thread Tools
    Display Modes

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 05:40.


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