Raised This Month: $ Target: $400
 0% 

Plugin Autoloader v1.0


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   ALL        Category:   Server Management        Approver:   sawce (9)
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 02-14-2007 , 20:34   Plugin Autoloader v1.0
Reply With Quote #1

Plugin Autoloader

Description
This plugin is designed to automatically load all plugins in the ./plugins/ directory. It allows making exceptions (such as not loading certain plugins, debugging them, pausing them on load, and not touching any plugins listed in the plugins.ini).

Installation
In your ./configs/ directory, create a file called "autoloader.ini". In this file, add any exceptions you want to make that aren't listed in your plugins.ini. The syntax is as follows (you can copy this into the file if you want, just make sure you add a ';' before every 'myplugin'):

Code:
; Do not load this plugin
myplugin.amxx unload

; Debug this plugin
myplugin.amxx debug

; Pause this plugin on load
myplugin.amxx pause
Additional Information
Any plugins not listed here or in the plugins.ini file will be automatically loaded.

Leave the "plugins-autoloader.ini" file that this plugin creates alone. It is used for autoloading, and any modifications to it will be lost on map change / server crash, etc.
Attached Files
File Type: sma Get Plugin or Get Source (plugin_autoloader.sma - 2955 views - 3.1 KB)
__________________

Last edited by Hawk552; 02-16-2007 at 14:02.
Hawk552 is offline
Send a message via AIM to Hawk552
 


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 11:06.


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