Counter-Strike 2

Counter-Strike 2

View Stats:
EarthsDefect Apr 3, 2019 @ 11:30pm
Help with voting setup
Hi, I have a problem on my server with end match vote, the one that shows on the score screen.
When I vote for a map at match point say de_dust2 its says changing map to de_dust2 but when the score screen shows I also have the option to vote for a map, but nothing happens when I click on one. Server changes to the map I voted for at match point.

I would like to have score screen voting or point match vote, not both. Because it doesn't change to the right map with score screen voting.

I put all the maps in maplist.txt and mapcycle.txt

Problem is I had it working fine for point match voting. But I want to use the plugin "Next map mode" to change modes for some maps.
but I need to put maps into the Gamemodes_server.txt groups, if I put maps into the groups then the end match voting shows up.

Gamemodes_server.txt


"GameModes_Server.txt"
{
"gameTypes"
{
"classic"
{
"gameModes"
{
"casual"
{
"convars"
{
"sv_visiblemaxplayers" "20"
}

"exec"
{

}

"mapgroupsMP"
{
"mg_bomb" ""
}
}

"competitive"
{
"convars"
{
"sv_visiblemaxplayers" "20"
}

"exec"
{

}

"mapgroupsMP"
{
"mg_bomb" ""
}
}
}
}

"gungame"
{
"gameModes"
{
"gungameprogressive"
{
"convars"
{
"sv_visiblemaxplayers" "20"
}

"exec"
{

}

"mapgroupsMP"
{
"mg_bomb" ""
}
}

"gungametrbomb"
{
"convars"
{
"sv_visiblemaxplayers" "20"
}

"exec"
{

}

"mapgroupsMP"
{
"mg_bomb" ""
}
}
}
}
}

"mapgroups"
{
"mg_bomb"
{
"imagename" "mapgroup-bomb"
"nameID" "#SFUI_Mapgroup_bomb"
"name" "mg_bomb"
"maps"
{
"de_dust2_2x2_pro" ""
"de_rats_2004ever" ""
"awp_towers_textured" ""
"aim_ak47_colt" ""
"aim_sniper_2019" ""
"aim_wmap" ""
"aim_blast" ""
"ar_chess" ""
"awp_towers_textured" ""
"cs_mansion_go" ""
"de_bikinibottom" ""
"de_deathcookin_csgo" ""
"de_hamsters" ""
"de_ice_world_2" ""
"de_rats_1337" ""
"de_rats_brb" ""
"fy_pool_day" ""
"winterlude" ""
"de_aztec" ""
"ar_baggage" ""
"ar_dizzy" ""
"ar_monastery" ""
"ar_shoots" ""
"cs_agency" ""
"cs_assault" ""
"cs_italy" ""
"cs_militia" ""
"cs_office" ""
"de_abbey" ""
"de_bank" ""
"de_biome" ""
"de_cache" ""
"de_canals" ""
"de_cbble" ""
"de_dust2" ""
"de_inferno" ""
"de_lake" ""
"de_mirage" ""
"de_nuke" ""
"de_overpass" ""
"de_safehouse" ""
"de_shortdust" ""
"de_shortnuke" ""
"de_stmarc" ""
"de_train" ""
"de_vertigo" ""
"de_zoo" ""
}
}
}}


gamemode_casual.cfg


