Search
Username:
Password:

Register or Reset Password

SUBMISSIONS
Counter Strike 1.6
   New Maps
   New Tutorials
   New Skins
   New GUI's
   New Sounds
   New Threads
Supervisors
   Aceman
   AlexKiryazi
Other
   Media
   Gamers
   Clans
   Studios
The Complete Guide For CS 1.6 AMX Server *Part 1*
Difficulty: Advanced
Category: CS > Server AdministrationAuthor(s): Aceman, Amxmodx Inc, Wiki









*Part 1*
This tutorial is so long it has to be split up in different parts


The Complete Guide For Setting up an Amxmodx Server Part 1.

What you will need:

*Most of this material here was from tha AMX Mod X Site.*
Credits: Wiki & AMX Mod X Inc.
Revised and Re-written in a different way by Aceman.


This tutorial explains the following:




About AMX
AMX Mod X is a versatile Half-Life metamod plugin which is targeted toward server administration.It has a wide array of scripting capabilities so people can write "plugins", or files which add on to a mod's functionality. Plugins can take form in administrative services (adding new admin commands), statistics generation (StatsX), fun additions (godmode, etc), gameplay changes (WC3, CSDM), and much, much more! You can also write modules to expand the functionality of AMX Mod X and add to the scripting languange.



AMX Mod X and AMX
AMX Mod X was originally based on AMX Mod, a similar Half-Life modification by OLO. However, AMX Mod began to slip into poor project policies (lack of public input, no open source enforcement, no central source code maintained, and much more).Due to the dead appearance of the project as all maintainers had disappeared into oblivion, the AMX Mod X project was started.Since then, the AMX Mod X project has come a long way. Nearly every portion of AMX Mod has been either rewritten from the ground up, cleaned up, or changed to work in a new system.AMX Mod X is not AMX Mod. And better yet, it's almost fully backward compatible.


Download AMX Mod X            Download on on fpsb?
Well before you can get started you need to download the latest amxmodx software. You can get that here.


Choose An Installation Method

1st you need to chose your install method. Depending on what type of server you have, is the one you would choose.

Steam Dedicated Server
This is a local server running on your computer or a different computer on your network.
Steam Listen Server
A Listen server is when you are on LAN. And go to new game and play, whereby your client is the server.
Standalone Server
Standalone Server - a local server not started from the steam menu (for example: C:\HLServer).
Select Mod Directory
Therefore you are installing it manually into your program files.
FTP
Your server must be accessed through FTP.
Next....




Using FTP               Do You Have FTP?
*If you are not using FTP then skip this step.*
If you use FTP, you will be presented with a dialog to enter your FTP information. If successful, you will then have to choose your mod folder. In the example on the right, "cstrike" would be selected for "Counter-Strike". Also, make sure to select the correct operating system and verify the addon name.


Next...
Local Installations
If you install to a local computer, you will simply get a list of the detected mods. Select which one you want to install to.



Addons
After the installation, if your mod has a supported addon package, you will be asked if you want it installed. It is recommended that you choose yes.



Finalizing

After the installation is done, check to make sure AMX Mod X is working by restarted your server and typing "meta list" in the server console. If it doesn't work, look to Troubleshooting AMX Mod X. Otherwise, move on to Configuring AMX Mod X.


Adding & Removing Admins
Adding Admins to a AMX Mod X

First, open the amxmodx/configs/users.ini file with your favorite text editor. Scroll to the bottom. Admin entries are stored with four options: Authentication, Password, Access Right, Connection Properties.

In the early days of Half-Life 1 it was common to have admins authenticate by name. However, now it is recommended to auth by steamid. An example of a typical admin entry is:

"STEAM_0:0:123456" "" "abcdefghijklmnopqrstu" "ce"


Entries are one-per-line, and each of the four options are space separated, contained in double-quotes. This one means:

