Raised This Month: $32 Target: $400
 8% 

How to block plugin automatic (but not manual) loading [SOLVED]


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
El Goretto
Junior Member
Join Date: Jan 2009
Location: France
Old 02-26-2009 , 08:37   How to block plugin automatic (but not manual) loading [SOLVED]
Reply With Quote #1

Hi,

I want to block some plugins from being loaded automatically by SM when the server (re)starts, but not prevent them from being either manually loaded or from a custom cfg file (such as in files like sm_warmode_on.cfg)
I've notice that if I set "addons/sourcemod/configs/plugin_settings.cfg" "Plugin will always be blocked from loading" (automatic or manual).

How to do that?

Basically, I want fancy game modes to be available via sm_admin menu but not set as default (gore, human director, chased by tank, etc).

Thanks for your answers.

Last edited by El Goretto; 02-26-2009 at 09:05.
El Goretto is offline
Lebson506th
Veteran Member
Join Date: Jul 2008
Old 02-26-2009 , 08:51   Re: How to block plugin automatic (but not manual) loading
Reply With Quote #2

Just put them in the disabled folder.

When you want to load the plugin, just do "sm plugins load disabled/pluginname" instead of "sm plugins load pluginname"
__________________
My Plugins
Spray Tracer by Nican, maintained by me
Simple TK Manager
DoD:S Admin Weapons

Links
Resistance and Liberation (A HL2 Multiplayer Modification)
Lebson506th is offline
El Goretto
Junior Member
Join Date: Jan 2009
Location: France
Old 02-26-2009 , 09:05   Re: How to block plugin automatic (but not manual) loading
Reply With Quote #3

Ow, so simple... didn't know path could be included in sm loading command

Thx!
El Goretto is offline
Reply


Thread Tools
Display Modes

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


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