Compatibility
Minecraft: Java Edition
1.21.x
Platforms
Links
Tags
Creators
Details
Licensed MIT
Published 4 days ago
CompatGuard
The intelligent plugin manager for Paper 1.21.x servers.
CompatGuard helps server administrators instantly see which plugins are outdated or incompatible โ with zero configuration required. It auto-detects update sources, estimates compatibility risk, and lets you update plugins with a single click, right from the game.
โจ Features
๐ Plugin Compatibility Scanning
- Scans every installed plugin's metadata on startup (or on demand)
- Classifies each plugin into five risk levels:
- โ SAFE โ current api-version, no issues detected
- ๐ฉ LIKELY SAFE โ slightly old api-version but stable
- ๐ก REVIEW NEEDED โ old api-version or missing metadata
- ๐ HIGH RISK โ very old api-version, high incompatibility chance
- ๐ด FAILED / DISABLED โ plugin failed to load
- Configurable scoring rules in
rules.yml - Detailed per-plugin reports with
/cg report <name>
๐ Intelligent Auto-Update Detection
- Zero manual configuration โ automatically finds update sources:
- Parses the plugin's
websitefield for a GitHub URL - Searches Modrinth by plugin name (fuzzy match)
- Searches Spiget (SpigotMC) by plugin name
- Probes common GitHub release filename patterns as a fallback
- Parses the plugin's
- Manual overrides available via
sources.ymlfor niche or private plugins
โฌ๏ธ Safe In-Game Updates
- Clickable
[โ Update Now]/[โ Skip]buttons when you join (if updates exist) - Updates are staged in
plugins/update/โ the running server JAR is never touched - Applied on the next server restart via Paper's built-in update mechanism
- Clickable
[โ Restart Now]/[โ Later]prompt after staging - Backup old JAR to
plugins/backup/before downloading (configurable, on by default)
๐ค Auto-Update on Startup
- Enable
auto-update: trueto automatically download all available updates on startup - Optional
auto-restart-after-update: truefor fully hands-off update cycles - Configurable delay so async checks complete before downloads begin
๐ Discord Webhook Notifications
- Posts a rich embed to your Discord channel when updates are found
- Colour-coded: ๐ orange for updates, ๐ข green for all-clear
- Lists each outdated plugin with old โ new version and source type
- Configurable per-server name in footer
๐ Admin Tools
| Command | Description |
|---|---|
/cg |
Open paginated GUI or console summary |
/cg scan |
Re-scan all plugins immediately |
/cg checkupdates |
Check updates (async) and print results |
/cg update <name> |
Download & stage update for a specific plugin |
/cg debug <name> |
Full update status: version, source, URL, JAR path |
/cg report [name] |
Server-wide or per-plugin report + JSON export |
/cg reload |
Reload all config files |
๐ Reports
- JSON reports saved to
plugins/CompatGuard/reports/ - Includes version, status, score, warnings, and update result per plugin
โ๏ธ Configuration Highlights
# Auto-detect sources (GitHub, Modrinth, Spiget) โ no manual setup needed
auto-detect-sources: true
# Plugins to exclude from all checks
ignore:
- SomePrivatePlugin
# Download updates automatically on startup
auto-update: false
# Notify OPs with clickable update prompts when they join
notify-ops-on-join: true
# Backup old JAR before staging new version (strongly recommended)
backup-before-update: true
# Re-scan every N hours automatically (0 = off)
auto-scan-interval-hours: 0
# Discord webhook for update reports
discord:
enabled: false
webhook-url: ""
server-name: "My Server"
๐ก๏ธ Safety Guarantees
- Read-only by default โ no files are touched unless you use the update feature
- HTTPS-only downloads โ HTTP URLs are refused
- 50 MB download cap โ prevents accidental large file downloads
- Atomic staging โ files are written to a temp file then renamed, preventing corruption
- Backup before update โ old JAR saved to
plugins/backup/for easy rollback
๐ Requirements
- Paper 1.21.x (Purpur should work too)
- Java 21+
๐ค Contributing & Support
- Discord: [https://discord.com/invite/pDPJ92VVv8]


