- Bukkit Minecraft Server 1.15+
- Twitch Affiliate Account
- Go to Twitch Dev Console and create an app (As a category you can choose Game Integration)
- Download VirtualTwitchServer and open it. (You can also open it via CLI if you pass any argument to startup script (java -jar VirtualTwitchServer.jar -cli))
- Go to the Twitch Dev Console of your app and set OAuth Redirect URL like this: http://localhost:{PORT}/
- Over here you need to put port which you have selected in the previous step
- Click on Login with Twitch button and then paste your generated token into your config
- Set your broadcaster_name in config as you have it on twitch
- Copy Client ID and Client Secret to plugin's config.yml
- Set how much time player can spend on your server after buying reward
- 10 = 10 seconds
- 5M = 5 minutes
- 10H = 10 hours
- 30D = 30 days
- Now you can change reward settings created by bot in Twitch Dashboard
Please do not change app_access_token, user_access_token, reward_id and broadcaster_id if you don't know what you're doing
- Release plugin
- Add Integration with Twitch Subscribers and Bits
- Fix plugin size