TwitchRewards999 is a comprehensive plugin for Minecraft designed to bridge the gap between your Twitch stream and your Minecraft server. It rewards players for their watch time, fostering a more engaging and interactive community.
⚙️ Core Systems
/linktwitch <twitch_username>usernames.yml in the format twitch_username: minecraft_uuid.twitch_channel and twitch_link in config.yml.config.yml for Twitch API communication.config.yml.§d[Live] %streamer% is now streaming! Watch at: %streamlink%time.yml for each player, including seconds_watched and unclaimed_rewards.reward_interval (in seconds), reward_type (points or item), and the reward itself in config.yml.reward_interval is 600, a player will receive a reward for every 10 minutes of watch time.PlayerJoinEvent listener checks for unclaimed rewards and generates a redeem code.§eYou’ve earned rewards for watching %streamer%! Use /twitchredeem <code> to claim them.redeemcodes.yml with their reward_type, reward, and uses_left.uses_left reaches 0./twitchreward generateconfig.yml.twitchpoints.yml./twitchpoints.config.yml.Part 1: Setting up the Twitch Extension
Create a new Twitch Extension:
Get your Extension Credentials:
Generate and Upload the Frontend Files:
extension_frontend folder containing panel.html and viewer.js in the same directory as your plugin's configuration folder (e.g., plugins/TwitchRewards999/extension_frontend).extension_frontend folder (panel.html and viewer.js) into the upload area.panel.html.Part 2: Setting up the Minecraft Plugin
Install the Plugin:
TwitchRewards999-1.0.0.jar file (from the target directory) into your Spigot server's plugins folder.Configure the Plugin:
plugins/TwitchRewards999/config.yml file.twitch_channel to your Twitch username (the channel you want to track).twitch_link to your Twitch channel URL.twitch_client_id and twitch_client_secret (the same ones from your Twitch Extension).oauth:.twitch_oauth_token in config.yml to the OAuth token you just obtained.config.yml file and restart your server or run /twitchreload.Part 3: Final Steps
Activate the Extension:
Test the System:
/linktwitch <their_twitch_username>.reward_interval.You have now successfully set up the complete TwitchRewards999 system!
💬 Commands
| Command | Description | Permission |
|---|---|---|
/linktwitch <twitch_user> |
Link your Minecraft account to your Twitch account. | (everyone) |
/twitchpoints |
Shows your current Twitch Points balance. | (everyone) |
/twitchreward generate |
Generates a reward code for the streamer to share. | twitchreward.admin |
/twitchredeem <code> |
Redeem a stored or shared reward code. | (everyone) |
/twitchreload |
Reloads the plugin's configuration and data. | twitchreward.admin |
/twitchtime <player> |
See a player's watch time and unclaimed rewards. | twitchreward.admin |