Compatibility
Minecraft: Java Edition
Platforms
Links
Creators
Details
Changelog
Changelog AutoPunish Plugin Changelog - Version 1.0.0 to 2.0.0 This changelog details the significant features and improvements added to the AutoPunish plugin throughout our development process.
Core Features (Initial Implementation) Automatic Punishment Escalation: Rules with tiered punishments based on offense count. Player History Tracking: Stored in a database (H2/SQLite or MySQL). Discord Webhook Logging: Real-time notifications for issued punishments. In-Game Commands: /punish <player> <rule>: Apply automated punishments. /punishments <player>: View a player's punishment history. /punishreload: Reload plugin configuration. Mute Functionality: Implemented via temporary permissions using LuckPerms. Basic API: Initial methods for accessing player history. Version 1.1: Enhanced Punishment Logic & History Global Severity Scoring: Implemented calculateSeverityScore and determineGlobalTier in PunishmentManager. Punishments now consider a player's overall violation history for escalation. Severity score and tier calculation integrated into punishment logic and webhook messages. New Command: /severity <player> to check a player's calculated severity score and tier. Improved Webhook Formatting: Included offense number, rule-specific history, and overall severity score in Discord notifications. Version 1.2: Admin Approval System Severe Punishment Approval: Punishments exceeding a configurable duration (default 7 days) or permanent bans require admin approval. Configurable Approval Settings: Added approval-system section to config.yml for: enabled: Toggle approval system. require-approval-after: Minimum ban days requiring approval. bypass-approval-permissions: List of permissions to bypass approval. notify-admin-on-auto-approved: Whether to notify admins of auto-approved punishments. In-Game Approval Commands: /punishadmin list: Lists pending punishments. /punishadmin approve <approvalId>: Approves a queued punishment. /punishadmin deny <approvalId>: Denies a queued punishment. Queued Punishment Management: QueuedPunishment model class. PunishmentQueueManager to handle queuing, approval processing, auto-approvals, and notifications. Database persistence for queued punishments (new queued_punishments table). Admin Web Panel (Port 8080): Login system with configurable credentials. Tabs for Pending Approvals, Punishments, Players. API endpoints for listing, approving, and denying queued punishments. Improved error handling and logging for web panel requests. Webhook Notifications: Notifications for queued punishments. Notifications for denied punishments. API Enhancements: New methods in AutoPunishAPI to interact with the queue (getQueuedPunishments, approvePunishment, denyPunishment, needsApproval). Version 1.3: Dynamic Rule Management & Public Directory Dynamic Rule Management (In-Game Commands): New Commands: /rule list: List all configured rules. /rule info <ruleName>: Show details of a specific rule's tiers. /rule create <ruleName>: Create a new, empty rule. /rule delete <ruleName>: Delete an entire rule. /rule addtier <ruleName> <type> <duration>: Add a new tier to a rule. /rule removetier <ruleName> <tierNumber>: Remove a tier from a rule. /rule edittier <ruleName> <tierNumber> <newType> <newDuration>: Edit an existing tier. Config Synchronization: Changes made via commands are saved to config.yml and synchronized with a new rules database table. PunishmentRule Updates: Added addTier, removeTier, modifyTier methods. ConfigManager Updates: Methods to manage rules and tiers in memory, config.yml, and the database. Database Updates: rules table created, with syncRule, deleteRule, syncAllRules methods in DatabaseManager. Separate Public Punishment Directory (Port 8081): New Manager: PublicWebPanelManager to run the public web server. New Web Files: Dedicated HTML, CSS, and JavaScript in src/main/resources/public-web/ for the public directory. Public API Endpoints: /api/punishments: List all punishments (with pagination, sorting). /api/punishments/warns, /api/punishments/mutes, /api/punishments/bans: Filtered lists. /api/punishments/stats: Show summary statistics. Data Access: Public pages pull data directly from the punishments database table. Auto-Refresh: Public directory pages automatically refresh data every minute. Enhanced Developer API: New Events: PunishmentQueuedEvent, PunishmentApprovedEvent, PunishmentDeniedEvent, PlayerHistoryResetEvent. Expanded API Methods: More methods in AutoPunishAPI to interact with the new queue and rule management features. Improved Documentation: Updated API documentation for developers
Files
Metadata
Release channel
ReleaseVersion number
2.0.0Loaders
Game versions
1.21, 1.21.4Downloads
15Publication date
September 11, 2025 at 10:59 PMPublisher

AlanTheDev
Owner


