; Users configuration file ; File location: $moddir/addons/amxmodx/configs/users.ini ; Line starting with ; is a comment ; Access flags: ; a - immunity (can't be kicked/baned/slayed/slaped and affected by other commmands) ; 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 (no admin) ; Account 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) ; k - name or tag is case sensitive. eg: if you set it so the name "Ham" ; is protected and case sensitive (flags "k" only), then anybody ; can use the names "haM", "HAM", "ham", etc, but not "Ham" ; Password: ; Add to your autoexec.cfg: setinfo _pw "<password>" ; Change _pw to the value of amx_password_field ; Format of admin account: ; <name|ip|steamid> <password> <access flags> <account flags> ; Examples of admin accounts: ; "STEAM_0:0:123456" "" "abcdefghijklmnopqrstu" "ce" ; "123.45.67.89" "" "abcdefghijklmnopqrstu" "de" ; "My Name" "my_password" "abcdefghijklmnopqrstu" "a" "95.160.207.195" "*****" "abcdefghijklmnopqrstu" "de" "81.190.211.1" "*****" "bit" "de" "STEAM_0:1:26656891" "" "bit" "ce"
Witamy w Nieoficjalnym polskim support'cie AMX Mod X
Witamy w Nieoficjalnym polskim support'cie AMX Mod X, jak w większości społeczności internetowych musisz się zarejestrować aby móc odpowiadać lub zakładać nowe tematy, ale nie bój się to jest prosty proces w którym wymagamy minimalnych informacji.
|
Problem z dodawaniem admina
#1
Napisano 22.11.2009 23:05
#2
Napisano 22.11.2009 23:34
"Kasza" "haslo" "abcdefghijklmnopqrstu" "a"
Teraz robisz w kosnsoli :
name Kasza setinfo _pw "haslo"
#3
Napisano 22.11.2009 23:39
A nick się zgadza. Wprowadzany przez options. Zresztą jakby się nie zgadzał to by nie wszedł na serwer z flaga A.
#4
Napisano 22.11.2009 23:44
"81.190.211.1" "*****" "bit" "de"
Odnośnie tego flaga 'e' odpowiada za nie sprawdzanie hasła
Ale bardziej niż na IP polecam ci dać na nick tak jak napisał kasza.
#5
Napisano 22.11.2009 23:47
#6
Napisano 23.11.2009 08:54
"Adres IP "" "flagi" "de"Dodajesz na koniec w users.ini i gotowe.
#7
Napisano 23.11.2009 09:46
#8
Napisano 23.11.2009 09:51
To dajesz na SID lub nickNo ok da się na ip, ale jak ktoś ma mieć admina i ma zmienne ip.
#9
Napisano 23.11.2009 11:52
To dajesz na nick + hasło lub steamidale jak ktoś ma mieć admina i ma zmienne ip.
#10
Napisano 23.11.2009 15:11
Mr. Banan napisał/a:
ale jak ktoś ma mieć admina i ma zmienne ip.
To dajesz na nick + hasło lub steamid
No tak, ale chyba wyraźnie napisałem, że mimo wielu prób ciągle wyskakuje, że złe hasło.
#11
Napisano 23.11.2009 16:48
"Nick" "Hasło" "Flagi" "a"np.
"DaddyKuba" "amxx.pl" "abcdefghijkmnopqrstu" "a"Jak na SID'a:
"SID" "" "Flagi" "ce"np.
"STEAM_0:1:12332849" "" "abcdefghijk" "ce"później admin musi w swoim cfg lub w konsoli wpisać: setinfo _pw "hasło"
#12
Napisano 23.11.2009 16:54
Nie admin tylko ten co dostaje flagi.później admin musi w swoim cfg lub w konsoli wpisać: setinfo _pw "hasło"
Ludzie mam w d*pie, że wklejacie mi wzór na admina. Ja daje tak ja w twoim 1 przykładzie. Koleś wpisuje hasło w konsole i nie działa. Nicki i hasła są identyczne i nie jakieś wymyślne nawet 123 nie działało
#13
Napisano 23.11.2009 16:55
Pokaż mi twoje amxx.cfg
#14
Napisano 23.11.2009 17:19
// AMX Mod X Configuration File
echo Executing AMX Mod X Configuration File
// Default access for all non admin players (see users.ini for access details)
//
// Default value: "z"
amx_default_access "z"
// Name of setinfo which should store a password on a client (you should change this)
// Note: Always prefix the field with an underscore (aka: "_")
// (Example: setinfo _pw "password")
//
// Default value: "_pw"
amx_password_field "******"
// Mode of logging to a server
// 0 - disable logging, players won't be checked (and access won't be set)
// 1 - normal mode which obey flags set in accounts
// 2 - kick all players not on list
//
// Default value: 1
amx_mode 1
// Show admins activity
// 0 - disabled
// 1 - show without admin name
// 2 - show with name
//
// Default value: 2
amx_show_activity 2
// Frequency in seconds and text of scrolling message
//
// Default value: "WITAJ NA SERWERZE U %BANANA%" 600
amx_scrollmsg "WITAJ NA SERWERZE U %BANANA%" 600
// Center typed colored messages (last parameter is a color in RRRGGGBBB format)
//
// Default values: "Welcome to %hostname% " "000255100"
// "This server is using AMX ModXnVisit http://www.amxmodx.org" "000100255"
amx_imessage "Welcome to %hostname%" "000255100"
amx_imessage "This server is using AMX Mod X Game4play.pl" "000100255"
// Frequency in seconds of colored messages
//
// Default value: 180
amx_freq_imessage 180
// Ban times for the main ban menu (amx_banmenu)
// Use 0 for permanent ban
// Default values: 0 5 10 15 30 45 60
amx_plmenu_bantimes 0 5 10 15 30 45 60
// Slap damage amounts for the main slap menu (amx_slapmenu)
// Slay is automaticall inserted as the first option
// Default values: 0 1 5
amx_plmenu_slapdmg 0 1 5
// Set in seconds how fast players can chat (chat-flood protection)
//
// Default value: 0.75
amx_flood_time 0.75
// Amount of slots to reserve.
//
// Default value: 0
amx_reservation 0
// If you set this to 1, you can hide slots on your server.
// If server "full" of public slots and slots hidden, you must manually connect with connect console command
//
// Default value: 0
amx_hideslots 0
// Displaying of time remaining
// a - display white text on bottom
// b - use voice
// c - don't add "remaining" (only in voice)
// d - don't add "hours/minutes/seconds" (only in voice)
// e - show/speak if current time is less than this set in parameter
//
// Default value: "ab 1200" "ab 600" "ab 300" "ab 180" "ab 60" "bcde 11"
amx_time_display "ab 1200" "ab 600" "ab 300" "ab 180" "ab 60" "bcde 11"
// Announce "say thetime" and "say timeleft" with voice, set to 0 to disable.
//
// Default value: 1
amx_time_voice 1
// Minimum delay in seconds between two voting sessions
//
// Default value: 10
amx_vote_delay 10
// How long voting session goes on
//
// Default value: 10
amx_vote_time 10
// Display who votes for what option, set to 0 to disable, 1 to enable.
//
// Default value: 1
amx_vote_answers 1
// Some ratios for voting success
// Default value: 0.40
amx_votekick_ratio 0.40
// Default value: 0.40
amx_voteban_ratio 0.40
// Default value: 0.40
amx_votemap_ratio 0.40
// Default value: 0.02
amx_vote_ratio 0.02
// Max. time to which map can be extended
//
// Default value: 90
amx_extendmap_max 90
// Step for each extending
//
// Default value: 15
amx_extendmap_step 15
// If you set this to 0, clients cannot chose their language, instead they use
// whatever language the server is configured to use.
//
// Default value: 1
amx_client_languages 1
// Plugin Debug mode
// 0 - No debugging (garbage line numbers)
// 1 - Plugins with "debug" option in plugins.ini are put into debug mode
// 2 - All plugins are put in debug mode
// Note - debug mode will affect JIT performance
//
// Default value: 1
amx_debug 1
// Plugin MultiLingual Debug
// To debug a language put its 2 letter code between quotes ("en", "de", etc)
// "" means disabled
//
// Default value: ""
amx_mldebug ""
//
// Beginning of Counter-Strike package specific configurations.
//
// Rank mode
// 0 - by nick
// 1 - by authid
// 2 - by ip
//
// Default value: 1
csstats_rank 0
// Max size of the stats file
//
// Default value: 3500
csstats_maxsize 3500
// Whether or not to rank bots with csstats - set to 1 to rank bots, 0 otherwise.
//
// Default value: 0
csstats_rankbots 0
// Duration of HUD-statistics
//
// Default value: 12.0
amx_statsx_duration 12.0
// HUD-statistics display limit relative round freeze end
// Negative time will clear the HUD-statstics before the round freeze time has ended
//
// Default value: -2.0
amx_statsx_freeze -2.0
// Te dwa cvary musze byc ustawione na 0, zeby PTB dzialal wlasciwie.
mp_autoteambalance 0
mp_limitteams 0
// Kontrola wiadomosci w chacie: 0 = wyl. 1 = wl. 2 = wtedy transfery beda pokazywane w HUD ale nie w chacie.
// Jesli ustawione na 3 to wszystkie wiadomosci beda pokazywane na chacie i transfery w HUD
ptb_saychat 1
// Typ transferow moze tylko byc 1,2 lub 3, gdzie 3 jest najbardziej "agresywny"
// 1 = domyslny
ptb_transfer_type 1
// Ustaw na 0 jesli admini z immunitetem rowniez maja byc przenoszeni
ptb_switch_immunity 0
// Ustaw na 0 jesli admini z immunitetem nie beda mogli wybierac druzyn ktorych chca
ptb_limitjoin_immunity 0
// Tutaj ustawiasz jaka flage musi posiadac admin zeby nie byc przenoszonym ( domyslna flaga to C )
ptb_immunity_level "c"
// Tutaj ustawiasz jaka flage musi miec admin zeby moc zmieniac ustawienia PTB (Default l ADMIN_RCON)
ptb_access_level "l"
// Jesli chcesz miec podglad transferow w HLSW chat zostaw ta wartosc ustawiona na 1
ptb_show_in_hlsw 1
// team selection control
amx_ptb limitjoin on // ustawia limity przy wchodzeniu do danej druzyny
amx_ptb limitafter 0 // liczba rund po ktorych zaczyna sie limitowanie druzyn
amx_ptb limitmin 0 // minimalna liczba graczy na mapie, kiedy zaczyna sie limitowanie druzyn
amx_ptb maxsize 10 // maksymalna wielkosc druzyny
amx_ptb maxdiff 2 // maksymalna roznica w liczbie czlonkow w druzynie
amx_ptb autorounds 3 // number of first rounds into match, which allow autojoin only
amx_ptb wtjauto 3 // ilosc wtj (winner team joiner) po ktorych gracz zostaje automatycznie przydzielony
amx_ptb wtjkick 5 // liczba wtj, po ktorych gracz zostaje wyrzucony
amx_ptb kick off // licznik wtj kick wlaczony/wylaczony (on/off)
amx_ptb savewtj off // zapisuj wtj do pliku wtj.log
bullet_damage 1
amx_vip_hp 15
amx_vip_hp_hs 30
amx_vip_max_hp 100
money_per_damage 3
money_kill_bonus 500
money_hs_bonus 200
mp_consistency 0
#15
Napisano 23.11.2009 17:24
amx_password_field "******"podmień na:
amx_password_field "_pw"
#16
Napisano 23.11.2009 17:44
Użytkownicy przeglądający ten temat: 1
0 użytkowników, 1 gości, 0 anonimowych


Dodatki SourceMod



Temat jest zamknięty









