Garry's Mod

Garry's Mod

评价数不足
[TTT|2] Command to Chat [FEATURE]
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 工具
插件标签: 建筑
文件大小
发表于
更新日期
8.913 KB
2019 年 5 月 30 日 上午 2:34
2023 年 10 月 10 日 上午 9:05
5 项改动说明 ( 查看 )

订阅以下载
[TTT|2] Command to Chat [FEATURE]

描述
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 条留言
FlyingDutchman 1 月 13 日 上午 3:42 
Takes a bit to understand, but once you do it's really useful.
ibo 2023 年 6 月 22 日 上午 8:45 
[[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 2020 年 2 月 12 日 下午 2:44 
Thx for quick hotfix, dropped like least i can do :D :coolthulhu:
Czak 2020 年 2 月 6 日 上午 8:12 
Np for telling you tim :)
Tim | Mineotopia  [作者] 2020 年 2 月 6 日 上午 7:19 
@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  [作者] 2020 年 1 月 29 日 上午 11:14 
subscribe to it and follow the wiki
Czak 2020 年 1 月 29 日 上午 8:02 
how do i enable it
Tim | Mineotopia  [作者] 2020 年 1 月 29 日 上午 1:31 
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 2020 年 1 月 29 日 上午 12:43 
it does not work
Fabii 2019 年 10 月 19 日 下午 8:23 
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.