github DMedina559/bedrock-server-manager 4.1.0

one hour ago

Bedrock Server Manager 4.1.0

Important

4.1.0 Beta Users: Backup encryption keys are rotated automatically when upgrading to 4.1.0 stable. Any backups created on 4.1.0 beta releases will still work, but you will need to enter their recovery key manually when restoring or inspecting them.

Highlights

Bedrock Server Manager 4.1 introduces major improvements to server management, backups, automation, security, plugins, and the web interface.

  • Completely redesigned backups: Create portable server backups, choose what to include, verify recovery points, and safely restore your data.
  • New task scheduler: Automate backups, server restarts, updates, console commands, and more.
  • Improved account security: Manage login sessions, enable two-factor authentication, use passkeys, and create dedicated integration tokens.
  • Granular permissions: Control which servers and features individual users and integrations can access.
  • Faster player tracking: A new asynchronous Bedrock console system detects player connections and disconnections as they happen, improving player tracking and ban enforcement.
  • Expanded plugin capabilities: New APIs, scheduled tasks, permission controls, and configurable settings give plugins more flexibility.
  • Refreshed web interface & themes: Redesigned backup management, new scheduler and account-security pages, improved settings, 12 new custom themes, and experimental multi-instance support.
  • Improved reliability: Better server startup detection, bounded lifecycle preparation, process recovery, diagnostics, and performance during long-running operations.

Redesigned Server Backup and Recovery System

The backup system has been rebuilt to make protecting, managing, and restoring Minecraft servers easier and more reliable.

Flexible Server Backups

Server backups now use portable .bsmbackup archives, making them easier to store, transfer, and restore.

Choose between three backup modes:

Backup Mode Description
World Only Back up the active Minecraft world and its associated world packs.
Selected Components Choose which server files, settings, permissions, and configurations to include.
Full Server Directory Back up the entire server directory, including additional worlds, packs, and server files.

Scheduling Features

  • Create multiple schedules with different tasks and settings.
  • Choose specific days, times, and timezones.
  • Automatically account for daylight saving time.
  • Run tasks immediately, pause schedules, or retry failed jobs.
  • View execution history and task results.
  • Configure retries and missed-run handling.
  • Keep schedules and their history across application restarts.

The web interface includes a dedicated Scheduler page for creating and managing automated tasks.


Account Security and Authentication

This release introduces several new ways to secure accounts and manage access to BSM.

Login Sessions and Integration Tokens

  • View and revoke active login sessions.
  • Sign out individual devices or all devices.
  • Create named integration tokens for scripts, dashboards, and external applications.
  • Restrict tokens to specific permissions and servers.
  • Configure token expiration, including a Never Expire option.
  • Rotate or revoke tokens whenever needed.
  • Preview the permissions a token will actually receive.

Two-Factor Authentication and Passkeys

  • Enable authenticator-based two-factor authentication (MFA).
  • Generate recovery codes for account recovery.
  • Remember trusted devices for 30 days to reduce repeated authentication prompts.
  • Register passkeys for passwordless sign-in.
  • Require additional verification before sensitive account operations.
  • Manage remembered devices and registered passkeys from account settings.

Password security, registration invite handling, and login protections have also been strengthened.


Granular Permissions and Server Access

BSM now provides standardized, fine-grained control over what users, integrations, and plugins are allowed to do.

  • Assign users access to specific Minecraft servers.
  • Grant permissions for individual actions such as starting servers, editing settings, managing backups, or accessing logs.
  • Restrict integration tokens to only the capabilities they need.
  • View effective permissions before applying access changes.
  • Apply access restrictions to API requests and live connections.
  • Manage permissions through the updated web interface.

Existing user roles remain available, with additional flexibility for more restricted accounts.


Improved Server Process Management and Player Tracking

The Bedrock server process system has been redesigned to improve responsiveness, reliability, and server monitoring.

Real-Time Player Tracking and Ban Enforcement

BSM now uses asynchronous console pipes to monitor Bedrock server output directly.

Instead of periodically checking logs for player activity, BSM can react as soon as the server reports a connection or disconnection.

