MapConfigX v1.00 (dynamic plugins / precache / config)
Posted: Mon Nov 22, 2021 10:42 pm
Description:
This plugin lets you to set different config, plugins set and files to precache to every maps. It's similar to files in maps/ and *.res files but everything is in one clear file, so you have full control over your server.
This plugin is creating new plugins-dynamic.ini file in configs folder, so you have to give write permission to that folder.
You can set simple rules like:
[ de_dust ]
mp_roundtime 3
or:
[ @lastMap = de_aztec ]
amx_nextmap de_aztec2
But you can also set more complex rules like this one:
[ de_* & @%H >= 20 & @%H < 24 & @playersCount > 5 ] D
csdm_enable
This will enable csdm on all "de_" maps, but only if it's between 8 PM and 12 PM, average no. of players on previous map was greater than 5 and server is running as Dedicated.
Version:
1.00
History:
1.00: Release
Registered server commands:
once - skips followed command after server restart
Server infos:
playersCount - average no. of players on previous map
Installation:
Put mapconfigx.sma file on your scripting/ folder, compile it and put mapconfigx.amxx to plugins/.
Then create folder "configs/mapconfig/" with these three files:
plugins.ini - file with plugin names that will be loaded if adequate rule match
config.ini - file with commands that will be executed if match
resources.ini - file with files to precache if rule match
For more info see readme.htm file in attached example.zip archive.
.zip
This plugin lets you to set different config, plugins set and files to precache to every maps. It's similar to files in maps/ and *.res files but everything is in one clear file, so you have full control over your server.
This plugin is creating new plugins-dynamic.ini file in configs folder, so you have to give write permission to that folder.
You can set simple rules like:
[ de_dust ]
mp_roundtime 3
or:
[ @lastMap = de_aztec ]
amx_nextmap de_aztec2
But you can also set more complex rules like this one:
[ de_* & @%H >= 20 & @%H < 24 & @playersCount > 5 ] D
csdm_enable
This will enable csdm on all "de_" maps, but only if it's between 8 PM and 12 PM, average no. of players on previous map was greater than 5 and server is running as Dedicated.
Version:
1.00
History:
1.00: Release
Registered server commands:
once - skips followed command after server restart
Server infos:
playersCount - average no. of players on previous map
Installation:
Put mapconfigx.sma file on your scripting/ folder, compile it and put mapconfigx.amxx to plugins/.
Then create folder "configs/mapconfig/" with these three files:
plugins.ini - file with plugin names that will be loaded if adequate rule match
config.ini - file with commands that will be executed if match
resources.ini - file with files to precache if rule match
For more info see readme.htm file in attached example.zip archive.
.zip