bot_autodifficulty_threshold_high 0.0 // Value between -20.0 and 20.0 (Amount above avg human contribution score, above which a bot should lower its difficulty)
bot_autodifficulty_threshold_low -2.0 // Value between -20.0 and 20.0 (Amount below avg human contribution score, below which a bot should raise its difficulty)
bot_chatter off
bot_defer_to_human_goals 0
bot_defer_to_human_items 1
bot_difficulty 1
bot_quota 10
bot_quota_mode fill
cash_player_bomb_defused 200
cash_player_bomb_planted 200
cash_player_damage_hostage -30
cash_player_interact_with_hostage 300
cash_player_killed_enemy_default 200
cash_player_killed_enemy_factor 0.5
cash_player_killed_hostage -1000
cash_player_killed_teammate -300
cash_player_rescued_hostage 1000
cash_team_elimination_bomb_map 2700
cash_team_elimination_hostage_map_t 2000
cash_team_elimination_hostage_map_ct 2300
cash_team_hostage_alive 0
cash_team_hostage_interaction 500
cash_team_loser_bonus 2400
cash_team_loser_bonus_consecutive_rounds 0
cash_team_planted_bomb_but_defused 200
cash_team_rescued_hostage 0
cash_team_terrorist_win_bomb 2700
cash_team_win_by_defusing_bomb 2700
cash_team_win_by_hostage_rescue 3000
cash_team_win_by_time_running_out_hostage 2000
cash_team_win_by_time_running_out_bomb 2700
ff_damage_reduction_bullets 0
ff_damage_reduction_grenade 0
ff_damage_reduction_grenade_self 0
ff_damage_reduction_other 0
mp_afterroundmoney 0
mp_buytime 45
mp_buy_anywhere 0
mp_buy_during_immunity 0
mp_death_drop_defuser 1
mp_death_drop_grenade 2 // 0=none, 1=best, 2=current or best
mp_death_drop_gun 1 // 0=none, 1=best, 2=current or best
mp_defuser_allocation 2 // 0=none, 1=random, 2=everyone
mp_force_pick_time 15
mp_forcecamera 0 // Set to 1 for team only spectating.
mp_free_armor 2
mp_freezetime 5
mp_friendlyfire 1
mp_win_panel_display_time 3
mp_ggprogressive_round_restart_delay 15
mp_ggtr_bomb_defuse_bonus 1
mp_ggtr_bomb_detonation_bonus 1
mp_ggtr_bomb_pts_for_flash 4
mp_ggtr_bomb_pts_for_he 3
mp_ggtr_bomb_pts_for_molotov 5
mp_ggtr_bomb_pts_for_upgrade 2
mp_ggtr_bomb_respawn_delay 0
mp_ggtr_end_round_kill_bonus 1
mp_ggtr_halftime_delay 0.0
mp_ggtr_last_weapon_kill_ends_half 0
mp_respawn_immunitytime 0
mp_halftime 0
mp_match_can_clinch 1 // 0=No mercy rule, 1=team can clinch match win early if they win > 1/2 total rounds
mp_maxmoney 14000
mp_maxrounds 2
mp_molotovusedelay 0
mp_playercashawards 1
mp_roundtime 3
mp_roundtime_hostage 2
mp_roundtime_defuse 2.25 // Typical ValveOfficial Casual defuse rounds are 90-100 seconds.
mp_solid_teammates 2
mp_startmoney 1000
mp_teamcashawards 1
mp_timelimit 0
mp_warmuptime 0
mp_weapons_allow_zeus 1
mp_weapons_allow_typecount 2
spec_freeze_panel_extended_time 0
spec_freeze_time 3.0
sv_allow_votes 1 // Voting allowed in this mode
mp_endmatch_votenextmap 0
mp_match_end_changelevel 1
mp_endmatch_votenextleveltime 0
sv_talk_enemy_living 0
sv_talk_enemy_dead 1
sv_arms_race_vote_to_restart_disallowed_after 0
sv_vote_to_changelevel_before_match_point 0
sv_deadtalk 0
sv_ignoregrenaderadio 0
tv_delay 30
mp_warmup_pausetimer 0
mp_halftime_pausetimer 0
mp_randomspawn 0
mp_randomspawn_los 0
sv_infinite_ammo 0
ammo_grenade_limit_flashbang 1
ammo_grenade_limit_total 3
//
//
mp_weapons_allow_map_placed 1
mp_weapons_glow_on_ground 0
mp_display_kill_assists 1
mp_respawn_on_death_t 0
mp_respawn_on_death_ct 0
mp_ct_default_melee weapon_knife
mp_ct_default_secondary weapon_hkp2000
mp_ct_default_primary ""
mp_t_default_melee weapon_knife
mp_t_default_secondary weapon_glock
mp_t_default_primary ""
mp_default_team_winner_no_objective -1 // 2 == CTs, 3 == Ts

sv_occlude_players 1
occlusion_test_async 1

spec_replay_enable 1
mp_round_restart_delay 30 // need more time for replay


start.bat
srcds -game csgo -console -usercon -tickrate 128 -maxplayers_override 20 +game_type 0 +game_mode 0 +mapgroup mg_bomb +map fy_pool_day +sv_setsteamaccount xxxxxxxxxxxxxx92123xx

server.cfg
// Public information

hostname "SG GO Server" //Hostname for the server, will show up in server browsers.
log on //This is set to turn on logging!
sv_lan "0" //This should always be set, so you know it's not on
sv_region "5" //The region of the world to report this server in.
sv_tags "tags" //Server tags. Used to provide extra information to clients when they're browsing for servers

/////////////////////////////////////////////////////////////////////////////////
// Passwords

rcon_password "" //Remote console password.
sv_password "" //Only set this if you intend to have a private server!
rcon_address "1"

/////////////////////////////////////////////////////////////////////////////////
// The Bot Convars

bot_difficulty 2 //Defines the skill of bots joining the game. Values are: 0=easy, 1=normal, 2=hard, 3=expert.
bot_chatter "off" //Control how bots talk. Allowed values: 'off', 'radio', 'minimal', or 'normal
bot_join_after_player 1 //If nonzero, bots wait until a player joins before entering the game.
bot_quota 0 //Determines the total number of bots in the game.
bot_quota_mode "fill" //Determines the type of quota. Allowed values: 'normal', 'fill', and 'match

