[CS:GO] SimpleMapEnforcer
Simple Map Enforcer Description: A simple plugin that makes sure the nextlevel convar is what you want it to be. This is useful for 24/7 server which want to reset their maps every games, i.e servers which have Code:
mp_match_end_changelevel For some reason it would switch to stock maps if you were using workshop maps. Installation: Simply download the .smx from the github link below and add the file to your plugins folder. Restart the server and go to cfg/sourcemod where you will find a config file named SimpleMapEnforcer.cfg Edit the value of the Code:
sm_forced_nextmap GitHub |
Re: [CS:GO] SimpleMapEnforcer
Hi.
First for all, I'm not rude to you, I want share my info. Second, I haven't test your plugin, I can't say nothing about that. I assume it works perfectly. But this situation, to try fix problem with extra plugin, just because not to look more deep what cause this problem. And with extra unnecessary plugin(s), someone may get more problem in future, then appear new forum topic "help me" with lacking post "Can't play other maps". Like for example. To say, CS:GO does have complicated map cycle compare to other games. This why not all SourceMod basic plugins work 1:1 with this game. SourceMod console variable: sm_nextmap - SourceMod create powerful cvar called sm_nextmap , when this cvar has map name set, it will override next map on map change state. You usually see this log message when it happens at map change: L 10/27/2020 - 23:41:14: [SM] Changed map to "cs_office" As long as there is map name set into sm_nextmap, it will cycle to that map only. Need to clear sm_nextmap "" to stop it. SourseMod plugin: nextmap, randomcycle, mapchooser, etc. etc. plugin code SetNextMap() - By default, basic SourceMod plugins not read CS:GO mapgroup and workshop collection. Most games have mapcyclefile cvar, SourceMod plugins can read that default mapcycle.txt file, look all maps from maps folder or read another custom map list. Plugins like nextmap and randomcycle change cvar sm_nextmap on map start automatically. This is common problem with people in CS:GO server when they want use mapgroup instead. What they see and expect in next map, on map change it is another map. They need remove those plugins and after that clear cvar sm_nextmap "" or restart server. CS:GO disable map cycle: Code:
"mapcycledisabled" = "0" CS:GO workshop maps: - Use webapi_authkey.txt or Set Steam API key -authkey code in server launch option (and +map de_dust2) In ...cfg/autoexec.cfg need set both cvars host_workshop_map 632040311 workshop_start_map 632040311 When server start de_dust2 map, you have working Steam API key then server change to workshop map. CS:GO end of match map vote: - When use mapgroup or workshop collection Code:
"mp_endmatch_votenextmap" = "1" I'm not sure is this all. But these can be solved, need to little bit examine. Carry on! |
Re: [CS:GO] SimpleMapEnforcer
Hello, thanks you for your advices!
I've tried all of those commands but none of them worked. For some reason nextlevel kept getting set to dust2 :/ The reason for that I think is that I run multiple instances of the servers using a single installation directory with LinuxGameServerManager. It's not a plugin for everyone, because, as you've said, they should start by fixing the problem at the root, not patching it with plugins. Regarding the "mp_endmatch_votenextmap" = "1" issue, you can disable the votes for good by removing the mapgroup from the launch options. |
All times are GMT -4. The time now is 20:09. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.