Twitch Subscription Authentication (whitelist)

Hello there!

I am currently running a Feed The Beast - Sky Factory 3 server for a large-ish Twitch streamer, the problem is we are forced to use an out dated version of a plugin that connects user’s twitch account + their Minecraft (UUID I believe??) to verify they are subscribed to the channel

I can link the current “plugin” (mod) we are using, I would just really love to move over to SpongeForge and have a proper server with plugins. I’ve been a server owner for years and I just find it difficult to properly manage everything without basic plugins.

It requires a domain, but the streamer does own a domain if it needs to be hosted somewhere. Please let me know if anything is needed.

Thank you,
Josh.

Could you link to the current mod you’re using?

1 Like

I know this is an older thread, but I’d love to see this. I have a server running Sky Factory 3, found here: Feed the Beast

The host that I use for my server says that I can’t use Bukkit mods with it, which eliminated the possibility of using the plugin that pandaman212 mentioned.

I could send you what we ended up using in the end. It worked but it was finicky.

1 Like

Sure! Doesn’t look like there’s a PM option on this site… I can provide my email, or you can whisper me on Twitch (same as here).

Edit: Or just post here if that’s not against the sites rules.

Feel free to post here.

This should be pretty easy to make using our API, Twitches, and Mojangs, The hard bit is going to be linking twitch username to Mojang UUID reliably.

I’d suggest create a simple web server that can handle Twitch OAuth. Player signs in. Gives you a custom URL to use when connecting to the server, e.g.

Oxlk43452.SubServer.PandaManLive.com

Where Oxlk43452 is a shared secret used to verify that the UUID is linked to a specific twitch account.

Then on login, the current sub status can be verified by the plugin, allowing the user if the sub is active.

If you want to be super lenient, you could allow like, 2-3 connections from the last IP used by that UUID, so they can bring a friend, brother or camera account on.

It looks like @clienthax started porting one.

Given this start, and the whitelist app still being online, it would be fairly trivial for someone to update this.