Twitch Linker

About

TwitchLinker is a Paper/Spigot plugin that links Minecraft players to Twitch accounts via HTTP token verification. Players use /twitch connect with a token, which triggers an asynchronous HTTP GET request to a configurable API endpoint. The plugin parses JSON responses to validate tokens and retrieve Twitch usernames. It supports /twitch disconnect to unlink accounts and /twitch status to display current link status. All HTTP operations run asynchronously via BukkitScheduler to prevent server lag. Linked data persists locally in a YAML file, mapping player UUIDs to Twitch usernames. Includes a TabCompleter for subcommand suggestions and configurable messages for success, errors, and invalid tokens.