You know the drill. Free time, coded something simple.
Many servers have featured streamers so why not reward people for watching them.
This is an auto reward system which rewards all players for watching the stream if there are more than a specific view count watching.
You will need a client id key from twitch here https://dev.twitch.tv/dashboard/apps/create (You don't need a valid oauth url so fake one)
All the configs are at the top of the file because i cba creating an actual config.
You will need the gson library. You can download it here https://github.com/Elfocrash/L2ACP-api/raw/master/lib/gson-2.6.2.jar
Pastebin line: https://pastebin.com/ff4ka830
That's all folks.