Garry's Mod

Garry's Mod

1,021 ratings
Trouble in Terrorist Town ULX Commands
   
Award
Favorite
Favorited
Unfavorite
Type: Tool, Addon
Tags: Fun
File Size
Posted
Updated
0.016 MB
Feb 17, 2013 @ 10:10am
Mar 10, 2016 @ 4:05pm
25 Change Notes ( view )

Subscribe to download
Trouble in Terrorist Town ULX Commands

Description
This addon requires that you have ULX and ULIB installed on your client/server. You can get them here[ulyssesmod.net]

This addon is a joint effort from Bender180 and Skillz to bring you the best ulx commands for ttt possible.

Admin Commands
    Respaning Commands
  • ulx respawn <player> - Respawns target player while un-identifying the corpse and removing it, the command will also check for credits left of the body (if any) and respawn the player with them. has silent echos opposite
  • ulx respawntp <player> - Respawns the target player at the location the admin is looking.

    Role Forcing
  • ulx force <player> <pram> Prams: innocent, traitor detective - Changes target players role to the pram specified and gives the appropriate amount of credits. has silent echos opposite
  • ulx forcenr <player> <pram> Prams: traitor detective, unmark - carries out the action specified in the following round to next round force traitor/detective the group must have permission to ulx force. Echos silently

    AFK Players
  • ulx fspec <player> - forces the target player into the afk mode similar to how the gamemode would.
  • ulx unafk <player> - forces the target player back into player mode (opposite to the afk command.)

    Misc
  • ulx karma <player> <value> - changes target players karma to the specified value.
  • ulx slaynr <player> <amount> - carries out the set amount of slays at every round start
  • ulx identify/ ulx unidentify<player> - Identifies or identifies a players corpse (Thanks Neku)
  • ulx removebody <player> - Removes a players corpse (Thanks Neku)
  • ulx impairnr <player> <amount> - Impairs a players health by given amount the next round (Thanks Decicus)
  • ulx roundrestart - Restarts the current round.

Fun Commands
  • ulx credits <player> <value> - gives specified value of credits to the target player.

Voting Commands
  • ulx votenrs <player> - Triggers a vote to slay the player the following round.
  • ulx votefs <player> - Triggers a vote to force a player to spectator mode.

And a xgui panel with all ttt cvars

More info can be found on the Ulx forum[forums.ulyssesmod.net] and the TTT forums[www.zombiemaster.org]

How to install on a server: http://wiki.garrysmod.com/page/Workshop_for_Dedicated_Servers

Description last updated on 16/07/14
Popular Discussions View All (1)
0
Dec 16, 2017 @ 4:15pm
How to remove colours in admin chat?
Wynter the Blu Foxx
< >
276 Comments
Duivecz Jun 28 @ 3:26pm 
I have a similar problem to XplosiveP3nguin below, but mine is when I try to use the command "ulx force player1 traitor" or a variant, this pops up:

[Trouble in Terrorist Town ULX Commands] lua/ulx/modules/sh/ttt_admin.lua:331: bad argument #1 to 'insert' (table expected, got nil)
1. insert - [C]:-1
2. GetLoadoutWeapons - lua/ulx/modules/sh/ttt_admin.lua:331
3. RemoveLoadoutWeapons - lua/ulx/modules/sh/ttt_admin.lua:358
4. call - lua/ulx/modules/sh/ttt_admin.lua:292
5. __fn - lua/ulib/shared/commands.lua:943
6. execute - lua/ulib/shared/commands.lua:1323
7. unknown - lua/ulib/shared/commands.lua:1351
8. unknown - lua/includes/modules/concommand.lua:54

Is there any way to fix this please?
vNemesis HD May 27 @ 2:29pm 
@Bender180 Thanks :)
Bender180  [author] May 27 @ 1:55pm 
just the server
vNemesis HD May 27 @ 1:31pm 
does this need to be installed on both the client and the server or just the server?
Bender180  [author] May 5 @ 9:26pm 
It's because of the way TTT selects the roles. The ulx command just changes the players role at the start of a round. The reason for this is the way that the base gamemoded selects roles would need to be modified in order to enforce the cvar. Changing a base gamemode file is less then ideal.
xMrPlayer May 5 @ 8:21am 
Guys need help, on my server i have 2 traitors set, but if i force someone traitor with ulx forcenr then there are 3 traitors, but it should be 2. How can it still be 2 Traitor?
OverlordAkise May 3 @ 3:28am 
You can disable silent commands for admins, this way admins can't use commands without the players seeing it (example: disable sslay, but keep slay)
jmbo May 2 @ 11:40am 
is there any way for a player to see if the admin is abusing those commands for his own advantage?
apple Jan 18 @ 12:02pm 
Does it have a command about if someone malicious attack on aspecific players ,he will been loose a lot of his karma
XplosiveP3nguin Dec 29, 2019 @ 7:11am 
[ttt silk icon] lua/ulx/modules/sh/ttt_admin.lua:331: bad argument #1 to 'insert' (table expected, got nil)
1. insert - [C]:-1
2. GetLoadoutWeapons - lua/ulx/modules/sh/ttt_admin.lua:331
3. RemoveLoadoutWeapons - lua/ulx/modules/sh/ttt_admin.lua:358
4. call - lua/ulx/modules/sh/ttt_admin.lua:292
5. __fn - addons/ulib/lua/ulib/shared/commands.lua:943
6. execute - addons/ulib/lua/ulib/shared/commands.lua:1323
7. unknown - addons/ulib/lua/ulib/shared/commands.lua:1351
8. unknown - lua/includes/modules/concommand.lua:54

Anyone know a fix?