GitHubAPIPlugin
Link in-game players to GitHub profiles and expose profile data through PlaceholderAPI placeholders.
Quick challenge
How far can you run before the mobs catch you?
Minecraft check
Confirm your run
Complete the quick check to get your code.
GitHubAPIPlugin
GitHubAPIPlugin
Link your GitHub account and show player stats via PlaceholdersAPI
Description
This plugin allows players to link their GitHub account to the server. Administrators can display GitHub profile information (followers, bio, repositories, etc.) using PlaceholdersAPI.
MySQL DATABASE IS REQUIRED !!!
Features
- Link GitHub account with `/githubapi link <username>` - Show linked account with `/githubapi show` - Over 20 placeholders: `%githubapi_login%`, `%githubapi_followers%`, `%githubapi_public_repos%` and more - Async MySQL storage (pool of 5 threads) - GitHub token support (up to 5000 requests/hour) - Fully customizable messages in `config.yml`
Requirements
- Java 8+ - Spigot/Paper 1.12 – latest - PlaceholdersAPI 2.12.2+ - MySQL database
Commands & Permissions
| Command | Permission | Default | |---------|------------|---------| | `/githubapi link <username>` | `githubapi.command.link` | OP | | `/githubapi show` | `githubapi.command.show` | true |
Base permission: `githubapi.command`
Placeholders (examples)
- `%githubapi_login%` - `%githubapi_name%` - `%githubapi_bio%` - `%githubapi_followers%` - `%githubapi_public_repos%`
Full list in the README.
GitHub API Limits
- Without token: 60 requests/hour (per server IP) - With personal access token: 5000 requests/hour
Installation
1. Download the JAR from Releases 2. Place in `/plugins` folder 3. Restart the server 4. Configure `config.yml` (database, token, messages) 5. Grant permissions to players