Garry's Mod

Garry's Mod

Not enough ratings
[TTT|2] Command to Chat [FEATURE]
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
Addon Tags: Build
File Size
Posted
Updated
8.913 KB
30 May, 2019 @ 2:34am
10 Oct, 2023 @ 9:05am
5 Change Notes ( view )

Subscribe to download
[TTT|2] Command to Chat [FEATURE]

Description
A simple addon that helps you to create serverwide chatcommands.

Discord: https://discord.gg/Npcbb4W
Source: https://github.com/TimGoll/ttt-command-to-chat (report bugs here)

Command to chat is s small addon that makes it easy for server owners to configure chat commands. Each defined command registers a chat command and a console command. Once executed, chat messages can be printed to the player chat or further commands can be automatically executed. Additionally multiple languages, variables, placeholders and colors are supported.

Check out the wiki here: https://github.com/TimGoll/ttt-command-to-chat

This addon is compatible with TTT and TTT2. It should work with other gamemodes such as sandbox, darkRP, Prophunt etc., but I have not tested this.

Usecases:
  • playerinfo: add commands like !discord to prevent the same questions each and every day
  • manual: add minitutorials for the players to use
  • console command linker: link console commands to chat commands
  • multicommand: combine multiple console commants into one
12 Comments
FlyingDutchman 13 Jan @ 3:42am 
Takes a bit to understand, but once you do it's really useful.
ibo 22 Jun, 2023 @ 8:45am 
[[TTT|2] Command to Chat [FEATURE]] lua/autorun/client/cl_ctc_handler.lua:20: attempt to index global 'LANG' (a nil value)
1. func - lua/autorun/client/cl_ctc_handler.lua:20
2. unknown - lua/includes/extensions/net.lua:33
Aie'dail 12 Feb, 2020 @ 2:44pm 
Thx for quick hotfix, dropped like least i can do :D :coolthulhu:
Czak 6 Feb, 2020 @ 8:12am 
Np for telling you tim :)
Tim | Mineotopia  [author] 6 Feb, 2020 @ 7:19am 
@Czak: You were righ. There was a bug in it, it works now!
@NichtDanieal: I implemented your feature request. But keep in mind, this addon is run clientseide. You can only use it for commands that work on clients as well
Tim | Mineotopia  [author] 29 Jan, 2020 @ 11:14am 
subscribe to it and follow the wiki
Czak 29 Jan, 2020 @ 8:02am 
how do i enable it
Tim | Mineotopia  [author] 29 Jan, 2020 @ 1:31am 
I haven't tested in a while, but it did work. An since about 4k people are using it without any reports l, I think the problem is on your side
Czak 29 Jan, 2020 @ 12:43am 
it does not work
Fabii 19 Oct, 2019 @ 8:23pm 
Nützliches kleines Addon :)! Am schönsten wäre es natürlich, wenn es direkt beim Easy Binding Addon integriert wäre, so dass man im Keybind Menu einfach ein weiteres Feld für ChatCommands hat, getrennt durch Semikolon, die das gebundene Command dann aufrufen.