/////////////////////////////////////////////////////////////////////////////////
// Server Convars

sv_pausable "0" //Is the server pausable.
sv_allow_lobby_connect_only "0" //If set, players may only join this server from matchmaking lobby, may not connect directly.
sv_allow_votes "1" //Allow voting?
sv_allow_wait_command "0" //Allow or disallow the wait command on clients connected to this server.
sv_alltalk "1" //Players can hear all other players' voice communication, no team restrictions
sv_alternateticks "0" //If set, server only simulates entities on even numbered ticks.
sv_cheats "0" //Allow cheats on server
sv_deadtalk "0" //Dead players can speak (voice, text) to the living
sv_downloadurl "" //Location from which clients can download missing files
sv_forcepreload "1" //Force server side preloading
sv_friction "4" //World friction."
sv_full_alltalk "0" //Any player (including Spectator team) can speak to any other player
sv_infinite_ammo "0" //Player's active weapon will never run out of ammo

/////////////////////////////////////////////////////////////////////////////////
// Server Logging

sv_log_onefile "0" //Log server information to only one file.
sv_logbans "0" //Log server bans in the server logs.
sv_logecho "1" //Echo log information to the console.
sv_logfile "1" //Log server information in the log file.
sv_logflush "0" //Flush the log file to disk on each write (slow).
sv_logsdir "0" //Folder in the game directory where server logs will be stored.

/////////////////////////////////////////////////////////////////////////////////
// Server Rates

sv_maxcmdrate "128" //(If sv_mincmdrate is > 0), this sets the maximum value for cl_cmdrate.
sv_maxrate "128000" //Max bandwidth rate allowed on server, 0 == unlimited
sv_mincmdrate "10" //This sets the minimum value for cl_cmdrate. 0 == unlimited.
sv_minrate "5000" //Min bandwidth rate allowed on server, 0 == unlimited

/////////////////////////////////////////////////////////////////////////////////
// Server Downloads

//sv_downloadurl "" //Location from which clients can download missing files

/////////////////////////////////////////////////////////////////////////////////
// Pure Options

//sv_pure_kick_clients "1" //If set to 1, the server will kick clients with mismatching files.
//sv_pure_trace "0" //If set to 1, the server will print a message whenever a client is verifying a CRC for a file.

/////////////////////////////////////////////////////////////////////////////////
// Round Convars

mp_match_end_restart "0" //Restart the map at the end of round limit
mp_afterroundmoney "0" //Amount of money awared to every player after each round
mp_playercashawards "1" //Players can earn money by performing in-game actions
mp_teamcashawards "1" //Teams can earn money by performing in-game actions
mp_maxrounds "10" //Maximum amount of rounds per map
mp_timelimit "0" //How many minutes for the whole map
mp_roundtime "2" //How many minutes each round takes.
mp_freezetime"5" //how many seconds to keep players frozen when the round starts
mp_buytime "45" //How many seconds after round start players can buy items for.
mp_forcecamera "0" //Set to 1 for team only spectating.
mp_defuser_allocation "2" //How to allocate defusers to CTs at start or round: 0=none, 1=random, 2=everyone
mp_death_drop_defuser "1" //Drop defuser on player death
mp_death_drop_grenade "2" //Which grenade to drop on player death: 0=none, 1=best, 2=current or best
mp_death_drop_gun "1" //Which gun to drop on player death: 0=none, 1=best, 2=current or best

/////////////////////////////////////////////////////////////////////////////////
// Friendly Fire

mp_friendlyfire "0" //Enable Friendly Fire 1 =Enable 0 =Disable
//ff_damage_reduction_grenade "0" //How much to reduce damage done to teammates by a thrown grenade.
//ff_damage_reduction_bullets "0" //How much to reduce damage done to teammates when shot.
//ff_damage_reduction_other "0" //How much to reduce damage done to teammates by things other than bullets and grenades.

/////////////////////////////////////////////////////////////////////////////////
// Game Convars

