Garry's Mod

Garry's Mod

30 次評價
Twitch Integration
   
獎勵
加入最愛
已加入最愛
移除最愛
Content Type: Addon
Addon Type: ServerContent
Addon Tags: Fun
檔案大小
發佈於
更新時間
14.554 MB
2019 年 9 月 25 日 下午 2:19
6 月 10 日 下午 5:57
45 項更新註記 (檢視)

訂閱以下載
Twitch Integration

在 Penus Flysnatch 的 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
Penus Flysnatch
0
2019 年 9 月 25 日 下午 7:18
置頂: Bugs
Penus Flysnatch
14 則留言
Penus Flysnatch  [作者] 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?
Penus Flysnatch  [作者] 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
Penus Flysnatch  [作者] 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
Penus Flysnatch  [作者] 2022 年 1 月 31 日 上午 11:08 
There are instructions on the GWsockets github page.
Starman 2022 年 1 月 31 日 上午 2:32 
how do i install gwsockets
Penus Flysnatch  [作者] 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.