ChatPointsTTV is a Bukkit plugin that helps you to create interactions between your Twitch stream and your Minecraft world. Set up your own rewards in exchange of channel points, follows, Bits, subs and more! Spawn mobs, give items or run any command when an event is triggered.
There's a whole range of use cases and possibilities to connect with your audience!
Setup
- Install the plugin into your Minecraft server.
- Open your channel's Twitch Dashboard and create your custom Channel Points Rewards. (optional)
- Set your config.yml up. Adjust the settings and add and setup the actions for rewards, donations... There are two ways to link your Twitch account to the plugin:
- Using a key-based authentication (recommended):
You will need a Client ID and Access token. You can get one mannually or through a website such as Twitch Token Generator. Make sure to add all the needed scopes.
Uncomment CUSTOM_CLIENT_ID and CUSTOM_ACCESS_TOKEN on the config file and add your Client ID and Token onto the corresponding fields.
Once the server has started you just need to run /twitch link key (if you have not set up automatic login) and your account will be automatically logged in. You may need to refresh the token in case it expires.
- Log in through a browser:
You won't need any extra modification in your config.yml file. You will just need to run /twitch link browser in-game and open the provided link. You may need to log in your Twitch account and authorise the app. Once you finish the log in process you can close the browser and your account will be linked.
- Set up permissions for:
- linking/reloading (chatpointsttv.manage).
- the target player(s) (chatpointsttv.target).
- people you want the reward messages broadcasted to (chatpointsttv.broadcast).
See Permissions for more information.
Credits
Thanks to
Twitch4J for the Java libraries used in this mod to communicate with the Twitch API.
Thanks to
urgrue for the code for Twitch authentification.
Thanks to
Mystiflow for their
color convertion code.