Garry's Mod

Garry's Mod

Not enough ratings
TTT - Balanced Autoslay (bas)
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: ServerContent
Addon Tags: Roleplay, Realism
File Size
Posted
Updated
2.026 KB
19 Feb, 2017 @ 10:08am
21 Feb, 2017 @ 12:22am
6 Change Notes ( view )

Subscribe to download
TTT - Balanced Autoslay (bas)

In 1 collection by Wreighn
Wreighns TTT
27 items
Description
If a detective/traitor gets slain due to the use of this command, an innocent will take the role of that detective/traitor.
Slays are stackable and persistent. Even if a player leaves, or the map changes, the number of slays assigned remains intact.

Commands:
!bas <player> <number of rounds>
If you don't define a number of rounds, the command will default to 1.
!ibas <player>
It will print how many slays a player has pending.

Convars:
ttt_bas_ban
1 means they will be banned if they leave after being set to be slain. 0 means they won't be banned. Default is 0.
ttt_bas_bantime
Time in minutes of how long to ban someone if they leave after being set to be slain (0 = permanent). Default is 60.
ttt_bas_logcmd
If set to 1, when an admin uses this command, it will be logged. 0 means it won't be. Default is 0.
ttt_bas_tcred
How many credits a replacement Traitor gets. Default is 2.
ttt_bas_dcred
How many credits a replacement Detective gets. Default is 1.

ULib is required for banning.
This plugin is still in its early stages. If you encounter any bugs, feel free to share them.
5 Comments
D1.yt 12 Nov, 2018 @ 8:32am 
i'll check when i get my server to run again ^^
Wreighn  [author] 12 Nov, 2018 @ 3:35am 
So, apparently tttdamagelogs already has a thing called "ULX_Autoslay_ForceRole". I haven't tried it, but if you are using tttdamagelogs, it might do the trick.
D1.yt 13 Jun, 2017 @ 5:23am 
yeah, that would be cool
Wreighn  [author] 12 Jun, 2017 @ 9:49am 
I don't want to meddle with other plugins, but I have found a way to integrate it into ttt damagelogs as a past request (not tested). I can send you that one if you want.
D1.yt 4 Jun, 2017 @ 11:09am 
Can't you just replace the default slay from the TTT ULX Commands addon?