Modern, Hosting-Friendly System Monitoring for Velocity
Modern, Hosting-Friendly System Monitoring for Velocity
Advanced Velocity monitoring plugin that automatically adapts to any hosting environment - from budget shared hosting to dedicated servers.
BubbleLog-2.0.0.jarplugins/ folderFirst Commands
/bubblelog env # Check environment capabilities
/bubblelog status # View monitoring status
/bubblelog reload # Reload configuration
Default config at plugins/bubblelog/config.yml:
monitoring:
interval: 30 # Seconds between checks
cpu: { enabled: true }
ram: { enabled: true }
disk: { enabled: true }
network: { enabled: true }
jvm: { enabled: true }
alerts:
enabled: true
thresholds:
cpu: 80.0 # Alert at 80% CPU
ram: 85.0 # Alert at 85% RAM
disk: 90.0 # Alert at 90% disk
discord:
enabled: false
webhook-url: ""
monitoring:
interval: 60 # Higher interval for shared hosting
jvm: { enabled: true } # Always keep enabled
| Metric | Full Access | Shared Hosting |
|---|---|---|
| CPU | System CPU | JVM Process CPU |
| RAM | System Memory | JVM Heap |
| Disk | All Disks | Skipped |
| Network | Player stats | Player stats |
| JVM | Full metrics | Full metrics |
| Command | Description |
|---|---|
/bubblelog env |
Show environment capabilities |
/bubblelog status |
View monitoring status |
/bubblelog reload |
Hot-reload configuration |
/bubblelog validate |
Check config validity |
/bubblelog test webhook |
Test Discord webhook |
Permission: bubblelog.admin
✅ Normal on shared hosting! Plugin works with JVM-only monitoring.
Increase monitoring interval:
monitoring:
interval: 120 # Check every 2 minutes
alerts:
discord:
enabled: true
webhook-url: "https://discord.com/api/webhooks/..."
.\gradlew.bat shadowJar # Windows
./gradlew shadowJar # Linux/Mac
Output: build/libs/BubbleLog-2.0.0.jar
MIT License - See LICENSE file
/bubblelog env to check your setupMade for server administrators running Velocity on any hosting! 🚀
# Name of the log file
filename: "system-usage.log"
# Also log to console/server log
console: false
# Date format for log entries
date-format: "yyyy-MM-dd HH:mm:ss"
# Maximum number of log files to keep (0 = unlimited)
max-files: 7
alerts:
# Enable performance alerts
enabled: true
thresholds:
# CPU usage threshold for alerts (percentage)
cpu: 80.0
# RAM usage threshold for alerts (percentage)
ram: 85.0
# Disk usage threshold for alerts (percentage)
disk: 90.0
# Send alerts to server console
console: true
# Log alerts to file
log-to-file: true
# Cooldown between same alert types (seconds)
cooldown: 300
discord:
# Enable Discord webhook alerts
enabled: false
# Discord webhook URL for alerts
webhook-url: ""
status-reports:
# Enable periodic Discord status reports
enabled: false
# Discord status report interval in seconds (3600 = 1 hour)
interval: 3600
slack:
# Enable Slack webhook alerts
enabled: false
# Slack webhook URL for alerts
webhook-url: ""
The plugin logs comprehensive system metrics in the following format:
[2025-07-10 14:30:00] CPU: 45.67% | RAM: 2.34GB/8.00GB (29.25%) | Disk(C:): 120.5GB/500.0GB (24.10%) | Players: 45/100 (45.0%), Servers: 3/4 | JVM: Heap 67.8%, Threads: 42, GC: 1250ms
Includes:
The plugin can send alerts for:
alerts.log in the logs directoryFor Discord webhooks:
alerts.discord.enabled: true and paste the URLFor Slack webhooks:
alerts.slack.enabled: true and paste the URLTo build the plugin from source:
build.bat (Windows) or ./gradlew shadowJar (Linux/Mac)build/libs/BubbleLog-1.0.0.jarBubbleLog/
├── src/main/java/net/bubblecraft/bubblelog/
│ ├── BubbleLog.java # Main plugin class
│ ├── config/ConfigManager.java # Configuration handling
│ └── monitor/SystemMonitor.java # System monitoring logic
├── build.gradle # Build configuration
├── config-example.yml # Example configuration
├── build.bat # Windows build script
└── README.md # This file
This project is licensed under the MIT License - see the LICENSE file for details.
If you encounter any issues or have questions, please open an issue on GitHub.
BubbleLog is designed with comprehensive error handling to ensure it never affects server performance:
BubbleLog provides rich Discord webhook integration for real-time server monitoring and alerts.
⚡ High CPU Usage
CPU usage is 85.23% (threshold: 80.0%)
Alert Type: High CPU Usage
Severity: ⚠️ Warning
Server: Velocity Proxy
Timestamp: July 10, 2025 2:30 PM
✅ System Status Report
Current server performance metrics and health status
🖥️ CPU Usage: 45.32%
🧠 Memory Usage: 65.2% (5.2 GB / 8.0 GB)
👥 Players Online: 85 / 100 (85.0%)
💾 Disk Usage: C:: 68.5% (15.8 GB free)
🏥 Overall Health: ✅ Healthy
alerts:
discord:
enabled: true
webhook-url: "YOUR_WEBHOOK_URL_HERE"
status-reports:
enabled: true
interval: 3600 # Hourly reports