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

Solved [CS:GO] Block native kick vote but allow map vote?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Wizzardoff
Senior Member
Join Date: Dec 2022
Old 07-14-2023 , 12:25   [CS:GO] Block native kick vote but allow map vote?
Reply With Quote #1

Is there any way to allow native mapvote but block kick vote?
Or if not,is there any way to block native kickvote to kick admins? I got some jokers which votekick some admins and im still noob playing with immunity things

Last edited by Wizzardoff; 09-25-2023 at 15:53.
Wizzardoff is offline
Maxximou5
AlliedModders Donor
Join Date: Feb 2013
Old 07-14-2023 , 12:36   Re: [CS:GO] Block native kick vote but allow map vote?
Reply With Quote #2

Here is the list of different cvars for voting. Add whichever ones you need and set them properly in your gamemode_xxxx_server.cfg where xxxx is the game mode/game type you are playing.
More information here - https://developer.valvesoftware.com/...ual_server.cfg

PHP Code:
"sm_mapvote_dontchange" "1" min0.000000                                      Specifies if 'Don't Change' option should be added to early votes
"sm_mapvote_endvote" = "1" min. 0.000000 max. 1.000000                           - Specifies if MapChooser should run an end of map vote
"sm_mapvote_exclude" = "5" min. 0.000000                                         - Specifies how many past maps to exclude from the vote.
"sm_mapvote_extend" = "0" min. 0.000000                                          - Number of extensions allowed each map.
"sm_mapvote_include" = "5" min. 2.000000 max. 6.000000                           - Specifies how many maps to include in the vote.
"sm_mapvote_novote" = "1" min. 0.000000 max. 1.000000                            - Specifies whether or not MapChooser should pick a map if no votes are received.
"sm_mapvote_persistentmaps" = "0" min. 0.000000 max. 1.000000                    - Specifies if previous maps should be stored persistently.
"sm_mapvote_runoff" = "0" min. 0.000000 max. 1.000000                            - Hold runoff votes if winning choice is less than a certain margin
"sm_mapvote_runoffpercent" = "50" min. 0.000000 max. 100.000000                  - If winning choice has less than this percent of votes, hold a runoff
"sm_mapvote_start" = "3.0" min. 1.000000                                         - Specifies when to start the vote based on time remaining.
"sm_mapvote_startfrags" = "5.0" min. 1.000000                                    - Specifies when to start the vote base on frags remaining.
"sm_mapvote_startround" = "2.0" min. 0.000000                                    - Specifies when to start the vote based on rounds remaining. Use 0 on TF2 to star
"sm_mapvote_voteduration" = "20" min. 5.000000                                   - Specifies how long the mapvote should be available for.
"sm_vote_alltalk" = "0.60" min. 0.050000 max. 1.000000                           - percent required for successful alltalk vote.
"sm_vote_ban" = "0.60" min. 0.050000 max. 1.000000                               - percent required for successful ban vote.
"sm_vote_burn" = "0.60" min. 0.050000 max. 1.000000                              - percent required for successful burn vote.
"sm_vote_delay" = "30"                                                           - Sets the recommended time in between public votes
"sm_vote_ff" = "0.60" min. 0.050000 max. 1.000000                                - percent required for successful friendly fire vote.
"sm_vote_gravity" = "0.60" min. 0.050000 max. 1.000000                           - percent required for successful gravity vote.
"sm_vote_kick" = "0.60" min. 0.050000 max. 1.000000                              - percent required for successful kick vote.
"sm_vote_map" = "0.60" min. 0.050000 max. 1.000000                               - percent required for successful map vote.
"sm_vote_progress_chat" = "0" min. 0.000000 max. 1.000000                        - Show current vote progress as chat messages
"sm_vote_progress_client_console" = "0" min. 0.000000 max. 1.000000              - Show current vote progress as console messages to clients
"sm_vote_progress_console" = "0" min. 0.000000 max. 1.000000                     - Show current vote progress as console messages
"sm_vote_progress_hintbox" = "0" min. 0.000000 max. 1.000000                     - Show current vote progress in a hint box
"sm_vote_slay" = "0.60" min. 0.050000 max. 1.000000                              - percent required for successful slay vote.
"sv_arms_race_vote_to_restart_disallowed_after" = "0" game replicated            - Arms Race gun level after which vote to restart is disallowed
"sv_mapvetopickvote_maps" = "de_anubis,de_inferno,de_mirage,de_vertigo,de_overpass,de_nuke,de_ancient" game - Which maps are used for map veto pick sequence
"sv_mapvetopickvote_phase_duration" = "[1:12][2:25][5:12][6:11]" game            - How many seconds each phase lasts
"sv_vote_allow_in_warmup" = "0" game                                             - Allow voting during warmup?
"sv_vote_allow_spectators" = "0" game                                            - Allow spectators to initiate votes?
"sv_vote_command_delay" = "2" max. 4.500000 game                                 - How long after a vote passes until the action happens
"sv_vote_count_spectator_votes" = "0" game                                       - Allow spectators to vote on issues?
"sv_vote_creation_timer" = "120" game                                            - How often someone can individually call a vote.
"sv_vote_disallow_kick_on_match_point" = "0" game                                - Disallow vote kicking on the match point round.
"sv_vote_failure_timer" = "300" game                                             - A vote that fails cannot be re-submitted for this long
"sv_vote_issue_kick_allowed" = "1" game notify replicated                        - Can people hold votes to kick players from the server?
"sv_vote_issue_loadbackup_allowed" = "1" game notify replicated                  - Can people hold votes to load match from backup?
"sv_vote_issue_loadbackup_spec_authoritative" = "0" game                         - When enabled, admins load match from backup without players vote
"sv_vote_issue_loadbackup_spec_only" = "0" game notify replicated                - When enabled, only admins load match from backup
"sv_vote_issue_loadbackup_spec_safe" = "1" game                                  - When enabled, admins load match from backup in safe time of the round only
"sv_vote_issue_pause_match_spec_only" = "0" game notify replicated               - When enabled, only admins start technical pause
"sv_vote_issue_restart_game_allowed" = "0" game                                  - Can people hold votes to restart the game?
"sv_vote_kick_ban_duration" = "15" game notify replicated                        - How long should a kick vote ban someone from the server? (in minutes)
"sv_vote_quorum_ratio" = "0.501" min. 0.010000 max. 1.000000 game                - The minimum ratio of players needed to vote on an issue to resolve it.
"sv_vote_timer_duration" = "15" game                                             - How long to allow voting on an issue
"sv_vote_to_changelevel_before_match_point" = "0" game replicated                - Restricts vote to change level to rounds prior to match point (default 0 

You can't change it so admins aren't kicked, you would need to use SourceMod for that, but if you want to disable kicking of players.

You're probably looking to set sv_vote_issue_kick_allowed to 0. Add this to your gamemode_xxxx_server.cfg (replacing xxxx) as described above.
PHP Code:
sv_vote_issue_kick_allowed "0" 

Last edited by Maxximou5; 07-14-2023 at 12:37.
Maxximou5 is offline
Wizzardoff
Senior Member
Join Date: Dec 2022
Old 07-15-2023 , 10:23   Re: [CS:GO] Block native kick vote but allow map vote?
Reply With Quote #3

Quote:
Originally Posted by Maxximou5 View Post
You can't change it so admins aren't kicked, you would need to use SourceMod for that, but if you want to disable kicking of players.[/B]
You're probably looking to set sv_vote_issue_kick_allowed to 0. Add this to your gamemode_xxxx_server.cfg (replacing xxxx) as described above.
PHP Code:
sv_vote_issue_kick_allowed "0" 
Thats all i needed. I have bunch od admins who can votekick anyone i just wanted to disable native votekicking and leave native mapvoting. Thanks a lot
Wizzardoff 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 07:13.


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