View Single Post
Author Message
ddhoward
Veteran Member
Join Date: May 2012
Location: California
Old 06-21-2018 , 04:28   [Any] Plugin AutoReloader
Reply With Quote #1

[Any] Plugin AutoReloader
v. 18.0710.0

This plugin has the simple function of monitoring all running plugins for changes in the SMX's timestamp. If a change is detected, this plugin reloads the changed plugin. This plugin should really only be used on development/testing servers being run by my fellow plugin authors. It was designed to facilitate and aid those of us who rapidly make changes to our plugins in development, and test them out as we go. Manually running sm plugins reload blahblahblah can get really annoying after a while.

This plugin is a rewrite of the following plugin:
https://forums.alliedmods.net/showthread.php?t=106320

This plugin does NOTHING by default; you must enable its functionality via the first cvar listed below:



CVARS, shown with default values:
  • sm_pluginAutoReload 0 - (0/1) Enables or disables the main function of this plugin. This is set to 0 by default; you must manually turn this on in order for this plugin to function.

  • sm_pluginAutoReload_duration 2.0 - (Any number greater or equal to 0.1) This cvar sets the amount of time, in seconds to wait between scans of running plugins to determine timestamp changes.

  • sm_pluginAutoReload_update 2 - Controls Updater compatibility
    • 0 : Completely disables Updater integration
    • 1 : Updater will notify you in Updater.log if an update becomes available.
    • 2 : Updater will automatically download any updates. They will be installed on the next server start or map change.
    • 3 : Updater will automatically download and immediately install any updates.

Changelog:
Spoiler



DOWNLOADS:
If you like what you see here, please consider donating~
__________________

Last edited by ddhoward; 07-10-2018 at 05:42.
ddhoward is offline