Hi,
I'm wondering if anyone out there is able to do a whitelist that automatically updates for twitch followers?
I'm aware of the whitelist already available but this is manually done and I'm in need of an automatic process.
Any help would be appreciated
Solved Twitch follower/subscriber whitelist
Discussion in 'Plugin Requests' started by Kinergy, May 5, 2015.
-
Hi,
you would need a simple plugin that would make a HTTP request to twitch servers (check http://dev.twitch.tv/) using twitch api one your server starts, and later every minute or so. then, hook OnPlayerConnect (this is not a proper name for it but it's similar) and only allow ppl from your twitch list to log in.
remember people can change their names on steam though. -
-
A plugin to query the twitch API would be no problem, the problem I see here is how to match a twitch user with a steam account.
You could match names but that would be very unsecure and very easy to "exploit". I dont see a way to make sure the steam account trying to connect really is the twitch account. -
-
@Domestos there are websites that can look up ppl steam id based on the name, if you can deem one of them trustworthy you would only need to make an additional HTTP request on new name encounter. this should help with impostors.
-
I just had a quick research and there is an api call to get a users steamid if linked to their twitch account.
http://discuss.dev.twitch.tv/t/get-linked-steam-account-of-user/1659 -
Is there a plugin out there that does this atm?
-
Wulf Community Admin
-
Lirik (twitch.tv/lirik) has had a rust server for ages which would auto-whitelist subscribes who connected their steam account to their twitch account
apparently the twitch api can pull the steam ID of users that connected their steam account
anyone know of a plugin that can do it or could make one ? -
I could try to make one.
-
I found this btw Subscriber Whitelist - Instructions
the minecraft plugin might have some useful code -
Working on it but it is still under review so ill post back once it is approved.
[DOUBLEPOST=1460735592,1460669824][/DOUBLEPOST]TwithAuth for Rust | Oxide