This provides several improvements:

  • Near-instant player join and leave detection (with duplicate presence snapshots filtered out).
  • More accurate and responsive online player tracking.
  • Faster ban enforcement when banned players attempt to connect.
  • Immediate handling of relevant server events without waiting for the previous polling interval.
  • More reliable processing of server output during normal operation.

The previous player polling interval setting has been removed because it is no longer needed for normally managed server processes.

Better Startup Detection and Process Recovery

  • Server startup status now reflects when Bedrock is actually ready, rather than simply when its process starts.
  • Improved detection of failed or timed-out startups, with bounded lifecycle preparation and rejection of conflicting concurrent actions.
  • Better handling of server shutdowns and process cleanup.
  • Automatic discovery of surviving Bedrock processes when tracking information is lost.
  • Improved process status information and diagnostics.

Recovered processes can regain basic tracking, although a stop and restart may be required to restore full console monitoring and live player tracking.


Expanded Plugin System

The plugin system has received significant improvements, giving developers more ways to extend BSM while providing administrators with better visibility and control.

New Plugin Capabilities

  • Create plugin-defined scheduled tasks.
  • Access the new backup and recovery system.
  • Monitor live server output and wait for specific log messages.
  • Inspect server processes and runtime information.
  • Subscribe to additional events and inspect operation results.
  • Access improved diagnostics and activity information.
  • Store plugin data using dedicated private/public file-management APIs.
  • Define plugin, global, and server-specific settings with automatic validation.

Plugin Permissions

Plugins can now declare the BSM capabilities they require, including access to server management, backups, players, logs, and other protected features.

The web interface displays these permissions alongside each plugin's runtime status and settings availability.

Existing plugins without explicit permission declarations retain legacy compatibility where supported, although developers are must adopt the new system before 4.2.0.


Improved Web Interface

The web interface has been updated with new management tools, redesigned pages, and usability improvements.

Backup Management

  • Redesigned backup page with a unified recovery-point view.
  • Easier backup creation with selectable components.
  • Improved backup inspector with Restore, Details, and Manage sections.
  • Backup verification, recovery drills, encryption controls, snapshot deletion, and recovery reports.
  • Clearer progress indicators for long-running operations.
  • Backup configuration moved into the reorganized Settings page.

Scheduler and Settings

  • New dedicated Scheduler page.
  • Improved schedule creation, editing, and run history.
  • Tabbed application settings.
  • Automatically generated forms for compatible plugin settings.
  • Improved validation and clearer error messages.
  • Better timezone handling throughout the interface.

Accounts and Permissions

  • New session, integration-token, passkey, and MFA management screens.
  • Improved login experience with multiple authentication methods.
  • Permission previews and per-server access controls.
  • Clearer permission badges throughout the interface.
  • Improved account activity and security management.

Monitoring, Themes, and General Improvements

  • Live health and diagnostics updates.
  • Expanded activity and troubleshooting information.
  • More consistent navigation, icons, menus, and layouts.
  • 12 new Minecraft-inspired custom themes (amethyst, ancient_city, cherry_grove, copper_workshop, deepslate, desert_temple, nether, ocean_monument, overworld_classic, redstone, snowy_taiga, and the_end).
  • Improved timestamps and timezone preferences.
  • Better responsiveness during lengthy operations.
  • Built-in content upload, download, and deletion tools (promoted to core web routes).

Experimental Features

The following features are available through the ?hidden=true experimental interface:

Multi-Instance Management

  • Save and organize connections to multiple BSM installations.
  • View servers from multiple installations in one workspace.
  • Switch between instances and manage their servers.
  • Monitor connection status and access saved instance profiles.

API Explorer

  • Browse available API operations and models.
  • Build and send API requests through the interface.
  • Inspect responses, schemas, and permission requirements.
  • Import custom OpenAPI specifications.

These features are experimental and are not enabled by default.


Offline Application Backups & CLI Tools

A new application backup system allows administrators to protect BSM itself, separately from individual Minecraft servers.

Using the local backup CLI command (create, restore, inspect, drill, list, extract, or the interactive menu), administrators can create .bsmappbackup archives containing selected application data, including:

  • Application database.
  • Global configuration.
  • Authentication and encryption credentials.
  • Installed plugins.
  • Plugin runtime data and custom themes.

