跳到正文

SafeSlot

作者:HelluPeptic

Automatically backs up player inventories on leave. Allows viewing, restoring, and exporting previous inventory states if needed. Intended for easy server moderation.

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

Safeslot

Safeslot is a lightweight and reliable inventory backup and restoration mod for Minecraft servers, built to protect players from accidental losses. Whether from death, glitches, or inventory mishaps, Safeslot automatically captures inventory snapshots and allows server admins to view, restore, and export past inventory states. Built for Fabric.

This mod is still under development. If you encounter bugs or have feature suggestions, please submit an issue on GitHub, feedback is always welcome!


  • Automatic Backups Inventory states are saved automatically when a player leaves the server, capturing all items.
  • Manual Backup Support Admins can create backups manually via command, giving full control over when snapshots are taken.
  • Inventory Browsing View available backups for any player, including timestamps and details of when each snapshot was taken.
  • Selective Restoration Restore any saved inventory snapshot back to the player, by default, the most recent backup is used, but specific versions can be selected.
  • Data Export Export inventory data to external files or systems for record-keeping or debugging purposes.
  • Automatic Cleanup Maintains a limited number of backups per player (default: 20), automatically deleting older snapshots to save space.
  • Permission-Based Access All features are protected by permissions, allowing fine-grained access control for moderators and admins.

/safeslot inventoryrestore view <player>

View all available inventory backups for the specified player.

/safeslot inventoryrestore restore <player> [backup]

Restore a player’s inventory from a specific backup (or the latest if none specified).

/safeslot inventoryrestore save <player>

Manually create an inventory backup for the player.

/safeslot inventoryrestore cleanup

Clean up older backups, keeping the most recent three for each player.


Permissions

  • safeslot.feature.inventoryrestore.view – View available backups
  • safeslot.feature.inventoryrestore.restore – Restore a player’s inventory
  • safeslot.feature.inventoryrestore.manualbackup – Create manual backups
  • safeslot.feature.inventoryrestore.cleanup – Perform cleanup of old backups

_Operators always have access to all features._


Use Cases

  • Death Recovery Let admins quickly restore a player’s gear and items after accidental or unfair death.
  • Rollback Inventory Bugs Recover from inventory corruption or mod-related desync issues without manual intervention.
  • Item Theft Resolution Inspect inventory states before and after a suspected theft or issue.
  • Server Moderation Tools Provide staff with safe, permission-based tools for restoring player items.
  • Inventory History Tracking Keep a short history of player inventories for auditing or debugging purposes.

Installation

  1. Download the latest JAR from the releases page.
  2. Place it in your server’s mods folder.
  3. Restart your server.
  4. Set permissions for your moderation team as needed.

Requirements

  • Minecraft 1.20.1
  • Fabric Loader 0.15.7+
  • Fabric API 0.92.0+1.20.1
  • \\fabric-permissions-api\`

常见问题

SafeSlot 支持哪些 Minecraft 版本?

SafeSlot 支持 Minecraft Java 版 1.20.1–1.21.11,共 2 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

SafeSlot 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。

评论

登录后评论和评分

HelluPeptic 的其他作品

查看全部 →