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

[CSGO] sv_allow_votes 0 not working?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Marche8
Junior Member
Join Date: Nov 2014
Old 12-04-2014 , 02:39   [CSGO] sv_allow_votes 0 not working?
Reply With Quote #1

People are abusing the default vote kick (it automatically kicks when there's even one "yes" vote) on my server and I tried setting sv_allow_votes to 0 in my server.cfg and gamemode_casual_server.cfg but I can still access the "Call Votes" option when I hit escape.

Any solutions to get rid of it?

EDIT: My only solution so far has been to use the locked cvars and disabling each vote option, but a cleaner method of doing so would be appreciated.

Last edited by Marche8; 12-04-2014 at 02:58.
Marche8 is offline
Bchewy
AlliedModders Donor
Join Date: Nov 2014
Old 12-04-2014 , 04:46   Re: [CSGO] sv_allow_votes 0 not working?
Reply With Quote #2

Hello ! i had a similar problem today, try to check your autoexc.cfg or others to see if you have the same sv_allow_votes 0 there, it probally is overridingyour server.cfg
Bchewy is offline
hamilton5
Veteran Member
Join Date: Oct 2012
Location: USA
Old 12-04-2014 , 06:41   Re: [CSGO] sv_allow_votes 0 not working?
Reply With Quote #3

sv_allow_votes 0 in your gamemode_casual_server.cfg should be correct - This file is in your cfg/ folder?
hamilton5 is offline
iGANGNAM
AlliedModders Donor
Join Date: Sep 2012
Location: Lithuania
Old 12-04-2014 , 08:39   Re: [CSGO] sv_allow_votes 0 not working?
Reply With Quote #4

I have same problem even I have sv_allow_votes 0 in autoexec.cfg
iGANGNAM is offline
hamilton5
Veteran Member
Join Date: Oct 2012
Location: USA
Old 12-04-2014 , 08:43   Re: [CSGO] sv_allow_votes 0 not working?
Reply With Quote #5

sv_allow_votes is called in the cfg/gamemode_XXX.cfg files (map start) and autoexec.cfg is just ran once (server startup).

see link
https://developer.valvesoftware.com/..._Configuration

Last edited by hamilton5; 12-04-2014 at 11:42. Reason: link
hamilton5 is offline
iGANGNAM
AlliedModders Donor
Join Date: Sep 2012
Location: Lithuania
Old 12-04-2014 , 10:10   Re: [CSGO] sv_allow_votes 0 not working?
Reply With Quote #6

Quote:
Originally Posted by hamilton5 View Post
sv_allow_votes is called a lot in gamemode files and autoexec.cfg is just ran once at startup.
Can you send your example of gamemodes_server.txt?
iGANGNAM is offline
veli
Senior Member
Join Date: Apr 2012
Location: Netherlands
Old 12-04-2014 , 11:33   Re: [CSGO] sv_allow_votes 0 not working?
Reply With Quote #7

Quote:
Originally Posted by iGANGNAM View Post
Can you send your example of gamemodes_server.txt?
Put it in gamemode_config.cfg

I added sv_allow_vote 0 in gamemode_casual.cfg works perfect. (my game is casual) so if you run competitive than add it in gamemode_competitive.cfg.

Last edited by veli; 12-04-2014 at 11:34.
veli is offline
Maxximou5
AlliedModders Donor
Join Date: Feb 2013
Old 12-04-2014 , 11:48   Re: [CSGO] sv_allow_votes 0 not working?
Reply With Quote #8

You would want it in gamemode_casual_server.cfg not just gamemode_casual.cfg.
When you update or validate your server any settings in gamemode_casual.cfg would be overwritten, unlike gamemode_casual_server.cfg.
Maxximou5 is offline
veli
Senior Member
Join Date: Apr 2012
Location: Netherlands
Old 12-04-2014 , 14:35   Re: [CSGO] sv_allow_votes 0 not working?
Reply With Quote #9

Quote:
Originally Posted by Maxximou5 View Post
You would want it in gamemode_casual_server.cfg not just gamemode_casual.cfg.
When you update or validate your server any settings in gamemode_casual.cfg would be overwritten, unlike gamemode_casual_server.cfg.
not for me. i use more than 2,5 year same gamemode_casual.cfg. Maybe 1 or 2 time overwrited with an update but i use a backup version.

Same for gamemodes.txt too. I see never overwriting these files after an update.
veli is offline
Marche8
Junior Member
Join Date: Nov 2014
Old 12-04-2014 , 15:15   Re: [CSGO] sv_allow_votes 0 not working?
Reply With Quote #10

Quote:
Originally Posted by Maxximou5 View Post
You would want it in gamemode_casual_server.cfg not just gamemode_casual.cfg.
When you update or validate your server any settings in gamemode_casual.cfg would be overwritten, unlike gamemode_casual_server.cfg.
I have sv_allow_votes "0" set in my gamemode_casual_server.cfg in csgo/cfg/. I also put it into my sourcemod.cfg and server.cfg just to make sure, but it still goes through. The only solution that comes close to working for me is putting the below into my server.cfg, although they can still access the "Call Votes" menu but are just told that the server has disabled the feature when they try to start a vote.

Code:
sm_cvar sv_vote_issue_changelevel_allowed "0"
sm_cvar sv_vote_issue_kick_allowed "0"
sm_cvar sv_vote_issue_nextlevel_allowextend "0"
sm_cvar sv_vote_issue_nextlevel_choicesmode "0"
sm_cvar sv_vote_issue_restart_game_allowed "0"
sm_cvar sv_vote_issue_scramble_teams_allowed "0"
sm_cvar sv_vote_issue_surrrender_allowed "0"
sm_cvar sv_vote_issue_swap_teams_allowed "0"
Marche8 is offline
Reply



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 04:00.


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