1. The user has SteamID STEAM_0:0:123456
2. The user has no password (steamid-authentication)
3. Access rights are levels a through u
4. The user is a steamid ("c") and has no password ("e")

It is also possible to authenticate by username:

"BAILOPAN" "mypass" "abcdefghijklmnopqrstu" "a"


To authenticate, BAILOPAN would put this in his client's autoexec.cfg, where "_pw" is the value of "amx_password_field" in amxx.cfg.

setinfo "_pw" "mypass"
Next...


Removing A Admin
Find the admin's entry in your amxmodx/configs/users.ini file, and put a semicolon in front of it. For example:

;"STEAM_0:0:123456" "" "abcdefghijklmnopqrstu" "ce"


That will prevent the entry from being read.



Maintaining Admins


Once the server loads for the first time, it will automatically create the table specified with amx_sql_table.

You can either add an admin through an SQL tool like an SQL Console or phpMyAdmin, or you can add an admin using amx_addadmin.

If you choose to use SQL directly (or an interface), you must learn the table layout. There are four columns, each corresponding to one of the four properties listed above in Adding an Admin. For example:

INSERT INTO admins VALUES("STEAM_0:1:23456", "", "abcdefghijklmnopqrstu", "ce");

*Note: It is important that you do not use the 'z' flag for admins.*

*More Information on this Towards Bottom*






Console Command
You can also use the console command amx_addadmin for adding admins. It will work for both SQL and users.ini, depending on which plugin you have enabled. An example of using the command in-game:

amx_addadmin "BAILOPAN" "abcdefghijklmnopqrstu"


Using the command from the server/rcon console:

amx_addadmin "STEAM_0:1:23456" "abcdefghijklmnopqrstu"



Access Levels
These access levels are the default access levels for the base AMX Mod X plugins. 3rd party plugins may have different usages for them, although in general users try to stick to the intentions for each flag.

