Skocz do zawartości

Nowy szablon forum

mygo.pl

Stworzyliśmy dla Was nowy wygląd forum. Z pewnością znajdziesz rzeczy, które wg Ciebie mogą zostać zmienione - wspomnij o tym w specjalnym wątku.

Czytaj więcej

Jak założyć własną sieć

serwerów CS

Zastanawiasz się nad prowadzeniem własnej sieci serwerów? Przeczytaj podstawowe informacje, na które należy zwrócić uwagę, przy takim projekcie.

Czytaj więcej

Tworzymy spis sieci

dodaj swoją

Dodaj sieć do której należysz, pozwoli to na promocję i budowę ogólnopolskiej bazy sieci CS.

Czytaj więcej

[L4D] Votekick (no black screen)


MYGO.pl
 Udostępnij

Rekomendowane odpowiedzi

  • RSSy
Description:
This plugin replaces annoing black screen vote for kick by translucent menu.
Features:
- kick for 1 hour (adjustable) even if player used trick to quit the game before vote ends.
- prevents votekick exploit
- vote announcement
- no black screen
- flexible configuration of access rights
- all actions are logged (who kick, whom kick, who tried to kick ...)

Logfile location:
- logs/vote_kick.log
Permissions:
- by default, vote can be started by player with "k" (StartVote) flag.
- ability to set minimum time to allow repeat the vote.
- ability to set minimum players count to allow starting the vote.
- admins cannot target root admin.
- set #PRIVATE_STUFF to 1 to unlock some additional options - forbid vote by name or SteamID
Settings (ConVars):

- sm_votekick_delay - def.: 60 - Minimum delay (in sec.) allowed between votes
- sm_votekick_timeout - def.: 10 - How long (in sec.) does the vote last
- sm_votekick_announcedelay - def.: 2.0 - Delay (in sec.) between announce and vote menu appearing
- sm_votekick_kicktime - def.: 3600 - How long player will be kicked (in sec.)
- sm_votekick_minplayers - def.: 4 - Minimum players present in game to allow starting vote for kick
- sm_votekick_accessflag - def.: "k" - Admin flag required to start the vote (leave empty to allow for everybody)
- sm_votekick_log - def.: 1 - Use logging? (1 - Yes / 0 - No)
Commands:
- sm_vk (or sm_votekick) - Try to start vote for kick
- sm_veto - Allow admin to veto current vote (ADMFLAG_BAN is required)
- sm_votepass - Allow admin to bypass current vote (ADMFLAG_BAN is required)
Requirements:
- GeoIP extension (included in SourceMod).
Languages:
- Russian
- English
Installation:
- copy smx file to addons/sourcemod/plugins/
- copy phrases.txt file to addons/sourcemod/translations/
Credits:
- D1maxa - for initial plugin
- MasterMind420 & Powerlord - for suggestions on fixing exploit
- SilverShot - for ConVar solution on votekick exploit

Attached Files
File Type: sp Get Plugin or Get Source (l4d_votekick.sp - 17.0 KB)
File Type: txt l4d_votekick.phrases.txt (2.4 KB)

Wyświetl pełny artykuł

Odnośnik do komentarza
Udostępnij na innych stronach

Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto

Jedynie zarejestrowani użytkownicy mogą komentować zawartość tej strony.

Zarejestruj nowe konto

Załóż nowe konto. To bardzo proste!

Zarejestruj się

Zaloguj się

Posiadasz już konto? Zaloguj się poniżej.

Zaloguj się
 Udostępnij

×
×
  • Dodaj nową pozycję...