Debug System¶
SigmaTools provides comprehensive debugging capabilities for troubleshooting and monitoring.
Debug Categories¶
Master Debug Toggle¶
Enable/disable all debug logging:
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:
Output Settings¶
Debug Commands¶
Enable Debug¶
# Enable all debug
/sigmatools debug toggle all on
# Enable specific category
/sigmatools debug toggle operations on
Check Status¶
Debug Information¶
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:
-
Try using tool
-
Check logs for errors
Economy Not Working¶
-
Enable integration debug:
-
Check integration status
-
Review logs
Performance Issues¶
-
Enable performance debug:
-
Monitor queue sizes:
-
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