←  Problemy

AMXX.pl: Support AMX Mod X i SourceMod

»

GmAMXBans
Nie wczytuje adminów z users.ini


Best Answer vAdiX 04.01.2015 11:48

Dobra, zrobiłem reinstal serwa, jeszcze raz wszystko na nowo zrobiłem i działa. Coś musiałem wcześniej przeoczyć. Dzięki wszystkim, którzy się tu wypowiadali, za to, że chcieli mi pomóc. 

 

Można zamknąć :D

Go to the full post

  • +
  • -
vAdiX's Photo vAdiX 31.12.2014

Siemka, tak jak w temacie. 
Podam wam wycinki plików

 

amxbans.cfg

// Plik Konfiguracyjny AMXBans
 echo [AMXBans] laduje plik amxbans.cfg

 // Prefix bazy
 // Nota: Prefiks wpisany w sql.cfg nie jest już używany przez AMXBans
 amx_sql_prefix "amx"

 //Używanie oznaczeń gracza na tym serwerze czy na wszystkich?
 amxbans_flagged_all_server 1

 // Wczytywanie adminów
 // 0 z bazy SQL, 1 = z pliku users.ini, 2 = nie ładuje adminów
 amxbans_use_admins_file 1

// AMXBans próbuje pobierać Ip automatycznie (Tak, widać ;/)
 // Możesz ustawić inne iP -np. "<ip>:<port>"
 amxbans_server_address ""

// Tak naprawdę ten cvar jest niezle pomylony niby chodzi o czas a ustawia własny powód bana 
 // -1 aby wyłaczyć, 0 aby właczyć własny powód bana
 amxbans_custom_statictime 0

 // Wpisz jaka ma byc wyświetlana nazwa serwera na stronie gdy gracz dostanie bana .
 // np. amxbans_servernick "Mój za***isty serwer"
 // Pozostaw puste aby czytało domyślna nazwe hosta z server.cfg
 amxbans_servernick ""

 // Ustaw 1 / 2 / 3 aby włączyć powiadomienia o debugach w logach.
 // nie ustawiaj na 3 bo Ci konsole zaspamuje, ustaw 2 bedzie normal
 amxbans_debug 0

// Nie wpisuj "http://". Plugin sam sobie to wpisze 
 amxbans_complain_url "www.twoja.com"

 // Ustaw na 1 aby mapa była pokazywana w nazwie serwera
 amxbans_add_mapname_in_servername 1

 // Ustaw na 1 aby w czacie HLSW był pokazywany komunikat o banie
 amxbans_show_in_hlsw 1

 // Pokazuje zielony napis w hud, w lewym górnym rogu, w przypadku bana
 amxbans_show_hud_messages 1

 // Ustawia jaka flaga odpowiada za najwyższy czas bana jaki może ustawić admina.
 amxbans_higher_ban_time_admin "n"

sql

// SQL configuration file
// File location: $moddir/addons/amxmodx/configs/sql.cfg

// *NOTE* Linux users may encounter problems if they specify "localhost" instead of "127.0.0.1"
// We recommend using your server IP address instead of its name

// *NOTE* amx_sql_type specifies the DEFAULT database type which admin.sma will use.

amx_sql_host	"cs-awp.xaa.pl"
amx_sql_user	"csawp_forum"
amx_sql_pass	"moje haslo"
amx_sql_db	"csawp_forum"
amx_sql_table	"admins"
amx_sql_type	"mysql"

plugins.ini

; AMX Mod X plugins
amxbans_core.amxx
amxbans_main.amxx

; Admin Base - Always one has to be activated
;admin.amxx		; admin base (required for any admin-related)
;admin_sql.amxx		; admin base - SQL version (comment admin.amxx)

; Basic
admincmd.amxx		; basic admin console commands
adminhelp.amxx		; help command for admin console commands
adminslots.amxx		; slot reservation
multilingual.amxx	; Multi-Lingual management

; Menus
menufront.amxx		; front-end for admin menus
cmdmenu.amxx		; command menu (speech, settings)
plmenu.amxx		; players menu (kick, ban, client cmds.)
;telemenu.amxx		; teleport menu (Fun Module required!)
mapsmenu.amxx		; maps menu (vote, changelevel)
pluginmenu.amxx		; Menus for commands/cvars organized by plugin

