AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugin/Gameplay Ideas and Requests (https://forums.alliedmods.net/forumdisplay.php?f=60)
-   -   Solved [CS:GO] Twitch/Discord Alerts In-Game [PAID] (https://forums.alliedmods.net/showthread.php?t=300768)

Lubricant Jam 08-29-2017 09:04

[CS:GO] Twitch/Discord Alerts In-Game [PAID]
 
Hello all,

I'm here today to ask if anyone is interested in creating a plugin for me. The plugin will need to either pull directly from Twitch and alert all my servers if our stream account is live. For example, if I were to go live on a specific account (configurable) it would say "{Twitch Name} is now live! Type !watch to tune in!".

Obviously there may be problems etc so I came up with an alternative method where if anything is posted into a Discord channel then it would immediately send off the trigger to all servers that the twitch account is live. For example, a channel called #live-now where a discord bot posts in there when a channel is live and when a new message is detected it'll send the message across all servers.

I am not sure of a price to go for this however I'm flexible and will obviously be willing to pay a little more for the more features you can do onto this. I look forward to you taking up my proposal.

Thanks,
Lubricant Jam.

CamerDisco 08-29-2017 09:49

Re: [CS:GO] Twitch/Discord Alerts In-Game [PAID]
 
I can do it for you, contact me: http://steamcommunity.com/id/kejmerdisco/

sneaK 08-29-2017 09:53

Re: [CS:GO] Twitch/Discord Alerts In-Game [PAID]
 
I'm also interested in something like this

boomix 08-29-2017 10:15

Re: [CS:GO] Twitch/Discord Alerts In-Game [PAID]
 
If CamerDisco does not create this, I could make like a public nodejs code and small tutorial how to setup it.

Just simple nodejs request to https://api.twitch.tv/kraken/streams/{USERNAME}?client_id={CLIENT ID} to check if streamer is live and srcds rcon to send message to server thru rcon. I had simular bots already running, but not exacly like this one.

Lubricant Jam 08-29-2017 10:18

Re: [CS:GO] Twitch/Discord Alerts In-Game [PAID]
 
Quote:

Originally Posted by boomix (Post 2545088)
If CamerDisco does not create this, I could make like a public nodejs code and small tutorial how to setup it.

Just simple nodejs request to https://api.twitch.tv/kraken/streams/{USERNAME}?client_id={CLIENT ID} to check if streamer is live and srcds rcon to send message to server thru rcon. I had simular bots already running, but not exacly like this one.

That would be swell! I am trying to add him at this current moment however nothing yet.

CamerDisco 08-29-2017 10:28

Re: [CS:GO] Twitch/Discord Alerts In-Game [PAID]
 
Quote:

Originally Posted by boomix (Post 2545088)
If CamerDisco does not create this, I could make like a public nodejs code and small tutorial how to setup it.

Just simple nodejs request to https://api.twitch.tv/kraken/streams/{USERNAME}?client_id={CLIENT ID} to check if streamer is live and srcds rcon to send message to server thru rcon. I had simular bots already running, but not exacly like this one.

I thought about simple php script who will be use this api what you sent, he'll return 0 or 1(stream offline or stream online). Also I think about a normal request to this api by steamworks and get json response by some extenssion.

OSWO 08-29-2017 10:37

Re: [CS:GO] Twitch/Discord Alerts In-Game [PAID]
 
If you need the NodeJS part of it, I have this snippet of running at a 30 second polling rate. I also query for new Youtube Videos + Reddit too.

Change what needs to be changed.

https://git.discordlogs.com/snippets/2

EDIT: Written with Discord.JS

Technoblazed 08-29-2017 11:02

Re: [CS:GO] Twitch/Discord Alerts In-Game [PAID]
 
I've started work on this already, it's over on my github, linking it would be too easy though.

Lubricant Jam 08-29-2017 16:41

Re: [CS:GO] Twitch/Discord Alerts In-Game [PAID]
 
This job has now been completed, thanks to all that were interested and gave help where possible.


All times are GMT -4. The time now is 16:43.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.