Raised This Month: $12 Target: $400
 3% 

[How To] Install Plugins (thorough)


Post New Thread Closed Thread   
 
Thread Tools Display Modes
Author Message
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 01-23-2008 , 11:45   [How To] Install Plugins (thorough)
#1

This will explain how to install most every plugin if you don't have a clue where files are supposed to go.

First read the post about the plugin thoroughly.



.sma files (.amxx files part 1):

Most all plugins have all the files necessary to run available to download at the bottom of the post. Most plugins only have 1 file as well. This file is a .sma file. The .sma file is the source file for the plugin and is really only used by other scripters to see how a plugin works and to make sure it works properly. When a person posts a .sma file it will give viewers the option to "Get Source" which gives you the .sma file and to "Get Plugin" which is the .amxx compiled version of the .sma that can be used on your server to make the plugin run. So the first thing you have to do is press the "Get Plugin" link (displayed below) and download the file to your computer.
______

______


Then you move/upload that file to your server's addons/amxmodx/plugins directory.

Then find this file:
addons/amxmodx/configs/plugins.ini

If it is on an FTP download the file to your computer. Open this file and append the EXACT FILENAME of the .amxx file to the end of it like below. (Some plugins.ini files may appear to be just 1 really long line instead of several lines like below. This is okay, just go to the end of the long line and press the Enter/Return key to create a new line and append like normal.)
______

______

Once you are done with that save the file and reupload it to the configs folder if you had to download it off your FTP.



.txt files:
Some plugins have additional files. Among these are the .txt files. Most .txt files are one of 2 things. Either a readme or a language file. Chances are it's a language file and if you attempt to run the plugin without it you will get ML_NOTFOUND messages while the plugin attempts to run. To install these files simply save the file and move/upload it to your addons/amxmodx/data/lang folder.
______

______



.ini / .cfg files:
These files are usually used to allow the user of the plugin to configure the plugin most easily. You really need to read the post about the plugin to see what exactly they do. Most of these files will be placed directly into your addons/amxmodx/configs directory however not all are. Below is an example of a plugin post showing where to place the file seen under the download section.
______

______




.zip / .rar files:
Occasionally there will be .zip or .rar file attached. Usually when this is the case it is the only file. .rar files are the same as .zip files but need a special program (WinRar or some other available at download.com) to open it. Usually they will contain all of the files needed to run the plugin in their directories already. When this is the case all you have to do is extract everything to its proper place and append the plugins.ini file as shown above. Below is a picture of a .zip file that does as said above. (As well look for readme files that explain more in the .zip files)
______

______




.inc files (.amxx files part 2):
Rarely but sometimes you will see a .inc file or a link to a .inc file above the downloads. (If you are looking at one of my plugins I have links to the CHR_Engine Stocks). If this is the case there SHOULD be a .amxx file attached. If you click on the .sma's "Get Source" button it will probrably give you a compilation error and tell you to contact the plugin creator. Instead what you want to do is download the attached .amxx file and just use that file in the installation steps above. You do not need the .sma nor .inc files. Now if there is no .amxx file attached then you need to download the AMXX base windows package to retrieve the scripting folder from it, throw the .inc file into the scripting/includes folder and the .sma file into the scripting folder then run the compile.exe file and you should end up with a folder scripting/compiled with the .amxx file inside. However that is in extremely rare cases and below is how you SHOULD have to download plugins with custom library files.
______

______

Last edited by GHW_Chronic; 06-17-2008 at 22:04.
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
Closed Thread


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 07:51.


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