Auto Plugins Adder
Release: 07.03.2015 | Last Update: 07.03.2015
Table of Contents
While I had some servers, I found quite annoying that after every plugin I was installing, I must add it manually in plugins.ini. But the biggest problem was that sometimes I forget to do it and was wondering why the plugin does not work.
This plugin, as it name says, is a plugin auto adder. At every server start/restart/map change it parse plugins folder and add everything in plugins.ini
I'm sure that you think now, "this won't work, it will keep adding same plugins that are already in a file" or "what if I have custom plugins configuration per map or per mod ?". Well:
1.plugins_mod: mod can be any custom mod(like the one from Furiens by ConnorMcLeod
- It adds only the plugins that ARE NOT already in plugins.ini
- Custom configuration are taken into accout:
- Any plugin from addons/amxmodx/configs/plugins-mod*.ini is not added.
- Any plugin from addons/amxmodx/configs/maps/plugins_map_name*.ini is not added.
- Any plugin from addons/amxmodx/configs/maps/plugins_map_prefix*.ini is not added.
- Any disabled plugin(no matter from what config file from above) won't be added again.
2.plugins_map_name: can be any map name
3.plugins_map_prefix: can be any map prefix(de_/cs_/fy_/as_)
You don't have to do anything, just install and let it do all the work for you. Plugins are instantly loaded.
I'm open to suggestions, please post any ideea you have, I would be glad to add it, if it's fine.
- A server without dproto.
This is not generally needed, but I won't help you if you are running an outdated server with dproto. If you are experiencing problems, update your server/ fix the erros by yourself.
Downloads <a href="#top">top
To install the plugin:
- Download the resources from this post.
- Put AutoPluginsAdder.amxx in addons/amxmodx/plugins
- Open addons/amxmodx/configs/plugins.ini and add at the end of this file AutoPluginsAdder.amxx
- You can put AutoPluginsAdder.sma file into addons/amxmodx/sources but this is not mandatory.
- Restart the server/change map.
- V 0.0.1:unknow
Attached Files Get Plugin or Get Source (AutoPluginsAdder.sma - 4.4 KB)
Wyświetl pełny artykuł