Dodavanje Administratora u AMXMODX-u preko WebFTP-a
Idete na: cstrike/addons/amxmodx/configs/users.ini
Svi Administratori se nalaze unutra.
Za obicnog admina, dodaj na kraju fajla:"ime admina" "setinfo admina" "abcdefgijkmu" "ab"
Za VIP Admina:"ime admina" "setinfo admina" "abcdefghijkmnopqrstu" "ab"
Za Head Admin:"ime admina" "setinfo admina" "abcdefghijklmnopqrstu" "ab"
Na primjer:Ako tvoj obican admin u igri koristi ime "Marko" i hoce da mu sifra bude "32jdsa", onda u users.ini dodate ovo:
"Marko" "32jdsa" "abcdefghijkmnopqrstu" "ab"
Kad dodajete admina, ni slucano nemojte Vip ili obicnom adminu da dajete L flag, jel je to flag za head admine i preko njega se moze doci do RCON passworda! Promjene se prihvacaju tek kad promjenite mapu na serveru.
Znak ; (točka-zarez) ispred označava komentar i takvi admini se ne učitavaju i ostaju isključeni.
Logiranje na server:Upisati vasu lozinku morate prije spajanja na server! Jer nemozete uci na server pod nickom od Admina ako niste upisali lozinku(password).
znaci cim pokrenete counter strike otvorite konzolu i upisite:
setinfo _pw mojalozinkaAko ste upisali tocno kao gore sa vasom lozinkom, mozete se spojiti na vas server kao admin.
za administratorski izbornik u konzoli u igri upisite amxmodmenu i kad se vratite u igru imate admin izbornik sa lijeve strane.
Amx Naredbe se nalaze ovdje:English
Step 1: Go into your FTP area, and then head to your cstrike\addons\amx\config folder and copy the users.ini file to your computer. This is the file that stores who the admins are, and what privileges they get.
Step 2: Decide whether you'd like to use your STEAM ID to authenticate you as an admin, or if you'd like to use your IP address. Another possibility is authenticating via a username/password, but this method is usually not recommended. Please note: you should only choose one of those three methods to authenticate yourself.
Step 3: Add the following line to the bottom of your users.ini file if you're using a STEAM ID. The only thing you have to change is the STEAM ID to match your own (you can check what your STEAM ID by going into the game and typing "status" in the console), and the permissions if you want to only give yourself or others specific permissions. For more information regarding what each letter stands for regarding permissions, please see your users.ini file. Do not change what's in the second empty quotes, or what's in the last quotes:
"STEAM_0:1:12345" "" "abcdefghijklmnopqrstu" "ce"
If you'd like to use your IP address, make it look like this instead (remember to only change the IP address, and if you'd like, the permissions in the third quotes. You can check your IP address by going to
www.myipaddress.com):
"123.43.43.53" "" "abcdefghijklmnopqrstu" "de"
If you'd like to use a username/password, it should look like this (please only change the username, password, and privileges, while leaving the last quotes alone):
"login_name" "my_password" "abcdefghijklmnopqrstu" "a"
Please note that for the above option, you will be required to set a password on the client end as well. To do that, create a file in your cstrike folder on your computer called userconfig.cfg if you don't already have one. In it, have the client put setinfo _pw "password" in it. For example:
setinfo _pw "my_password"
Remember: You only need to use *one* of the above lines of code to authenticate yourself as an admin. Either choose the Steam ID method, the IP address method, or the username/password method.
Step 4: Save the users.ini file, and copy it back via FTP to the cstrike\addons\amx\config folder.
Step 5: Stop and start your server so the new users.ini file is loaded.
---------
Added:
Access flags:
a - immunity (immune to AMX commands such as kick, slap, or ban.)
b - reservation (can join on reserved slots)
c - amx_kick command
d - amx_ban and amx_unban commands
e - amx_slay and amx_slap commands
f - amx_map command
g - amx_cvar command (not all cvars will be available)
h - amx_cfg command
i - amx_chat and other chat commands
j - 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 - custom level A (for additional plugins)
n - custom level B
o - custom level C
p - custom level D
q - custom level E
r - custom level F
s - custom level G
t - custom level H
u - menu access
z - user
Account flags:
a - disconnect player on invalid password
b - clan tag
c - this is steamid (or wonid)
d - this is ip
e - password is not checked (only name/ip/steamid needed)
Examples:
<name|ip|steamid> <password> <access flags> <account flags>
"Puking Horse" "bizzybee" "abcdefghijklmnopqrstu" "a" ; Jason
"[-O-]" "wacky" "abcdefghijklmnopqrstu" "a" ; clan [-O-]
"192.168.0.100" "" "abcdefghijklmnopqrstu" "de" ; Jeff's IP
"STEAM_0:1:12345" "" "abcdefghijklmnopqrstu" "ce" ; Bigz - Mike
"STEAM_0:1:54321" "" "b" "ce" ; Mark