Garry's Mod

Garry's Mod

30 个评价
Twitch Integration
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 服务器内容
插件标签: 快乐
文件大小
发表于
更新日期
14.554 MB
2019 年 9 月 25 日 下午 2:19
6 月 10 日 下午 5:57
45 项改动说明 ( 查看 )

订阅以下载
Twitch Integration

在 Penith Panther 的 2 个合集中
GmodTTTServerMaps
97 件物品
gpm collec
2 件物品
描述
WARNING, YOU NEED TO INSTALL GWSOCKETS ON THE SERVER FOR THIS TO FUNCTION
https://github.com/FredyH/GWSockets
If you can't install this module serverside, I can't help you.

Features:

QnA:
How do I use this addon?
--You need a program to send messages to your game via websockets. You can find my program here: https://github.com/StamatisP/tgm_chatbot

The chat says "Websocket connection unsuccessful, read console!"
--That means you aren't running a program that's creating the websocket. Look above.

I got a Lua error.
--Please tell me! I want this to work in many different situations. Report it in the discussion thread below.

I need help setting this up!
--Instructions are here. https://github.com/StamatisP/gmod_twitch/wiki/HOW-TO-USE

You did this in your code, when you should've done that and...
--Add me on Steam and let me know, or make a pull request on GitHub. Not the best coder, here.

I'm a streamer and I would like to use this addon.
--Cool! DM me on Twitter (links on the side) so I could watch.

Chat commands
Server/admin Commands
Command
Description
!reconnectsocket
Peacefully reconnect socket.
!forcereconnect
Forcefully reconnects the socket.
!disconnect
Disconnects the socket.
!connect
Connects the socket, if disconnected.
!anarchymode
Allows Twitch chat full control over actions, without voting.
!democracymode
Default behavior, Twitch chat only votes on what actions to do during Vote Time.
!(any action name)
Does that particular action, if it exists.

Player Commands
Command
Description
!chat
Enables or disabled Twitch chat printing. Also configurable via "tgm_chat" console variable.
!streamer
Sets you as the Twitch streamer.
热门讨论 查看全部(2)
1
2021 年 9 月 28 日 上午 6:10
置顶: Feature/Action Requests
Penith Panther
0
2019 年 9 月 25 日 下午 7:18
置顶: Bugs
Penith Panther
14 条留言
Penith Panther  [作者] 2023 年 8 月 8 日 上午 8:46 
I created a separate program that reads a Twitch chat, parses it for information, and sends data to the GMod client using a websocket connection.
Szpieg2000 2023 年 8 月 8 日 上午 3:20 
Like, How have you integrated this with twitch?
Penith Panther  [作者] 2023 年 8 月 7 日 下午 6:06 
How specifically? I was bored, and saw there was nothing like it yet. It was fun practice!
Szpieg2000 2023 年 8 月 7 日 下午 3:10 
How did you make this?
Starman 2022 年 2 月 6 日 上午 10:47 
did it
doesn't work
Penith Panther  [作者] 2022 年 2 月 4 日 下午 9:43 
You have to create folder yourself if it is missing.
Starman 2022 年 2 月 4 日 上午 5:19 
GarrysMod\lua\bin doesnt exist
Penith Panther  [作者] 2022 年 1 月 31 日 上午 11:08 
There are instructions on the GWsockets github page.
Starman 2022 年 1 月 31 日 上午 2:32 
how do i install gwsockets
Penith Panther  [作者] 2020 年 12 月 27 日 下午 12:40 
There's a way to do that, but it does need to have the accompanying program to run with it. If you just connect it with a dummy Twitch account, it will periodically call for votes and then do a random action. There are some actions that aren't very suited for this though, keep that in mind.