Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/twitch4j/twitch4j-minecraft-plugin
Bukkit Plugin Template with Twitch API Integration for Minecraft Servers, powered by Twitch4J
https://github.com/twitch4j/twitch4j-minecraft-plugin
api bukkit craftbukkit hacktoberfest helix irc java kotlin minecraft oauth pubsub spigot twitch twitch4j twitchdev
Last synced: 25 days ago
JSON representation
Bukkit Plugin Template with Twitch API Integration for Minecraft Servers, powered by Twitch4J
- Host: GitHub
- URL: https://github.com/twitch4j/twitch4j-minecraft-plugin
- Owner: twitch4j
- License: mit
- Created: 2020-10-17T15:25:46.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2023-11-19T08:30:41.000Z (12 months ago)
- Last Synced: 2024-09-28T12:01:39.299Z (about 1 month ago)
- Topics: api, bukkit, craftbukkit, hacktoberfest, helix, irc, java, kotlin, minecraft, oauth, pubsub, spigot, twitch, twitch4j, twitchdev
- Language: Java
- Homepage: https://twitch4j.gitlab.io/twitch4j
- Size: 101 KB
- Stars: 9
- Watchers: 5
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Twitch4J - Minecraft Server Plugin Template
Support:
[![Discord Server](https://discordapp.com/api/guilds/143001431388061696/embed.png?style=banner2)](https://discord.gg/FQ5vgW3)
[![Twitch API Server](https://discordapp.com/api/guilds/325552783787032576/embed.png?style=banner2)](https://discord.gg/8NXaEyV)--------
## A quick note:
This Bukkit plugin is part of the [Twitch4J API](https://github.com/twitch4j/twitch4j) project.This code can easily be adapted for a different minecraft version and will also work on other platforms like (Paper)Spigot.
## Twitch Developer Applications
To obtain a `client_id` and `client_secret` to populate in `config.yml`, you can create an app [here](https://dev.twitch.tv/console/apps/create).Alternatively, you can provide `oauth_token`, which can be generated [here](https://www.twitchtokengenerator.com/) if you do not wish to host the authentication process yourself.
At least one of these must be provided to interact with the Helix API, which is used to track follows and stream state.
To read chat, no token is necessary, but in order to send messages to chat, an `oauth_token` with the `chat:edit` scope *is*.