Garry's Mod

Garry's Mod

622 个评价
Youtube Streaming Addon
3
3
2
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 工具
插件标签: 快乐
文件大小
发表于
更新日期
31.623 KB
2024 年 9 月 23 日 上午 6:07
2024 年 9 月 28 日 上午 12:08
2 项改动说明 ( 查看 )

订阅以下载
Youtube Streaming Addon

描述
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]
145 条留言
boblikut  [作者] 10 月 17 日 下午 2:10 
Use internet. This very popular question. Yoh will find answer 100%. Even better than i can give you
TheoNathanYT 10 月 16 日 下午 5:07 
how do i get a yt api key?
boblikut  [作者] 1 月 12 日 下午 10:34 
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 1 月 12 日 下午 7:21 
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  [作者] 1 月 12 日 上午 6:44 
*users
I just farted in the elevator 1 月 12 日 上午 6:22 
Days without customer asking for twitch version: -1
boblikut  [作者] 1 月 12 日 上午 3:29 
Answered 99999 times before. Just check comments
Sentryman9000:sentry: 1 月 11 日 下午 9:50 
but whyyyyyyyyyyyyyyyyyyyyyyyy
boblikut  [作者] 1 月 10 日 下午 9:34 
Sry. No
Sentryman9000:sentry: 1 月 10 日 下午 12:32 
can you make one for twitch?