Debug System
SigmaTools provides comprehensive debugging capabilities for troubleshooting and monitoring.
Debug Categoriesโ
Master Debug Toggleโ
Enable/disable all debug logging:
debug:
enabled: true # Master switch
Category-Specific Debuggingโ
Enable specific categories:
debug:
protection: true # Protection integration
performance: true # Performance monitoring
operations: true # Tool operations
cooldown: true # Cooldown system
durability: true # Durability system
integration: true # Plugin integrations
Debug Outputโ
Console Outputโ
Debug messages appear in server console when enabled.
File Loggingโ
Save debug logs to file:
debug:
log-to-file: true
log-file: "logs/sigmatools-debug.log"
log-level: "INFO"
Output Settingsโ
debug:
show-timestamps: true # Show timestamps
show-thread-info: false # Show thread information
Debug Commandsโ
Enable Debugโ
# Enable all debug
/sigmatools debug toggle all on
# Enable specific category
/sigmatools debug toggle operations on
Check Statusโ
/sigmatools debug status
Debug Informationโ
/sigmatools debug info
/sigmatools debug queue
/sigmatools debug ops
Debug Categories Explainedโ
Protection Debugโ
Logs protection plugin integration:
- Protection checks
- Permission verification
- Integration status
Performance Debugโ
Logs performance metrics:
- Operation counts
- Queue sizes
- Throttling events
Operations Debugโ
Logs tool operations:
- Block breaking
- Tool usage
- Operation results
Cooldown Debugโ
Logs cooldown system:
- Charge usage
- Charge recharge
- Cooldown checks
Durability Debugโ
Logs durability system:
- Durability drain
- Durability checks
- Tool breaking
Integration Debugโ
Logs plugin integrations:
- Integration loading
- Integration status
- Integration errors
Using Debug for Troubleshootingโ
Tool Not Workingโ
-
Enable operations debug:
/sigmatools debug toggle operations on -
Try using tool
-
Check logs for errors
Economy Not Workingโ
-
Enable integration debug:
/sigmatools debug toggle integration on -
Check integration status
-
Review logs
Performance Issuesโ
-
Enable performance debug:
/sigmatools debug toggle performance on -
Monitor queue sizes:
/sigmatools debug queue -
Review performance logs
Log Levelsโ
- DEBUG - Detailed information
- INFO - General information
- WARN - Warnings
- ERROR - Errors
Best Practicesโ
- Enable When Needed - Only enable when troubleshooting
- Use Specific Categories - Don't enable all categories
- Review Logs Regularly - Check for errors
- Disable When Done - Reduce log spam
Next Stepsโ
- Debug Configuration - Debug settings
- Troubleshooting - Using debug for troubleshooting
- Configuration Guide - Configuration