Garry's Mod
Оцінок: 30
Twitch Integration
   
Нагородити
До улюбленого
В улюблених
Прибрати
Content Type: Addon
Addon Type: ServerContent
Addon Tags: Fun
Розмір файлу
Додано
Оновлено
14.554 MB
25 верес. 2019 о 14:19
10 черв. о 17:57
Змін 45 ( перегляд )

Підпишіться, аби завантажити
Twitch Integration

В колекціях (2) автора Penus Flysnatch
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
28 верес. 2021 о 6:10
ЗАКРІПЛЕНО: Feature/Action Requests
Penus Flysnatch
0
25 верес. 2019 о 19:18
ЗАКРІПЛЕНО: Bugs
Penus Flysnatch
Коментарів: 14
Penus Flysnatch  [автор] 8 серп. 2023 о 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 8 серп. 2023 о 3:20 
Like, How have you integrated this with twitch?
Penus Flysnatch  [автор] 7 серп. 2023 о 18:06 
How specifically? I was bored, and saw there was nothing like it yet. It was fun practice!
Szpieg2000 7 серп. 2023 о 15:10 
How did you make this?
Starman 6 лют. 2022 о 10:47 
did it
doesn't work
Penus Flysnatch  [автор] 4 лют. 2022 о 21:43 
You have to create folder yourself if it is missing.
Starman 4 лют. 2022 о 5:19 
GarrysMod\lua\bin doesnt exist
Penus Flysnatch  [автор] 31 січ. 2022 о 11:08 
There are instructions on the GWsockets github page.
Starman 31 січ. 2022 о 2:32 
how do i install gwsockets
Penus Flysnatch  [автор] 27 груд. 2020 о 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.