Sueta

ServerPatch

1.3.0

ServerPatch is a plugin that manually checks and updates other plugins from Modrinth, Hangar, and SpigotMC.

·Plugin
  1. 1.3.0latestServerPatch 1.3.0Jun 25, 2026

    ServerPatch Changelog

    1.3.0

    Added
    - Per-plugin ignore list via /sp ignore add|remove|list (stored in ignored.txt). - Changelog links in /sp status for Modrinth and Hangar pending updates. - Modrinth bulk project preload during check to reduce API round-trips. - Color-coded check output (green = up to date, yellow = update, red = skipped/error). - API-version compatibility check on downloaded JARs before replace. - Discord/webhook notifications for UPDATE_FAILED during /sp update. - safety.maxConcurrentDownloads config (default 3) for parallel downloads. - /sp check --plugin <name> to check a single plugin. - Backup folder pruning via backups.maxBackups (oldest-first). - Snapshot integrity hash validation on load. - /sp dryrun to simulate updates without downloads or JAR replacement. - /sp pin set|remove|list for per-plugin maximum-version pins. - /sp rollback <plugin> [confirm] to restore one plugin from its latest backup. - Config folder backup beside per-run JAR backups. - Semantic update classification (PATCH, MINOR, MAJOR, UNKNOWN) in snapshots/status. - Local changelog history storage and /sp changelog <plugin> [page]. - Changelog text fetched from Modrinth/Hangar API responses during check. - /sp update confirm gate for major or breaking-change updates (10-second window). - Maven profiles mc-1.20, mc-1.21, and mc-26 with platform-labeled JAR names (paper, purpur, spigot). - scripts/build-all-jars.ps1 to produce all version/platform variants in one run. - PlatformInfo detection scaffold for Paper, Spigot, Purpur, and Folia. - PlatformInfo detection scaffold for Paper, Spigot, Purpur, and Folia.
    Changed
    - Command set simplified: check, status, update, backup restore, ignore, help. - Alias changed to /sp (was /updater). /serverpatch still works. - /sp status replaces snapshot-status and includes last-run metrics. - /sp update replaces run and auto-runs check when no valid snapshot exists. - Backup restore uses one command with optional trailing confirm (10-second window). - Restart warning mute moved to notifications.muteRestartWarning in config. - Java package renamed from com.universalupdater to com.serverpatch. - Documentation aligned to Java 25 (matches pom.xml). - Snapshot integrity now includes entry contents, not just environment/count/timestamp.
    Fixed
    - SpigotMC metadata no longer fails strict-mode loader check when Spiget provides no loader list. - Snapshot tampering detected via integrity hash validation (invalid snapshots deleted). - backups.maxBackups now enforced with oldest-first pruning. - Java version mismatch between CHANGELOG/README and pom.xml.
    Removed
    - Unused classes: DryRunService, BootStateManager, RollbackExecutor, RestartManager. - Display-only mode config (CHECK_ONLY / DOWNLOAD_ONLY / AUTO_UPDATE). - /sp silent command (use notifications.muteRestartWarning instead). - Config sections: rollback.*, restart.*, debug-mode. - Placeholder website field from plugin.yml.
    16 downloads
  2. 1.2.0ServerPatch 1.2.0Jun 9, 2026

    ServerPatch Changelog

    1.2.0

    - Added Minecraft 26.x support (Paper api-version: 26.1). - Updated build target to Java 21 and Paper API 26.1. - Tightened remote endpoints: - Centralized API base URLs and user-agent. - Validated Modrinth project IDs and Hangar slugs before requests. - URL-encoded Hangar project paths. - Blocked downloads from untrusted hosts (only Modrinth and Hangar CDNs). - Required HTTPS for webhook notifications. - Improved update matching: - Modrinth search now requires an exact title/slug match. - Modrinth/Hangar version queries try modern 26.x and transitional 1.26.x labels. - Loader filters now follow the detected server type (Paper, Purpur, Folia, Spigot).

    1.1.1

    - Initial stable release with snapshot-based updates, checksum verification, and backup restore.
    17 downloads
  3. 2.0.0ServerPatch 2.0.0May 8, 2026
    38 downloads
  4. 1.1.0ServerPatch 1.1.0Feb 11, 2026

    ServerPatch 1.1.0

    A plugin updater for PaperMC servers, designed for stability, security, and determinism. It checks your installed plugins for updates, creates an encrypted snapshot, and executes updates with zero background usage when idle.

    Key Features (v1.1.0)

    🔒 Snapshot Update System
    Updates are now deterministic. 1. Check: /serverpatch check scans plugins and saves an encrypted snapshot of the update plan. No files are downloaded yet. 2. Verify: You can review pending updates with /serverpatch snapshot-status. 3. Run: /serverpatch run executes the snapshot exactly as planned. If the server environment changes (e.g., you switch from Paper to Spigot), the snapshot is invalidated for safety.
    🛡️ Enhanced Security & Stability
    - Strict Loader Matching: Enforces compatibility. Paper servers will reject plugins marked only for Spigot unless explicitly allowed. - Hash Verification: Verifies SHA-256 hashes against remote sources (Modrinth) to prevent tampering and incomplete downloads. - Duplicate Prevention: Automatically detects and prevents duplicate jars (e.g., Plugin-1.0.jar vs Plugin.jar) after updates. - Zero Idle Usage: No background threads or tasks run when the plugin is idle.
    📦 Modrinth & Hangar Support
    - Deep Integration: Fetches detailed metadata, including load compatibility and stability. - Smart Fallback: Prioritizes Modrinth/Hangar, falling back to SpigotMC only for free resources if needed.

    Installation

    Drop ServerPatch-1.1.0.jar into your plugins/ folder and restart the server. Requirements: - PaperMC 1.20+ (or forks like Purpur, Folia) - Java 17+

    Commands

    All commands require the serverpatch.admin permission.
    Check for updates
    /serverpatch check
    Scans all plugins, resolves updates, and saves a snapshot. Does NOT download or modify files.
    View Snapshot Status
    /serverpatch snapshot-status
    Shows the pending updates stored in the current snapshot, including versions and target files.
    Apply updates
    /serverpatch run
    Loads the secure snapshot, verifies integrity, downloads the updates, and replaces the plugin JARs. A server restart is required to load new versions.
    Mute restart warnings
    /serverpatch silent
    Mutes the generic "Restart Required" broadcast that appears after updates are applied.
    Restore from backup
    /serverpatch backup restore <folder>
    Stages a restore from a timestamped backup folder (tab-complete available). Confirm with /serverpatch backup confirm.

    Configuration (config.yml)

    | Setting | Default | Description | |---|---|---| | mode | CHECK_ONLY | CHECK_ONLY, DOWNLOAD_ONLY, or AUTO_UPDATE | | sources.modrinth | true | Enable Modrinth source | | sources.hangar | true | Enable Hangar source | | compatibility.allowSpigotOnPaper | false | If true, allows Spigot-only plugins on Paper | | security.verifyChecksum | true | Enforce hash verification | | network.timeoutSeconds | 30 | Connection timeout for update checks |

    Permissions

    | Permission | Default | Description | |---|---|---| | serverpatch.admin | OP | Access to all ServerPatch commands |

    Author

    Made by Shiraken12T
    33 downloads

Similar projects

Plugin →