; Chat / Messages
adminchat.amxx		; console chat commands
antiflood.amxx		; prevent clients from chat-flooding the server
scrollmsg.amxx		; displays a scrolling message
imessage.amxx		; displays information messages
adminvote.amxx		; vote commands

; Map related
nextmap.amxx		; displays next map in mapcycle
mapchooser.amxx		; allows to vote for next map
timeleft.amxx		; displays time left on map

; Configuration
pausecfg.amxx		; allows to pause and unpause some plugins
statscfg.amxx		; allows to manage stats plugins via menu and commands

; Counter-Strike
;restmenu.amxx		; restrict weapons menu
statsx.amxx		; stats on death or round end (CSX Module required!)
;miscstats.amxx		; bunch of events announcement for Counter-Strike
;stats_logging.amxx	; weapons stats logging (CSX Module required!)

; Enable to use AMX Mod plugins
;amxmod_compat.amxx	; AMX Mod backwards compatibility layer

; Custom - Add 3rd party plugins here
c4.amxx
RoundSound.amxx
resetscore.amxx
parachute.amxx
amx_ssban.anxx
reklamy.amxx
unbanmenu.amxx
spree.amxx

Quote

  • +
  • -
Why#'s Photo Why# 31.12.2014

pokaż te users.ini ..

Quote

  • +
  • -
vAdiX's Photo vAdiX 31.12.2014

Łap ;d

; 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"
"vadix" "moje haslo" "abcdefghijklmnopqrstu" "a"

Quote

  • +
  • -
vAdiX's Photo vAdiX 31.12.2014

Łap 

; 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"
"Splade" "qweasdzxc2521" "abcdefghijklmnopqrstu" "a"
"Lujek" "lujek" "abcdefghijklmnopqrstu" "a"

Quote

`Krzychuu's Photo `Krzychuu 31.12.2014

W plugins.ini

Dodaj ; przed amxbans_core.amxx i amxbans_main.amxx i usuń ; z admin.amxx
Quote

  • +
  • -
vAdiX's Photo vAdiX 31.12.2014

Ale jak tak dodam, to owszem, admina będę miał, ale wtedy amxbans nie działa.

Quote

`Krzychuu's Photo `Krzychuu 31.12.2014

to nie wiem co robić, nie lepiej z amxbansa?


Edited by `Krzychuu, 31.12.2014 23:52.
Quote

  • +
  • -
vAdiX's Photo vAdiX 01.01.2015

Ale co z amxbansa?

Quote

blokers's Photo blokers 01.01.2015

Amxbans musi dzialac, poczytaj instrukcje instalacji AmxBans, bo w takie głupoty to ja nie wierze :)

Quote

  • +
  • -
vAdiX's Photo vAdiX 01.01.2015

No właśnie wszystko dobrze robiłem itp. a amxbans nie dziala ;/

Quote

  • +
  • -
vAdiX's Photo vAdiX 01.01.2015

tzn, działa, tylko nie czyta mi adminów na serwerze

Quote

blokers's Photo blokers 01.01.2015

Dobra a users.ini masz takie samo jak wyzej podałes?

Quote

  • +
  • -
vAdiX's Photo vAdiX 01.01.2015

Tak

Quote

blokers's Photo blokers 02.01.2015

To podaj Twoj SID albo na pw nick i haslo 

Quote

  • +
  • -
pro100wHS's Photo pro100wHS 03.01.2015

Blookers, a po co ci to??

Krzuchu, ale on chce amxbansa, a nie podstawowy plugin od wczytywania adminów...

Do autora: wejdź do konsoli serwera i wpisz
amx_reloadadmins
Następnie wstaw to, co ci wyskoczyło w konsoli.
Quote

blokers's Photo blokers 03.01.2015

Bo chce mu pomoc a wiem jak. Zle ładuje mu adminow.

Quote

  • +
  • -
Best Answer vAdiX's Photo vAdiX 04.01.2015

Dobra, zrobiłem reinstal serwa, jeszcze raz wszystko na nowo zrobiłem i działa. Coś musiałem wcześniej przeoczyć. Dzięki wszystkim, którzy się tu wypowiadali, za to, że chcieli mi pomóc. 

 

Można zamknąć :D

Quote