AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Solved How To Register A Separate plugin.ini? (https://forums.alliedmods.net/showthread.php?t=318000)

DON KHAN 1 08-08-2019 13:36

How To Register A Separate plugin.ini?
 
hi scriptors

i want to know how can i make a separate plugin.ini for mod?

e.g: plugins-zplague.ini Etc...

any code or need something else

thanks in advance

Natsheh 08-08-2019 13:38

Re: How To Register A Separate plugin.ini?
 
Search for API conclude

Neeeeeeeeeel.- 08-08-2019 13:40

Re: How To Register A Separate plugin.ini?
 
You can load specific plugins for specific map prefix or map name. More info: https://wiki.alliedmods.net/Configur...ecific_Plugins

DON KHAN 1 08-08-2019 13:51

Re: How To Register A Separate plugin.ini?
 
Quote:

Originally Posted by Neeeeeeeeeel.- (Post 2662500)
You can load specific plugins for specific map prefix or map name. More info: https://wiki.alliedmods.net/Configur...ecific_Plugins

This is helpful but i want to register for all maps

thEsp 08-08-2019 13:53

Re: How To Register A Separate plugin.ini?
 
Polymorph.

edon1337 08-08-2019 14:02

Re: How To Register A Separate plugin.ini?
 
Just create a file named plugins-yourmod.ini and put in in the configs dir. It will automatically load the plugins inside.

DON KHAN 1 08-08-2019 14:09

Re: How To Register A Separate plugin.ini?
 
Quote:

Originally Posted by edon1337 (Post 2662506)
Just create a file named plugins-yourmod.ini and put in in the configs dir. It will automatically load the plugins inside.

Thank you

this is that i was searching for.

thank you very much

but one more question please

how can i put it in config dir. Any example??

edon1337 08-08-2019 14:10

Re: How To Register A Separate plugin.ini?
 
Quote:

Originally Posted by DON KHAN 1 (Post 2662507)
how can i put it in config dir. Any example??

What do you mean? Simply put the file in addons/amxmodx/configs/ ?

DON KHAN 1 08-08-2019 14:14

Re: How To Register A Separate plugin.ini?
 
Quote:

Originally Posted by edon1337 (Post 2662509)
What do you mean? Simply put the file in addons/amxmodx/configs/ ?

i meant that i just plugins-mod.ini to addons/amxmodx/configs so will it work? or need to do something else

edon1337 08-08-2019 14:40

Re: How To Register A Separate plugin.ini?
 
Quote:

Originally Posted by DON KHAN 1 (Post 2662510)
i meant that i just plugins-mod.ini to addons/amxmodx/configs so will it work?

Yes. Why don't just test instead of posting multiple times?


All times are GMT -4. The time now is 17:21.

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