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

Plugin Manager


Post New Thread Reply   
 
Thread Tools Display Modes
BFishY
Junior Member
Join Date: Jun 2007
Old 10-06-2009 , 17:38   Re: Plugin Manager
Reply With Quote #41

is it possible to add a command from this plugin to the server.cfg?

One of my plugins never works unless reloaded
So the server would automatically reload it on start up?
something like reload plugin.smx?
BFishY is offline
chuckonator
New Member
Join Date: Feb 2010
Old 02-27-2010 , 18:11   Re: Plugin Manager
Reply With Quote #42

Quote:
Originally Posted by BFishY View Post
is it possible to add a command from this plugin to the server.cfg?

One of my plugins never works unless reloaded
So the server would automatically reload it on start up?
something like reload plugin.smx?
this plugin is only necessary if you want a menu for loading and unloading plugins. Sourcemod has 3 native commands for this purpose that can easily be typed in console:
rcon sm plugins load <name>
rcon sm plugins reload <name>
rcon sm plugins unload <name>

no underscores, no .smx in plugin name, but note that rcon is required - otherwise you will merely get a list of the plugins installed for sourcemod.
chuckonator is offline
jameless
Veteran Member
Join Date: Jan 2010
Old 09-27-2010 , 21:09   Re: Plugin Manager
Reply With Quote #43

We've used this plugin for the nice menu it creates for a long time now. I did however edit the plugin to add a command to load or unload a plugin.

I know some of you will be quick to say but sm plugins load and sm plugins unload work fine. But we wanted to be able to not only unload the plugin from running but also be able to move it to the disabled directory similar to how the menu works. sm plugin unload doesn't do that. Then we also wanted to be able to load a plugin from the disabled directory like the menu does. sm plugins load does not do that either. I did not create a command for reloading a plugin because sm plugins reload works fine for that.

The main reason I added these commands was for rcon support from my cell phone away from a computer. However it will also allow you to add the commands into a cfg file for automating a few tasks.

Commands:
  • sm_loadplugin <name of smx file>
  • sm_unloadplugin <name of smx file>

Note: Do not include .smx when using the command. The plugin automatically does that for you.

Hope this helps others as much as it helps us.
Attached Files
File Type: sp Get Plugin or Get Source (pluginmanager.sp - 1410 views - 7.9 KB)
File Type: smx pluginmanager.smx (5.9 KB, 445 views)
jameless is offline
untiii
Junior Member
Join Date: Nov 2011
Old 11-12-2011 , 08:27   Re: Plugin Manager
Reply With Quote #44

pls help me !
i have already installed the plugin, but i dont know how to use it!
please can someone explain that to me !
untiii is offline
jameless
Veteran Member
Join Date: Jan 2010
Old 11-12-2011 , 10:34   Re: Plugin Manager
Reply With Quote #45

If you're using original plugin, you just go into your admin menu, and you will see it in there. Then you can select to unload, load, or reload a plugin from it.
jameless is offline
The Solid lad
Senior Member
Join Date: Oct 2018
Old 04-25-2021 , 13:57   Re: Plugin Manager
Reply With Quote #46

Quote:
Originally Posted by jameless View Post
If you're using original plugin, you just go into your admin menu, and you will see it in there. Then you can select to unload, load, or reload a plugin from it.
Does your version retain the menu?
I'm considering switching to yours, because I want to set a custom admin flag for this plugin, which isn't available in the original version.
__________________
The Solid lad 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 13:00.


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