mp_autokick "1" //Kick idle/team-killing players
mp_autoteambalance "1" //Auto balaces teams
mp_buytime "45" //How many seconds after round start players can buy items for.
mp_c4timer "45" //how long from when the C4 is armed until it blows
mp_do_warmup_period "90" //Whether or not to do a warmup period at the start of a match.
mp_force_pick_time "15" //The amount of time a player has on the team screen to make a selection before being auto-teamed
mp_halftime_duration "15" //Number of seconds that halftime lasts
mp_join_grace_time "15 //Number of seconds after round start to allow a player to join a game
mp_limitteams "2" //Max # of players 1 team can have over another (0 disables check)
mp_match_end_restart "0" //At the end of the match, perform a restart instead of loading a new map
mp_match_end_changelevel "1"
mp_maxrounds "10" //Max amount of rounds per map
mp_playercashawards "1" //Players can earn money by performing in-game actions
mp_playerid "0" //Controls what information player see in the status bar: 0 all names; 1 team names; 2 no names
mp_playerid_delay "0" //Number of seconds to delay showing information in the status bar
mp_playerid_hold "0" //Number of seconds to keep showing old information in the status bar
mp_restartgame "0" //If non-zero, game will restart in the specified number of seconds
mp_round_restart_delay "3" //Number of seconds to delay before restarting a round after a win
mp_roundtime "3" //How many minutes each round takes.
mp_tkpunish "0" //Will a TK'er be punished in the next round? {0=no, 1=yes}
mp_warmuptime "8" //If true, there will be a warmup period/round at the start of each match to allow to connect.
mp_win_panel_display_time "5" //The amount of time to show the win panel between matches / halfs

/////////////////////////////////////////////////////////////////////////////////
// Cash Convars

mp_startmoney "400" //Amount of money each player gets when they reset.
mp_maxmoney "12000" //Maximum amount of money allowed in a player's account.
cash_team_terrorist_win_bomb "2200" //How much the team will win for the bomb.
cash_team_elimination_hostage_map "2200" //How much a player earns when they eliminate all hostages.
cash_team_elimination_bomb_map "2200" //How much the team will win when the bomb is eliminated.
cash_team_win_by_time_running_out "2200" //How much the team will win when the time runs out.
cash_team_win_by_defusing_bomb "2200" //How much the team will win when bomb has been defused.
cash_team_win_by_hostage_rescue "2200" //How much the team will win when all hostages have been rescued.
cash_team_loser_bonus "2000" //How much the team will win when when the team looses.
cash_team_loser_bonus_consecutive_rounds "500" //How much the team will win when the team looses consecutive rounds.
cash_team_rescued_hostage "100" //How much the team will win when team has recued a hostage.
cash_team_hostage_alive "0" //How much the team will win when a hostage is still alive
cash_team_planted_bomb_but_defused "200" //How much the team will win when when a team has planted a bomb and been defused
cash_team_hostage_interaction "50" //How much the team will win when hostages are saved
cash_player_killed_teammate "-3300" //How much the player will loose when a teamate has been team killed
cash_player_killed_enemy_default "200" //How much the player will win when killing an enemy
cash_player_killed_enemy_factor "0.5" //How much the player will win when killing an enemy
cash_player_bomb_planted "200" //How much the player will win when the bomb has been planted.
cash_player_bomb_defused "200" //How much the player will win when the bomb has been defused
cash_player_rescued_hostage "200" //How much the player will win when rescuing hostages
cash_player_interact_with_hostage "0" //How much the player will win when interacting with hostages
cash_player_damage_hostage "-30" //How much the player will loose when demaging a hostage
cash_player_killed_hostage "-1000" //How much the player will loose when a hostage has been killed

/////////////////////////////////////////////////////////////////////////////////
// Voting Options

sv_vote_allow_spectators "0" //Allow spectators to vote?
sv_vote_command_delay "2" //How long after a vote passes until the action happens
sv_vote_creation_time "120" //How often someone can individually call a vote.
sv_vote_failure_timer "300" //A vote that fails cannot be re-submitted for this long
sv_vote_quorum_ratio "0" //The minimum ratio of players needed to vote on an issue to resolve it.
sv_vote_timer_duration "0" //How long to allow voting on an issue
mp_endmatch_votenextmap "0" // Map Vote at the end?

/////////////////////////////////////////////////////////////////////////////////
// TV Options

//tv_nochat "0" //Don't receive chat messages from other SourceTV spectators
//tv_port "check" //Host SourceTV port

//GOTV
tv_enable 1
tv_delay 30
tv_advertise_watchable 1

/////////////////////////////////////////////////////////////////////////////////
// The following commands manage kicks and bans

writeid
writeip
exec banned_user.cfg
exec banned_ip.cfg



Plugin list
https://imgur.com/a/JANotEC

Please someone help this is driving me insane!
Last edited by EarthsDefect; Apr 3, 2019 @ 11:31pm
< >
Showing 1-5 of 5 comments
EarthsDefect Apr 3, 2019 @ 11:52pm 
bump
76561198925924038 Apr 4, 2019 @ 12:03am 
posts about voting for trump should not be here
EarthsDefect Apr 4, 2019 @ 12:16am 
bump
EarthsDefect Apr 4, 2019 @ 1:03am 
bump
EarthsDefect Apr 4, 2019 @ 1:15am 
bump
< >
Showing 1-5 of 5 comments
Per page: 1530 50

Date Posted: Apr 3, 2019 @ 11:30pm
Posts: 5