Raised This Month: $32 Target: $400
 8% 

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


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Server Management        Approver:   sawce (9)
AdaskoMX
Member
Join Date: Apr 2008
Location: Z-cie
Old 04-27-2008 , 11:46   MapConfigX v1.00 (dynamic plugins / precache / config)
Reply With Quote #1

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.
Attached Files
File Type: zip example.zip (3.9 KB, 2430 views)
File Type: sma Get Plugin or Get Source (mapconfigx.sma - 4468 views - 7.5 KB)

Last edited by AdaskoMX; 05-06-2008 at 08:21.
AdaskoMX is offline
device
Member
Join Date: May 2008
Location: Hungary
Old 05-05-2008 , 08:49   Re: MapConfigX v1.00 (dynamic plugins / precache / config)
Reply With Quote #2

I'll try it out... looks fine !
device is offline
Battousai-sama
Veteran Member
Join Date: Jul 2007
Old 05-05-2008 , 22:09   Re: MapConfigX v1.00 (dynamic plugins / precache / config)
Reply With Quote #3

Wow, 2 post plugin approved!
Nice plugin (^_^)
__________________
Battousai-sama is offline
Send a message via MSN to Battousai-sama
jbrads27
Member
Join Date: Feb 2007
Location: Arcanum,Ohio
Old 05-12-2008 , 10:40   Re: MapConfigX v1.00 (dynamic plugins / precache / config)
Reply With Quote #4

I understand how to set up for the csdm maps. But how would you set up for the gungame on gg_maps.?
jbrads27 is offline
Kocation
Junior Member
Join Date: Jun 2008
Old 06-11-2008 , 19:01   Re: MapConfigX v1.00 (dynamic plugins / precache / config)
Reply With Quote #5

you could activate ir by puting the maps in de gungame_mapcycle.txt y configs folder
Kocation is offline
Mlk27
Veteran Member
Join Date: May 2008
Old 08-29-2008 , 08:17   Re: MapConfigX v1.00 (dynamic plugins / precache / config)
Reply With Quote #6

is it just me or this plugin is really broken in amxmodx 1.8.1? i got it worked very well in 1.8.0 but after i upgraded to 1.8.1 it stopped working
Mlk27 is offline
device
Member
Join Date: May 2008
Location: Hungary
Old 09-04-2008 , 20:46   Re: MapConfigX v1.00 (dynamic plugins / precache / config)
Reply With Quote #7

Hi!

I'd like to request a feature.... the diary....

I'd like to make events on my server, which is uwar3 by default.... and for example on monday from 11 till 02 I want to disable uwar3, and enable biohazard mod....

and make evening events what the community wants....

so I'd like to request some scheduleing feature...


so It has to switch cvars as well but I need not just the actual time of the day, but the actual day of the week, or months or something.....

setting easter bunny plugins for easter, christmas plugin for christmas.... and so on....


what if..... this plugin could enable disable amxx plugins.. not by cvar, because if I put a whole lot of big mods (with sounds etc) joining players would have to download them all....
can you do that this plugin would control some amxx plugins to load? Including the scheduling feature as well....

Thanks for your time, your help would be appreciated...

device


edit :

have a look at this idea :

something similar to this plugin : http://forums.alliedmods.net/showthread.php?p=603001

Last edited by device; 09-04-2008 at 20:54. Reason: found something similar to implement
device is offline
Kam1kaze
Junior Member
Join Date: Jun 2008
Old 10-11-2008 , 04:11   Re: MapConfigX v1.00 (dynamic plugins / precache / config)
Reply With Quote #8

Unfortunately, this plugin doesn't work properly for me (AMXX 1.8.1).

I have found two similar bugs.

1. When server is started, none of cvars isn't adjust to the first map. After changelevel all cvars works fine.

2. For example I have 2 settings for cs_ and de_ maps:
===============
[ cs_ ]
mp_roundtime 2.5

[ de_ ]
mp_roundtime 1.75
===============

If the map is changed from cs_assault to de_dust2. mp_roundtime isn't changed (still 2.5).
After that the map is changed from de_dust2 to de_aztec, mp_roundtime is changed to 1.75.

All configurations adjusts only after second change
Kam1kaze is offline
Mlk27
Veteran Member
Join Date: May 2008
Old 10-11-2008 , 05:39   Re: MapConfigX v1.00 (dynamic plugins / precache / config)
Reply With Quote #9

until that gets fixed, maybe you can use this plugin:

http://forums.alliedmods.net/showthread.php?p=678936
http://forums.alliedmods.net/showpos...6&postcount=20
Mlk27 is offline
delphistt
New Member
Join Date: Sep 2009
Old 09-28-2009 , 02:18   Re: MapConfigX v1.00 (dynamic plugins / precache / config)
Reply With Quote #10

Help, the plugin does not define quantity of players. It is necessary for me that a config, varied depending on quantity of the playing
P.S Sorry, English language badly I know: (
delphistt is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:18.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode