MapConfigX v1.00 (dynamic plugins / precache / config)

Post Reply
User avatar
greenie
Full Member
Full Member
Posts: 4444
Joined: Sun Nov 21, 2021 4:55 pm
Jucator SA:MP ?: Nu
Nick:: greenie
Jucator CS ?: Da

MapConfigX v1.00 (dynamic plugins / precache / config)

Post by greenie »

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
π‘΄π’‚π’šπ’ƒπ’† 𝒕𝒉𝒆 𝑬𝒂𝒓𝒕𝒉 π’Šπ’” 𝒕𝒉𝒆 𝑯𝒆𝒍𝒍 𝒐𝒇 𝑨𝒏𝒐𝒕𝒉𝒆𝒓 𝑷𝒍𝒂𝒏𝒆𝒕... ☒️

βœ… GAZDUIRE JOCURI / VPS / GAZDUIRE WEB / SERVERE DEDICATE - Stock NELIMITAT / Valabil comandati pe https://www.zonek.ro/
Post Reply

Return to β€œServer Management”