PDA

View Full Version : Per map plugins?


{SR} *Raggy*
10-23-2006, 04:38 PM
I don't understand how to do this. I can't even figure that one out now to be fully honest. Can someone point it out to me cause I'm really confused now

Box Cutter
10-23-2006, 06:35 PM
I don't understand how to do this. I can't even figure that one out now to be fully honest. Can someone point it out to me cause I'm really confused now

Are you refering to amxx v1.76?

{SR} *Raggy*
10-23-2006, 08:00 PM
Yes. It's ok I was messing around with it I remembered one thing about it so I started messing about with it and got it to work. Thanks though :)

diamond-optic
10-23-2006, 09:36 PM
here's the entry from the wiki:

Per-Map Plugin Files

You can now have per-map plugin configuration files. AMX Mod X will automatically load any plugins listed in files having the following name: configs/maps/plugins-<map>.ini. Thus, de_dust specific plugins will be loaded from configs/maps/plugins-de_dust.ini.
Map-specific plugin files are parsed after the main plugins.ini is parsed, and after all secondary plugins-*.ini files are parsed in the configs folder. This means that a map-specific plugin listing inherits all settings above itself.

Disabling Plugins

A second feature was introduced to let users disable plugins per map. In any plugins-*.ini file, you may now add a "disabled" flag to a plugin name. This works like the "debug" flag. Example: gaben.amxx disabled
This will block the plugin from being loaded from any other configuration file. So if plugins-de_dust.ini has the example line above, gaben.amxx will not be loaded from any other plugins file.

{SR} *Raggy*
10-24-2006, 03:51 PM
Ya I found that after messing with this and got it working before seeing that :P Thanks though :D