Application backups support inspection, recovery testing, and selective restoration.

Note

Application backups require BSM to be stopped and do not include Minecraft server directories. Use server backups to protect Minecraft worlds and server files.

In addition, new logs and cleanup CLI commands let you inspect active/archived logs and safely clean up orphaned plugin, server, add-on, cache, and stale PID files (with dry-run support).


Additional Improvements and Fixes

  • Hardened backup key_id handling, automatic legacy keyring rotation, and stronger cryptographic hashing.
  • Improved application startup, SQLite WAL handling, and shutdown reliability.
  • Better handling of interrupted background operations.
  • Improved Windows process and filesystem compatibility (including writable file handles for backup fsync).
  • Simplified backup responses and removed legacy backup creation APIs.
  • More consistent API responses, models, and validation.
  • Improved server health reporting and troubleshooting tools.
  • Improved performance during filesystem-intensive operations and backup verification.
  • Updated bundled plugins to support the new backup and process systems (and promoted content upload/download into core routes).
  • Improved add-on subpack metadata handling and content management.
  • Updated bsm-frontend (>=1.4.0,<1.5) and bsm-cli (>=1.8.0b1,<1.9) compatibility.

Upgrade Notes

Before upgrading from 4.0.2, review the following changes:

  1. Sign in again: Existing login sessions will need to be reauthenticated after upgrading.
  2. Review backup settings: The new backup system introduces selectable components, encryption, retention, and verification options. Backup on Start now defaults to world-only backups.
  3. Protect application credentials: Preserve BSM's database and credential files together. Server backups do not include application accounts or global authentication settings.
  4. Review plugin compatibility: Plugins using older APIs may need updates to take advantage of the new capabilities and permission system.
  5. Update external integrations: API permissions, standardized scopes, and some response formats (including simplified backup responses and removed legacy creation endpoints) have changed. Custom clients should be updated to match the latest OpenAPI contracts.
  6. Configure external frontend access: Default CORS origins are now empty ([]); separately hosted frontends will require explicit CORS configuration.
  7. Use regional timezones: Configure schedules using timezone names such as America/Los_Angeles for correct daylight saving time handling.
  8. Experimental features: Multi-instance management and the API Explorer remain hidden by default.

What's Changed

๐Ÿš€ Features

๐Ÿ› Bug Fixes

  • fix: bound lifecycle preparation and reject conflicting actions by @DMedina559 in #496

๐Ÿ’„ Style & Refactoring

  • refactor: simplify backup responses and remove legacy creation APIs by @DMedina559 in #491

โšก Performance

๐Ÿงช Tests

โฌ†๏ธ Dependencies

  • dep: update pytest requirement from <9.2,>=8.4.0 to >=8.4.0,<9.3 by @dependabot[bot] in #479
  • dep: update platformdirs requirement from <4.14,>=4.3.0 to >=4.3.0,<4.15 by @dependabot[bot] in #486
  • dep: update flake8 requirement from <7.5,>=7.3.0 to >=7.3.0,<7.6 by @dependabot[bot] in #487
  • dep: bump docker/login-action from 4.7.0 to 4.8.0 by @dependabot[bot] in #493
  • dep: update myst-parser requirement from <5.2,>=4.0.0 to >=4.0.0,<5.3 by @dependabot[bot] in #495
  • dep: bump peter-evans/create-pull-request from 7 to 8 by @dependabot[bot] in #498
  • dep: update pytest-asyncio requirement from <1.5,>=1.1.0 to >=1.1.0,<1.6 by @dependabot[bot] in #497
  • dep: update fastapi requirement from <0.163,>=0.115.0 to >=0.115.0,<0.164 by @dependabot[bot] in #499
  • dep: update fastapi requirement from <0.164,>=0.115.0 to >=0.115.0,<0.166 by @dependabot[bot] in #502

๐Ÿงน Chore

Full Changelog: 4.0.2...4.1.0

Don't miss a new bedrock-server-manager release

NewReleases is sending notifications on new releases.