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
May 30, 2019 @ 9:34am
Oct 10, 2023 @ 4:05pm
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 Jan 13 @ 10:42am 
Takes a bit to understand, but once you do it's really useful.
ibo Jun 22, 2023 @ 3:45pm 
[[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 Feb 12, 2020 @ 9:44pm 
Thx for quick hotfix, dropped like least i can do :D :coolthulhu:
Czak Feb 6, 2020 @ 3:12pm 
Np for telling you tim :)
Tim | Mineotopia  [author] Feb 6, 2020 @ 2:19pm 
@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] Jan 29, 2020 @ 6:14pm 
subscribe to it and follow the wiki
Czak Jan 29, 2020 @ 3:02pm 
how do i enable it
Tim | Mineotopia  [author] Jan 29, 2020 @ 8: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 Jan 29, 2020 @ 7:43am 
it does not work
Fabii Oct 20, 2019 @ 3:23am 
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.