|
|
||||||
|
|
||||||
![]() |
||||||
![]() |
![]() |
|||||
|
|
» Home page » METAMOD & AMX Mod X » Adding Admins » Plug-ins » Maps » Adding Bots » TeamSpeak » ValveHammerEditor » Admin Commands » Custom Sprays » The-Dragonlair.com » TeamSpeak » Link Here » Link Here |
|
How To Add An Admin 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: The user has SteamID STEAM_0:0:123456 The user has no password (steamid-authentication) Access rights are levels a through u The user is a steamid ("c") and has no password ("e") It is also possible to authenticate by username: "Bob" "mypass" "abcdefghijklmnopqrstu" "a" To authenticate, BoB would put this in his client's autoexec.cfg, where "_pw" is the value of "amx_password_field" in amxx.cfg. setinfo "_pw" "mypass"
For information on what access levels mean, see Access Levels.
For example: ;"STEAM_0:0:123456" "" "abcdefghijklmnopqrstu" "ce"
That will prevent the entry from being read.
Then, enable the admin_sql.amxx plugin instead of admin.amxx, by opening amxmodx/configs/plugins.ini.
You should change the first two entries to look something like this:
;admin.amxx ; Disabled
admin_sql.amxx ; SQL admins
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");
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"
3rd party plugins may have different usages for them, although in general users try to stick to the intentions for each flag.
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 = vcustom level H u = menu access
z = user (no admin)
b = clan tag c = this is steamid/wonid d = this is ip e = password is not checked (only name/ip/steamid needed) High Admin Example: "STEAM_0:0:1234567" "" "abcdefghijklmnopqrstu" "ce"
Our video tutorials wll be added shortly, thank you for you're patience.
E-Mail Dragon E-Mail Cujo |
|
||
|
|
![]() |
|
|
![]() |
|
|
|
|
|
|
|
|
|
|