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

[CS:GO] Timed CTBans (1.0, updated 2016.12.03)


MYGO.pl
 Udostępnij

Rekomendowane odpowiedzi

  • RSSy
[CS:GO] Timed CTBans
Developed by GryTrean

Description:

This plugin allows server administrators to ban a player or SteamID from joining the CT team for an entered amount of rounds. This plugin is still under development and minor bugs might still be found. Plugin is tested and should work with other plugins without any problems.

Features:
  • CTBans for any amount of rounds
  • MySQL connected
  • Ban Reason
  • Ban-Status command
  • SteamID banning/unbanning
  • Multiple CT-Join blocking (round start, round end, swapteam)

Commands:
  • sm_ctban <player> <rounds> <reason> - Bans a PLAYER from the CT Team for X ROUNDS. The last argument is to set a reason for the ban - Shows when player gets banned and when he/she checks ban status
  • sm_ctunban <player> - Unbans a PLAYER from the CT Team.
  • sm_ctstatus - If you are banned, returns the reason of the ban. If you are not, informs you that you can join the CT Team.
  • To allow players to CTBan others, give them the "ADMFLAG_SLAY" flag
    The plugin does at this moment not contain any CVARS or Translation files. These are planned to be created in the upcoming versions.

Installation:
  • Drop ctbans.smx to /sourcemod/plugins
  • Eventually drop ctbans.sp to /sourcemod/scripting
  • Add this to databases.cfg (of course with your information instead of the given
    Code:

    "ctbans"
    {
            "driver"                        "default"
            "host"                        "localhost"
            "database"                        "sourcemod"
            "user"                        "root"
            "pass"                        ""

    }

  • Restart the server (for the highest chance of working. Not sure if just reloading the plugin will properly connect to MySQL).

Planned Updates:
  • Checking other players ban-status
  • Perm-Bans
  • Your ideas :)

Changelog:
Code:

03.11.2016
* Started Developing the plugin

03.12.2016
* Intial plugin release on AlliedModders

Screenshots:
CTBan
Spoiler

CTUnban
Spoiler

Swithteam while banned & CTStatus
Spoiler



Thank you for taking your time and reading this.
I hope you will like the plugin, it might also be smart to tell you, that this is the actual first plugin I upload here. I have some more JailBreak plugins on my disk (more than 3000 lines of code!) which I will be glad to sell by a nice price.
I hope I didnt forget anything, if you have any questions, just write in the comments below and I will try to answer.

I also appreciate all donates I get. I give out plugins for free which are not always that easy to make. Thank you!
Donate: btn_donateCC_LG.gif

Attached Files
File Type: smx [ENG] ctban.smx (9.0 KB)
File Type: sp Get Plugin or Get Source ([ENG] ctban.sp - 9.6 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

  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...