Database & Webhooks
QuantumPunish is built with performance and reliability in mind, utilizing a high-efficiency data management system.
📊 SQLite Engine
QuantumPunish uses an internal SQLite engine. No external MySQL setup is required, making it a "plug-and-play" solution for server owners.
Stored Data: UUIDs, IP History (for Alt-Detection), Punishment Logs, and Warning Points.
Performance: All database operations are handled via Asynchronous Tasks, ensuring zero impact on server TPS (No Lag).
Retry Mechanism: Features a built-in retry logic to handle "Database Busy" states, preventing data loss during high-traffic periods.
File Location:
/plugins/QuantumPunish/database.db
🧹 Automated Maintenance
To keep the plugin lightning-fast, we've implemented an automated maintenance system:
Auto-Expiry: Punishments that have reached their end time are automatically marked as inactive.
Database Cleanup: Periodically prunes old or redundant data, keeping the database file lightweight and ensuring the
/historycommand remains near-instant even after thousands of records.
🔗 Discord Webhook Integration
Get real-time, rich notifications for every disciplinary action directly in your staff Discord channel.
Webhook Features:
Detailed Embeds: Displays player name, staff member, reason, and updated warning point balances.
Dynamic Colors: Embed colors change based on punishment type (e.g., Red for Ban, Orange for Mute, Blue for Warn).
Staff Transparency: Keeps your entire moderation team informed of every action taken in-game.
How to Setup:
Open your Discord Channel Settings.
Navigate to Integrations > Webhooks > Create Webhook.
Copy the Webhook URL.
Paste the URL into your
config.ymlunder thediscord-webhooksection.Set
enabled: trueand restart or reload the plugin.
Last updated