Skocz do zawartości

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.
  • Rozpoczynaj nowe tematy i odpowiedaj na inne
  • Zapisz się do tematów i for, aby otrzymywać automatyczne uaktualnienia
  • Dodawaj wydarzenia do kalendarza społecznościowego
  • Stwórz swój własny profil i zdobywaj nowych znajomych
  • Zdobywaj nowe doświadczenia

Dołączona grafika Dołączona grafika

Guest Message by DevFuse
 

Zdjęcie

reklama


  • Zamknięty Temat jest zamknięty
4 odpowiedzi w tym temacie

#1 panczo2000

    Zaawansowany

  • Użytkownik

Reputacja: 1
Nowy

  • Postów:103
Offline

Napisano 14.04.2009 22:22

witam poszukuje pluginu zeby banował ludzi którzy reklamuja serva na moim servie.
np nik ma ip do zeby dwało bana napisał ip dawało ban ( mam juzm program który maskuje i bana daje na 10 minut za reklame ale jak sa na niku to niedaje ) ;>
  • +
  • -
  • 0

#2 lama

    Początkujący

  • Użytkownik

Reputacja: 1
Nowy

  • Postów:12
  • Lokalizacja:Poland
Offline

Napisano 15.04.2009 09:15

http://forums.allied...ad.php?p=705477

Tak jak chcesz ustawiasz w Cvar`ach i wklejszasz do amxx.cfg
  • +
  • -
  • 0

#3 panczo2000

    Zaawansowany

  • Autor tematu
  • Użytkownik

Reputacja: 1
Nowy

  • Postów:103
Offline

Napisano 15.04.2009 15:50

Cvars:
ac_log 0|1 (default 1)
Mean it will create log file (1) with found adverts or not (0).
If ac_log 1 you should create 'advert' folder in logs/ directory.
ac_what2search 0|1|2|3 (default 3)
Define which adverts it should search. Value from list:
0 - nothing (sth like plugin disabled)
1 - only IP`s
2 - only WWW addresses
3 - both
ac_punish 0|1|2 (default 0)
Chose punishment for spammers
0 - warning
1 - kick
2 - ban
ac_bantime
If 'ac_punish 2' it define how long player will be banned (in minutes)
ac_punishbyname 0|1 (default 1)
If = 0 plugin doesn`t kick and ban for advert in nick
ac_changename 0|1 (default 1)
If = 1 and ac_punishbyname 1 changes found nick on 'Player' (defined as const)
ac_punishbysay 0|1 (default 1)
If = 0 plugin doesn`t kick and ban for advert in chat messages
ac_banip 0|1 (default 0)
Work when ac_punish 2.
[/b]ac_banip 1 will ban user by ip,
ac_banip 0 will ban user by authid.
ac_firstadvert 0|1 (default 1)[/b]
If =1 and found first player`s advert plugin set for him ac_punish 0 - only warning to know that this is doesn`t allowed on server. For next adverts use actual cvar value.
No longer ac_flex_pattern 0|1
ac_ips_chars "" (default [NALPHANUM])
Define list of chars, which can be between bytes of IP to punish. In standard IP it is simple dot (.), but you can punish for other , fe. "12. 12, 12.12". Default value mean: "all not alphanumeric chars". It is single value - don`t add other chars (bad used could make pattern invalid, so it is blocked) to this, create own list of chars. Instead double quote char (") use [q] alias.
Examples:
ac_ips_chars " .,"
ac_ips_chars " .-="
ac_ips_chars " .'[q]"
ac_max_chars (default 3)

Max count of chars from list 'ac_ips_chars' in string. Value 3 mean, that 12...12.12.12 will be punished but 12....12.12.12 will not. Use 0 when want catch all more than 1.
Cmds
register_exception
Add to list of exceptions. For this addresses it won`t punish (allowed addresess).
You can add websites and servers addresses. Plugin automatic add IP of your server.
If you need more than 15 exception slots, change this constant and recompile:

#define MAX_EXC 15

Important: Don`t include 'http://' and 'www' in domains and port in IPs!
showexc
Show in console list of exceptions (only for admins).


jak ja mam to ustawic jak ja nieznam angielskiego : tak zeby banowało za ip albo za nik jak sie ma ip w nim proszę

[/b]

:help: :help: :help: :help: :help: :help: :help: :help: :help: :help: :help: :help: :help: :help: :help:
  • +
  • -
  • 0

#4 R3X

    Godlike

  • Przyjaciel

Reputacja: 2 987
Godlike

  • Postów:4 248
  • Lokalizacja:Nie
Offline

Napisano 15.04.2009 16:34

to mój pierwszy post na amxx.pl ;D
http://amxx.pl/viewtopic.php?t=5866
  • +
  • -
  • 0

#5 panczo2000

    Zaawansowany

  • Autor tematu
  • Użytkownik

Reputacja: 1
Nowy

  • Postów:103
Offline

Napisano 16.04.2009 09:19

ddzieki stary
  • +
  • -
  • 0




Użytkownicy przeglądający ten temat: 0

0 użytkowników, 0 gości, 0 anonimowych