Raised This Month: $ Target: $400
 0% 

Managing your Sourcemod installation


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Thrawn2
Veteran Member
Join Date: Apr 2009
Old 05-02-2011 , 13:34   Extensions
Reply With Quote #11

3.2 Installing an extension
This is pretty much the same as installing plugins, so it does not seem necessary to list the required steps, but i will do it anyway.
To install an extension you just copy it to the /extensions directory.
Extensions can require gamedata and translations like plugins, so don't forget to install them too.

To actually load the extension just change the map or type sm exts load <name of your extension> in the server console. Remember that extensions wont load automatically if they are not required in the first place.

To force an extension to always load, just create an empty file with the name of the extension itself and the file-extension .autoload.
Example:
  • extension file name is extensions/sdkhooks.ext.ep2v.dll
  • to autoload this extension create an empty file extensions/sdkhooks.autoload

Note: You can't update a running extension, you need to disable it first via sm unload <extensionname> or stop your server. Otherwise your server will most likely crash (at least on linux).
__________________
einmal mit profis arbeiten. einmal.
Thrawn2 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:53.


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