Make individualized configuration files for each map, or connect them all to a common prefix configuration.
Report Bug
-
Request Feature
-
Contribute Code
Made by: @criskkky (Me 🤪) ✦ Special thanks to: @skuzzis (API teaching 💜)
This CS2 plugin applies configurations to the current map, initiating the search from longer configurations to shorter ones. This approach allows you to set up specific map configurations or connect them all using a common prefix.
Your specific map configurations must be located in /game/csgo/cfg/MapConfigs/HERE.cfg
where HERE is the map name or prefix.
For example, given the following maplist:
aim_deagle_lego
::aim_redline_s2
::aim_awp_lego
::aim_headshot_kill
::de_dust2
::de_mirage
And assuming your configuration files are named:
aim_deagle.cfg
::aim_awp.cfg
::aim_.cfg
::de_dust2.cfg
The plugin will operate as follows:
- ✔ If the current map is
aim_deagle_lego
, it will executeaim_deagle.cfg
. - ✔ If the current map is
aim_awp_lego
, it will executeaim_awp.cfg
. - ✔ If the current map is
aim_redline_s2
, it will executeaim_.cfg
. - ✔ If the current map is
aim_headshot_kill
, it will executeaim_.cfg
. - ✔ If the current map is
de_dust2
, it will executede_dust2.cfg
. - ❌ If the current map is
de_mirage
, it will execute nothing 'cos you don't made ade_.cfg
orde_mirage.cfg
.
- CS2 Server 🤡
- Metamod 2.X
- Swiftly
- Download latest release.
- Everything is drag & drop, so i think you can do it!
- Do an initial plugin load to generate the necessary files or manually create the
/game/csgo/cfg/MapConfigs/
directory. - Setup your configurations per map inside the generated directory ensuring that the file name matches the map name or prefix.
- Ready!
// Config for de_.cfg
mp_freezetime 3
mp_autoteambalance 0
mp_autokick 0
exec otherconfigmaybe.cfg
👀 Don't forget to set the correct filename; for example, in this case, the file must be named de_.cfg
.
- Doesn't need additional config than the one explained above ✅
- Fix issues if there's any
If you really need help with something that isn't explained here reach me through: