Garry's Mod

Garry's Mod

611 ratings
Youtube Streaming Addon
3
3
2
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
Addon Tags: Fun
File Size
Posted
Updated
31.623 KB
23 Sep, 2024 @ 6:07am
28 Sep, 2024 @ 12:08am
2 Change Notes ( view )

Subscribe to download
Youtube Streaming Addon

Description
YOUTUBE STREAMING ADDON


Thanks this addon you will can interact with your subscribers on YouTube. They will can just type commands in stream chat and something will happen in game. You can make commands by yourself thanks very simple editor! You can make really intresting stream and up activity of your chat. Also doesn't forget that you will get much more fun thanks this stream.

You will need to get YouTube API Key to use this addon. But this pretty easy and you will can do this by yourself thanks internet.
Keep in mind that YouTube API give you only 10.000 units on requests per day. One chat checking this 6 units. User name showing - 2 units

To open streaming panel type in console:
stream_open

NOTICE: addon work ok only in case if host is player becouse this use Entity(1) to find streamer. If you want to use this on dedicated server you must be first on server


SETTINGS:

You will need in any case some ow figure out this addon and you should to read it to understand how to do it

Enable addon - off/on addon. Better off addon if you don't use this to keep units

API key - put here your API key

Video ID - ID of your stream. youtube. com/watch?v=[HERE YOUR VIDEO ID]

Commands delay - delay between SUCCESSFUL commands. In time of delay requests doesn't sending and keep you units

Buffer enable - off/on message buffer. Addon will check no just last message if this enable. Addon will check more messages. You can figure size off buffer. For example. You have ~1 - 2 messages per second. Your request delay is 5 secs. In this case 10 - 15 size of buffer is pretty enough.

Requests delay - how often addon check stream chat(sending http requests to YouTube API)(read begining)

Buffer size - size of your buffer

Enable message's logs - all messages(no only commands) will print in console

Enable cooldown showing - show how long you need to wait to next command on your screen. You can figure place on screen for it

Show user - show user's nickname instead of "Someone". But spend more units(read begining)


EVENT MANAGER:

Here you can make your own commands. You can do a lot of intresting things. Just check that typed data corrected. Right click to row in table to remove command.

Event list[github.com]

CREDITS

• boblikut - addon
• Vantuzz - workshop icon
• Tora - turkish localization + fixing english localization

LOCALIZATION

If you want that i add your localization to addon - join to Gmod Republic[discord.gg] discord and ping boblikut. I'll send you all that you need to do it.


CONCLUSION

If you want to offer idea, report about bug or find teamates to play gmod you can join to our comminity in Discord. Gmod Republic[discord.gg]
143 Comments
boblikut  [author] 12 Jan @ 10:34pm 
If everything is work then just ignore this. I just didn't know how to work with async functions and make no the best code that sometimes work randomly
Redmaster 12 Jan @ 7:21pm 
Sometimes I get an error 403 code but I can't figure out why. Then randomly the errors disappear and I don't know why. Is there a fix to this?
boblikut  [author] 12 Jan @ 6:44am 
*users
76561199529424758 12 Jan @ 6:22am 
Days without customer asking for twitch version: -1
boblikut  [author] 12 Jan @ 3:29am 
Answered 99999 times before. Just check comments
Sentryman9000:sentry: 11 Jan @ 9:50pm 
but whyyyyyyyyyyyyyyyyyyyyyyyy
boblikut  [author] 10 Jan @ 9:34pm 
Sry. No
Sentryman9000:sentry: 10 Jan @ 12:32pm 
can you make one for twitch?
boblikut  [author] 9 Jan @ 8:25pm 
Lmao. No. Imagine streaming gmod at tick tock
NormalPerson 9 Jan @ 6:46pm 
is there a tiktok one?