GitHubAPIPlugin
ModrinthSpigotMCLink in-game players to GitHub profiles and expose profile data through PlaceholderAPI placeholders.
36 téléchargements mis à jour 1mo ago
dernière v1.3-SNAPSHOT Modrinth
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
- Download the JAR from Releases
- Place in
/pluginsfolder - Restart the server
- Configure
config.yml(database, token, messages) - Grant permissions to players
Links
Versions
Release
1.3-SNAPSHOT
- All requestion for db delegated to HikariCP
- Add SQLite support
- Add new debug messages
- **Fixed ~3 bugs**
See [Release 1.3 ·…
Release
1.2-SNAPSHOT
The working principle of sessions for the database and github API has been changed

Commentaires 0
Aucun commentaire pour l'instant. Sois le premier à donner ton avis.