▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Моды/Inventory Rollback
Inventory Rollback

Inventory Rollback

Has a user lost their items and need restoration? No worries! Easily restore inventories with this plugin.

330
2

Inventory Rollback Plugin

A comprehensive Paper Minecraft plugin for snapshotting and restoring player inventories with time-based rollback capabilities.

Installation

  1. Download InventoryRollback-1.0.0.jar
  2. Place in plugins/ folder
  3. Restart server
  4. Configure in plugins/InventoryRollback/config.yml
  5. Reload: /invrollback reload

Commands

CommandDescriptionPermission
/ir restore <player> [time]Restore player inventoryinvrollback.restore
/ir restore world <world> <time>Restore entire worldinvrollback.restore.world
/ir restore server <time>Restore entire serverinvrollback.restore.server
/ir list <player>List snapshotsinvrollback.list
/ir backup <player>Manual backupinvrollback.backup
/ir cleanupCleanup old snapshotsinvrollback.cleanup
/ir confirmConfirm operation-
/ir cancelCancel operation-

Aliases: /invrollback, /ir, /invr

Configuration

Snapshot Settings

snapshots:
  interval: 300  # 5 minutes
  max-per-player: 50
  events:
    on-death: true
    on-quit: true

Storage

storage:
  mode: HYBRID  # MEMORY, DISK, or HYBRID
  compression:
    enabled: true
    level: 6  # 1-9

Rollback

rollback:
  max-time: 3600  # 1 hour in seconds
  current-inventory-action: BACKUP  # BACKUP, DROP, or CLEAR

Usage Examples

Restore Single Player

/ir restore Steve 30m

Restores Steve's inventory to 30 minutes ago

Restore Entire World

/ir restore world world_nether 1h
/ir confirm

Restores all players in Nether to 1 hour ago (requires confirmation)

List Snapshots

/ir list Steve

Shows all available snapshots for Steve

Manual Backup

/ir backup Steve

Creates immediate snapshot for Steve

Time Format

  • 30s or 30 - 30 seconds
  • 5m - 5 minutes
  • 1h - 1 hour
  • 2h30m - 2 hours 30 minutes

Storage Modes

MEMORY

  • Fast access
  • Lost on restart
  • Periodic disk backup
  • Takes RAM

DISK

  • Persistent
  • Slower access
  • Compressed storage
  • Takes Storage

HYBRID

  • Memory cache + disk persistence
  • Best of both
  • Automatic sync

Safety Features

  • Confirmation Required: Dangerous operations need /ir confirm
  • Current Inventory Handling: Backup before restore
  • Batch Processing: World/server restores in batches to avoid lag
  • Corruption Detection: Auto-removes corrupted files

Permissions

PermissionDefaultDescription
invrollback.adminopFull access
invrollback.restoreopRestore inventories
invrollback.restore.othersopRestore others
invrollback.restore.worldopRestore inventories for users in a world
invrollback.restore.serveropRestore inventories for everyone in the server

Support

For issues, check:

  1. /ir status for plugin info
  2. Enable debug in config
  3. Check console logs
  4. Join our Discord Server

Совместимость

Minecraft: Java Edition

1.21.x

Платформы

Поддерживаемые окружения

Сервер

Создатели

Детали

Лицензия:CC-BY-NC-4.0
Опубликован:2 месяца назад
Обновлён:2 месяца назад
Главная