Raised This Month: $ Target: $400
 0% 

[REQ] Disable all plugins


  
 
 
Thread Tools Display Modes
Author Message
Imanoobie
BANNED
Join Date: Sep 2006
Old 10-07-2006 , 15:33   [REQ] Disable all plugins
#1

Hi!
I got an idea of an function to amxx1.76's per-map plugin file.
At the top, you can write "disableall", and that vill disable all non-standard plugins!
That would be great if you dont would like to type in like 50 plugins with "disable" after...

Tell me if you liked it!
If you did this, it would be VERY appreciated, by me (and a lot of other ppl 2 i think!)



One example: You run a server.
You got like 42 plugins, and you want zombie mod to run at a special map, and not all the other plugins!
Then you just make a plugins_<mapname>.ini (or how it was...) that contains this:

Quote:
Originally Posted by plugins_cs_office_zombie.ini
disableall
zombie.amxx
instead of:

Quote:
Originally Posted by plugins_cs_office_zombie.ini RETARDED
plugin1.amxx disabled
plugin2.amxx disabled
plugin3.amxx disabled
plugin4.amxx disabled
plugin5.amxx disabled
plugin6.amxx disabled
plugin7.amxx disabled
plugin8.amxx disabled
plugin9.amxx disabled
plugin10.amxx disabled
plugin879.amxx disabled
pluginhjh.amxx disabled
pluginomfg.amxx disabled
pluginETC.amxx disabled

zombie.amxx
Regards, Imanoobie
Imanoobie is offline
BAILOPAN
Join Date: Jan 2004
Old 10-09-2006 , 20:11   Re: [REQ] Disable all plugins
#2

I think this is a good idea.
__________________
egg
BAILOPAN is offline
Imanoobie
BANNED
Join Date: Sep 2006
Old 10-10-2006 , 13:30   Re: [REQ] Disable all plugins
#3

Thank you

- Imanoobie
Imanoobie is offline
sawce
The null pointer exception error and virtual machine bug
Join Date: Oct 2004
Old 10-10-2006 , 21:26   Re: [REQ] Disable all plugins
#4

If you add a disableall command it'd probably be a good idea to also a method to include an additional plugin file. It would stop some monotony with making plugin files for similar maps and a lot of 3rd party plugins to configure.

example:

Code:
disableall
include admin-plugins.ini

zombies.amxx
obelisk-mod.amxx
eye-shots.amxx
You could then have all your administrative plugins (the stuff you want for every map) in admin-plugins.ini
sawce is offline
Imanoobie
BANNED
Join Date: Sep 2006
Old 10-11-2006 , 08:26   Re: [REQ] Disable all plugins
#5

Thats a good idea!
Imanoobie is offline
BAILOPAN
Join Date: Jan 2004
Old 10-11-2006 , 10:54   Re: [REQ] Disable all plugins
#6

I think if we're gonna start adding more directives to the plugins file, we should start prefixing these things with # or something, so it'll probably be:
#disable-all
#include-file plugins-admin.ini
__________________
egg
BAILOPAN is offline
Imanoobie
BANNED
Join Date: Sep 2006
Old 10-11-2006 , 13:00   Re: [REQ] Disable all plugins
#7

Ok.
Imanoobie is offline
Old 10-21-2006, 11:19
Imanoobie
This message has been deleted by BAILOPAN. Reason: don't bump threads
MaximusBrood
Veteran Member
Join Date: Sep 2005
Location: The Netherlands
Old 10-21-2006 , 12:19   Re: [REQ] Disable all plugins
#9

Don't push developers. That's a general rule that applies to almost every community.
__________________
Released six formerly private plugins. Not active here since ages.
MaximusBrood is offline
 



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 22:20.


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