Read carefully!
One of the most common issues with plugin installation amongst beginners is modules. I've seen a lot of posts saying such things as "how do i install this plugin?" and whatnot. I will explain this so you do not have to make posts like that anymore.
Read
this first. It will go through the basics of installing a plugin. If you're still having trouble, read on.
Modules:
Make sure you have all of the required modules enabled.
As of AMXX 1.60 modules automatically load themselves, so this is not needed unless you're running an older version!
Q) How do I know which modules are needed?
A) Open the .sma file in notepad and go to where the includes are. Include lines begin like this: #include. Then the module will be named right after that. IE: <fun>
Let me give you a brief example.
Code:
#include <amxmodx> #include <amxmisc> #include <engine>
In this example, the module "Engine" is needed.
Now go to your amxmodx configs directory and open
modules.ini. By default it will look like this:
Quote:
; AMX Mod X Modules
; You can specify both linux & win32 modules here
; To enable a module, remove the semi-colon from the line
; ------------------------------
; Fun - provides extra functions
; ------------------------------
fun_amxx_i386.so
fun_amxx.dll
fun_amxx_amd64.so
; ----------------------------------------------------
; Engine - provides engine functions core to Half-Life
; ----------------------------------------------------
;engine_amxx_i386.so
;engine_amxx.dll
;engine_amxx_amd64.so
; ----------------------------------------------------------
; Fakemeta - provides a massive interface into the HL engine
; ----------------------------------------------------------
;fakemeta_amxx_i386.so
;fakemeta_amxx.dll
;fakemeta_amxx_amd64.so
; -------------------------------------------
; Database Access - only enable one of these
; -------------------------------------------
; MySQL
;mysql_amxx_i386.so
;mysql_amxx.dll
;mysql_amxx_amd64.so
; PostgreSQL
;pgsql_amxx_i386.so
;pgsql_amxx.dll
; Microsoft SQL
;mssql_amxx.dll
; SQLite
;sqlite_amxx.dll
;sqlite_amxx_i386.so
;sqlite_amxx_amd64.so
; ---------------------------------------------
; GeoIP - determines the country of ip adresses
; ---------------------------------------------
;geoip_amxx_i386.so
;geoip_amxx.dll
;geoip_amxx_amd64.so
; --------------------------------
; Sockets - network socket support
; --------------------------------
;sockets_amxx_i386.so
;sockets_amxx.dll
;sockets_amxx_amd64.so
; --------------------------
; Regular Expression support
; --------------------------
;regex_amxx_i386.so
;regex_amxx.dll
;regex_amxx_amd64.so
; --------------------
; Binary Vault support
; --------------------
;nvault_amxx_i386.so
;nvault_amxx.dll
;nvault_amxx_amd64.so
|
As you can see the plugin needs "Engine" to be enable, but by default it is not enabled.
To enable a module simply take the ';' out from in front of the module. (AKA "uncommenting")
If your server is running Windows then uncomment the one with the .dll extension. With Linux it's the .so extension. The last one is for AMD64 servers: module_
amxx_amd64.so.
After enabling the Engine module for Windows, this is how it should look:
Quote:
; ----------------------------------------------------
; Engine - provides engine functions core to Half-Life
; ----------------------------------------------------
;engine_amxx_i386.so
engine_amxx.dll
;engine_amxx_amd64.so
|
Mod-specific Modules
For mod-specific modules like cstrike you must first
download the addon package for the mod. Then extract the module to /modules in the amxmodx directory. After that you must add a line like so to modules.ini:
Quote:
Originally Posted by Example for cstrike on Windows
cstrike_amxx.dll
|
If you wish, you can take the modules.ini file that came from that addon package and overwrite modules.ini in the configs directory.
NOTE: You WILL have to re-enable all modules you've previously enabled in the file you just replaced.
*** With that said, restart your server for the modules to load properly. ***
Language Files:
Make sure the language files are uploaded and in the correct directory.
If there's a .txt file included with the plugin, then it usually means it's a readme file OR a language file.
Q) How do I tell if it's a language file?
A) If it's in /data/lang inside of the zip/rar file. Or you can open it up and if it has lines with language abbreviations like [en], [fr], [de], etc, then it's a language file.
Put the language file(s) in /data/lang in your AMX Mod X directory.
---
If I've missed anything or you want to make some type of correction/addition, PM me.
_____________________________________________ ___________
Did this help you? Show your appreciation by giving me +karma :]
_____________________________________________ ___________
__________________