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

[Any] Super Spray Handler


owner_2019
 Udostępnij

Rekomendowane odpowiedzi

Page got messed up, luckily I had it saved. Will fix it up to look nice again here shortly.

Super Spray Handler By: TheWreckingCrew6
The Complete Spray Management Plugin
Credits: This plugin is a combination of Shavit's Spray Manager plugin, which I have fixed up, and all the hard work of Nican132, CptMoore, and Lebson506th's Spray Trace plugin, which I have also fixed up. You could consider this a redux of both plugins.

Features:
Trace the owner of a spray
Remove a Spray
Admin Spray (Spray other peoples sprays)
Spray ban users
UnSprayban Users
Punish users directly through the plugin

Admin Menu Support:



Commands:
sm_spraytrace - Trace the owner of the spray you're looking at, and open the punishment menu.
sm_removespray - Remove the spray you're looking at and open the punishment menu.
sm_adminspray <Steam_ID/Name> - Spray the persons spray where you are looking.
sm_sprayban - Ban the user from spraying. Ever.
sm_sprayunban <Steam_ID/Name> - Unban a Spray Banned user.
sm_offlinesprayban <Steam_ID> [Name] - Spray ban someone not on the server.
sm_spraybans - Shows a list of currently connected spray banned players.
sm_allsbans - Shows a complete list of spray banned players.


***All CVars are Automatically generated to "tf/cfg/sourcemod/plugin.ssh.cfg***
Convars:
sm_ssh_enabled - Defaults to 1, set to 0 to disable SSH.
sm_ssh_overlap - Enable preventing users from spraying their sprays ontop of other sprays.
(Currently Broken)sm_ssh_auth - (Default: 1) Which authentication identifiers should be seen in the HUD? This is a math cvar, add the proper numbers for your likings. (Example: 1 + 4 = 5/Name + IP address) 1 - Name 2 - SteamID 4 - IP address
sm_ssh_refresh - (Default: 1.0) How often the program will trace to see player's spray to the HUD. 0 to disable.
sm_ssh_dista - (Default: 50) How far away the spray will be traced to.
sm_ssh_bantime - (Default: 60) How long the temporary ban is for. 0 to disable temporary banning.
sm_ssh_burntime - (Default: 10) How long the burn punishment is for.
sm_ssh_slapdamage - (Default: 5) How much damage the slap punishment is for. 0 to disable.
sm_ssh_enableslay - (Default: 0) Enables the use of Slay as a punishment.
sm_ssh_enableburn - (Default: 0) Enables the use of Burn as a punishment.
sm_ssh_enablepban - (Default: 1) Enables the use of a Permanent Ban as a punishment.
sm_ssh_enablekick - (Default: 1) Enables the use of Kick as a punishment.
sm_ssh_enablebeacon - (Default: 0) Enables putting a beacon on the sprayer as a punishment.
sm_ssh_enablefreeze - (Default: 0) Enables the use of Freeze as a punishment.
sm_ssh_enablefreezebomb - (Default: 0) Enables the use of Freeze Bomb as a punishment.
sm_ssh_enablefirebomb - (Default: 0) Enables the use of Fire Bomb as a punishment.
sm_ssh_enabletimebomb - (Default: 0) Enables the use of Time Bomb as a punishment.
sm_ssh_enablespraybaninmenu - (Default: 1) Enables Spray Ban in the Punishment Menu.
sm_ssh_drugtime - (Default: 0) set the time a sprayer is drugged as a punishment. 0 to disable.
sm_ssh_autoremove - (Default: 0) Enables automatically removing sprays when a punishment is dealt.
sm_ssh_restrict - (Default: 0) Enables or disables restricting admins with the ban flag's punishments. (1 = warn only, 0 = all)
sm_ssh_useimmunity - (Default: 1) Enables or disables using admin immunity to determine if one admin can punish another.
sm_ssh_global - (Default: 1) Enables or disables global spray tracking. If this is on, sprays can still be tracked when a player leaves the server.
sm_ssh_usehud - (Default: 1) Enables or disables using the HUD for spray tracking. Works on supported games. If this is off, hint will be used.
sm_ssh_hudtime - (Default: 1.0) How long the HUD messages are displayed.

Compilation Instructions:
Download ssh.inc and place it in your includes folder.
Download SMLIB and place in your Includes folder.
Download ssh.sp, change to how you would like it, and compile that ish.

Installation Instructions:
Download SSH.smx and place in your plugins folder.
Download ssh.phrases.txt and place in your translations folder.
Place the following code with your own sql info into your databases.cfg. Title it "ssh" in the file.

MySql:
Code:

"ssh"
    {
        "driver"        "default"
        "host"        "ip/hostname"
        "database"        "database"
        "user"        "username"
        "pass"        "password"
        "port"        "3306"
    }

SqLite:
Code:

"spraymanager"
    {
        "driver"        "sqlite"
        "database"        "spraymanager"
    }


Attached Files
File Type: smx ssh.smx (40.6 KB)
File Type: txt ssh.phrases.txt (35.5 KB)
File Type: sp Get Plugin or Get Source (ssh.sp - 58.8 KB)
File Type: inc ssh.inc (1.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

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

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