Photon: Lightweight Backup Plugin for Minecraft Servers

Photon Backup Plugin: Reliable Data Protection for Your Minecraft Server Running a Minecraft server is a rewarding experience, but it comes with the constant risk of data loss. Whether it is a corrupted chunk, an accidental configuration change, or a hardware failure, losing your world can be dev...

Download Photon for Minecraft 1.16

Original name: Photon

Minecraft: 1.16

FileVersionLoaderSize
Photon.jar1.16—5 КБDownload
photon-1.2.jar1.16—4 КБDownload
photon-1.2.1.jar1.16—4 КБDownload

Photon Backup Plugin: Reliable Data Protection for Your Minecraft Server

Running a Minecraft server is a rewarding experience, but it comes with the constant risk of data loss. Whether it is a corrupted chunk, an accidental configuration change, or a hardware failure, losing your world can be devastating. The Photon plugin offers a lightweight, automated backup solution designed specifically for Bukkit, Spigot, and Paper servers. It ensures that your hard work is never permanently lost, giving you peace of mind with every tick.

What Makes Photon Stand Out

Photon is not just another backup tool. It is built with efficiency and flexibility in mind, making it ideal for both small private servers and large community networks. The plugin requires FPC (a foundational plugin core) to operate, which keeps the codebase lean and focused. Once installed, Photon runs silently in the background, creating backups according to your precise schedule without causing noticeable lag.

One of the most practical features is the shadow backup system. When no players are online, Photon can switch to a more frequent backup interval, ensuring that recent changes are captured even during idle hours. As soon as a player joins, the plugin automatically adjusts to a longer interval to avoid interrupting gameplay. This dynamic timing is a clever way to balance safety and performance.

Core Features at a Glance

  • Backup on server stop: Automatically creates a final snapshot before the server shuts down, capturing every last change.
  • Old backup deletion: Maintains a rolling set of recent backups by automatically removing outdated files, preventing disk space from filling up.
  • Custom backup path: Allows you to store backups on a separate drive or network location for added redundancy.
  • Shadow backup mode: Adjusts backup frequency based on player activity, running more often when the server is empty.
  • Simple command interface: A single /backup command lets administrators trigger a manual backup instantly.

Installation and Setup

Getting Photon up and running is straightforward. First, ensure that the required FPC framework is already installed in your server’s plugins folder. Then, download the Photon jar file and place it into the same directory. Restart your server, and the plugin will generate a default configuration file. No complex dependencies or database connections are needed.

While Photon handles server-side data protection, many players also want to enhance their single-player or client-side experience with mods. For those looking to explore new biomes, mechanics, or visual overhauls, a modern launcher like foxygame.net makes the process effortless. This convenient and flexible launcher allows you to browse and download mods directly from its menu, eliminating the hassle of manual file management. Whether you are an admin safeguarding a server or a player customizing your own world, the right tools make all the difference.

Configuration Deep Dive

The plugin’s config file uses a clean, parameter-based format that is easy to read and modify. Each field is documented with its default value and a brief description. Here is a breakdown of the available settings:

  • path: [path] (default: backups) — Defines the directory where backup archives will be stored. You can specify an absolute path for external drives.
  • backups-count: [count] (default: 7) — Sets the maximum number of backups to keep. Older backups are deleted automatically. Set to 0 for unlimited backups, but use this with caution to avoid filling your storage.
  • backup-on-stop: [true|false] (default: true) — Toggles the automatic backup when the server stops. Highly recommended to leave this enabled.
  • time min: [time in minutes] (default: 720) — The backup interval when no players are online. 720 minutes equals 12 hours.
  • time max: [time in minutes] (default: 1440) — The backup interval when at least one player is connected. 1440 minutes equals 24 hours.

These values can be tweaked to match your server’s activity patterns. For a server that is mostly empty during weekdays, you might set a very short min interval to capture frequent snapshots, while keeping the max interval at a comfortable 12 hours during peak times.

Commands and Permissions

Photon keeps the command set minimal to avoid clutter. The only command available is:

  • /backup — Triggers an immediate manual backup. This is useful before performing risky operations like updating plugins or editing world files with external tools.

To control who can execute this command, Photon uses a single permission node:

  • photon.backup — Grants access to the /backup command. Assign this to server operators or trusted staff members.

Because the plugin relies on FPC, you may also need to ensure that the base permissions for that framework are correctly set up. However, for most standard setups, simply giving the photon.backup permission to the admin group is sufficient.

Why Automated Backups Matter

Manual backups are easy to forget. A busy server owner might go weeks without creating a copy, only to realize the mistake after a catastrophic event. Photon removes human error from the equation. By running on a fixed schedule and reacting to server events, it guarantees that a recent backup is always available. The rolling deletion policy also means you don’t have to manually clean up old files, which is a common pain point with other backup solutions.

Another advantage is the plugin’s low resource footprint. Because it leverages the FPC core, Photon avoids duplicating common functions and stays lightweight. Backups are performed asynchronously where possible, so your players won’t experience sudden lag spikes during the process. This makes it suitable even for servers with limited RAM or shared hosting environments.

Best Practices for Using Photon

  • Always test your backups by restoring one to a local test server. A backup is only useful if it can be successfully restored.
  • Store backups on a different physical drive or cloud-synced folder for protection against hardware failure.
  • Combine Photon with a world-edit logging plugin if you frequently use tools like WorldEdit, so you can roll back specific changes without restoring an entire backup.
  • Monitor your disk space regularly, especially if you set backups-count to a high number or 0.

Conclusion

Photon is a no-nonsense backup plugin that does exactly what it promises: protect your Minecraft server data with minimal fuss. Its intelligent shadow backup system, automatic cleanup, and simple command interface make it a must-have for any server administrator who values their world. By integrating seamlessly with the FPC framework, it remains efficient and easy to maintain. Whether you are running a small survival world with friends or a large minigame network, Photon ensures that your creations are safe from unexpected disasters. Take a few minutes to install and configure it today, and you will never have to worry about losing your server’s progress again.