Access Levels
A
immunity (can't be kicked/baned/slayed/slaped and affected by other commmands)
B
Reservation (can join on reserved slots)
C
Access to amx_kick command
D
Access to amx_ban and amx_unban commands
E
Access to amx_slay and amx_slap commands
F
Access to amx_map command
G
Access to amx_cvar command (not all cvars will be available)
H
Access to amx_cfg command
I
Access to amx_chat and other chat commands
J
Access to amx_vote and other vote commands
K
Access to sv_password cvar (by amx_cvar command)
L
Access to amx_rcon command and rcon_password cvar (by amx_cvar command)
M-T
Access to custom plugins.
U
Access to amx menu (by amx_cvar command)
V-Y
Access to your custom plugins.
Z
User (No Admin)



These flags control how AMX Mod X attempts to authorize a connecting admin.


Connection Flags
A
Disconnect player on invalid password
B
clan tag
C
this is steamid/wonid
D
this is ip
E
password is not checked (only name/ip/steamid needed



Installing Plugins

Often, plugins will have their own directions if they need special installation requirements. However, this will instruct you on the basics of adding a plugin.

  • Follow any directions the plugin author has given you. If the plugin requires extra steps or special files, make sure you have them in the proper place and order.
  • If you are given a .sma source file instead of a .amxx, you must compile the plugin yourself. For more information, see Compiling Plugins (AMX Mod X).
  • Place the plugin's .amxx file in the addons/amxmodx/plugins folder.
  • Add the plugin's name to addons\amxmodx\configs\plugins.ini. Example:

    myplugin.amxx


  • Change map or restart the server. If the plugin has any load errors, see Troubleshooting AMX Mod X.

You can get more fun plugins here.


Removing

  • Remove the entry from addons\amxmodx\configs\plugins.ini by deleting it or prepending a semi-colon to comment it out.
  • Delete any associated files.


Default Plugins
admin.amxx
Administration Base
admin_sql.amxx
Administration Base for SQL. Use only one base.
admincmd.amxx
Basic administration commands (such as kick/slap)
adminhelp.amxx
Help for admin commands.
adminslots.amxx
Slot reservation.
multilingual.amxx
Multi-Lingual client configuration.
menufront.amxx
Front-end for admin menus.
cmdmenu.amxx
Command menu for settings.
plmenu.amxx
Player menu commands (kick, ban, etc).
telemenu.amxx
Teleport Menu (fun module required).
mapsmenu.amxx
Maps menu (vote, changeleve, etc).
adminchat.amxx
Console-based chat commands.
antiflood.amxx
Prevents clients from flooding the say chat.
scrollmsg.amxx
Displays a scrolling message.
imessage.amxx
Displays a centered, timed information message.
adminvote.amxx
Voting commands.)
nextmap.amxx
Displays next map in the mapcycle.
mapchooser.amxx
Allows players to vote for the next map.
timeleft.amxx
Displays time left on the current map.
pausecfg.amxx
Allows pausing/unpausing of plugins.
statscfg.amxx
Configuration of statistical plugins.





*Stay Tunned For Part 2*
Part 2 coming Soon...

Edit: Part 2 Complete, here.




Added: 11 months agoTags: amxmodx, amx, mod, guide, server, amx admin, part 1, help, installing, plugins, commands
Feedback (15)
Page of 2   1 2 Next Page
KingPin .
KickaedY2M
Posted 4 months ago
I didn't quite understand the part about adding admins to the server, ingame.. Could someone tell me how? /zeb_sz@hotmail.com @ msn

btw, so far this tutorial has been great, and i bet it'll be further on too.. Keep it up!
.
i am THE justinY2M
Posted 9 months ago
Very detailed and thought out. Helpful in providing everything you need to know about setting up AMX Mod X.
emaGiNe .
BananiteY2M
Posted 9 months ago
How can u make yourself admin on a dedicated server?
- Bananite
uberrabbit .
Don't I deserve a cLvl up?Y2M
Posted 11 months ago
Great job.
Omega_K2 .
It's me, Mario :PY2M
Posted 11 months ago
Really nice ! 10/10
- It's me, Mario :P
.
perfectionistY2M
Posted 11 months ago
Very nice and well written, good job on this
.
Titsdale's Baby DaddyY2M
Posted 11 months ago
A must read for everyone who's planning to set a 1.6 server
ClanFever .
BannedY2M
Posted 11 months ago
Now I can make a server.
- Banned
.
Has 15 DSM submissions so far :]Y2M
Posted 11 months ago
Pros: Woah, awesome dude!
.
Dark Chest of WondersY2M
Posted 11 months ago
Nice Job, Useful.
Page of 2   1 2 Next Page
Add Feedback
Provide constructive feedback. What is "constructive"?
You cannot post yet!
Get involved on FPSB by posting your thoughts. Give authors your feedback to help them develop.

To post in this submission register or login.
Assessment
The community's verdict.
User Rating [+]
9.9/10
bScore
9.9/10
You cannot assess yet!
Moderating FPSB is in your hands - when you assess a submission your vote determines its success or failure.

To vote on this submission register or login.
Stamps
This Tutorial in a nutshell...
Detailed & Useful
You cannot stamp yet!
Stamps let you apply characteristics to submissions to help others understand them.

To stamp this submission register or login.

Brought to you by...
Dynamic Customs Inc.
Efficiency through simplicity.
Membership: On Request
Primary Skills: Coding/Scripting, Compiling, Concept Art, Graphic Design, Mapping, Modelling, Sound Effects & Music, Texturing, Web Development, Video Production, UV Mapping
Inception: 2 years ago
Vote for Studio
Like this tut? Vote Dynamic Customs Inc. for one or more monthly awards.
You must login or register to access this!
Related Tutorials
 
 
 
 
Theme: | 100 Members Online | File Mirrors | Terms of Service | Rules | Advertise here | Contact | Report a problem