Specfic Map Plugins Enable/Disable *Help*

This is used for general discussion that is not necessarily server-related.
Post Reply
yocus
New to forums
New to forums
Posts: 1
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Thu Feb 28, 2013 11:37 pm

Specfic Map Plugins Enable/Disable *Help*

Post by yocus »

Hey wassup guys i run a HnS server but from time to time i like to surf and kz it up. Unfortunately on some maps with certain plugins on, it tends to crash with a error precache model count too high. Perfectly understandable and thats why they made Specific map plugins configuration.

I followed the http://wiki.amxmodx.org/Configuring_AMX_Mod_X (Section 6.3)
i created a file called plugins-surf.ini disabling multiple plugins when switching to any surf map

JCM.amxx disabled
hidenseek.amxx disabled
GHW_Weapon_Replacement.amxx disabled
multipage_explosives.amxx disabled
multipagemenu.amxx disabled
hns_xp.amxx disabled
nademodes.amxx disabled
frostnades.amxx disabled
flashbang_dlight.amxx disabled
respawnchance.amxx disabled
amx_super.amxx disabled
amx_super_menu.amxx disabled
jumpstats_bhop.amxx disabled
jumpstats_count.amxx disabled
jumpstats_long.amxx disabled
jumpstats_weird.amxx disabled
jumpstats_ladder.amxx disabled
jumpstats_main.amxx disabled

I have no use for these plugins in a surf map. This works fine. Getting the plugins to re-enable is the hard part.

Then i created similar files named plugins-de.ini and plugins-de_dust2.ini Because i want to enable those same plugins on a map change. But once i change the map there still disabled, only way of getting those plugins to even pop up is to delete the plugins-surf.ini file. Need help please

plugins-de / plugins-de-dust2 =

JCM.amxx
hidenseek.amxx
GHW_Weapon_Replacement.amxx
multipage_explosives.amxx
multipagemenu.amxx
etc...
User avatar
TimeX
Staff
Staff
Posts: 1807
Joined: Thu Jul 22, 2004 12:24 am
Location: Big Bear, CA

Re: Specfic Map Plugins Enable/Disable *Help*

Post by TimeX »

One way you could do it is to set up map specific configs through Amxmodx and in those configs you would place the Amxmodx commands to load and unload specific plugins. I would have to look up the specific commands, but the method should bypass quirks with the ini file method.
TimeX
Post Reply