Перейти к содержимому

uuidswap

Copy/replace player save data by UUID, with pet owner transfer support.

Fabric
Загрузчики
Fabric
Скачиваний на Modrinth
91
Подписчиков на Modrinth
0
версий
5
Обновлён
10 августа 202610 авг.
Опубликован
в 2026

Коротко о моде

Работает на Fabric
Для Minecraft 1.21.11–26.2
Нужен и в игре, и на сервере
Последняя версия — 1.0.0+1.21.11 от 10 августа 2026
Лицензия Apache-2.0 — бесплатно
Где нужен
В игреобязателенНа сервереобязателен

Нужен и в игре, и на сервере

Версии игры1.21.11–26.2
Перевода пока нет — показываем оригинал на английском

UUID Swap

UUID Swap is a Fabric mod that replaces Minecraft player save data by UUID and provides an in-game GUI for transferring ownership of tamed pets.

Compatibility

  • Minecraft: 26.1.2
  • Fabric Loader: 0.19.3 or newer
  • Fabric API: 0.155.2+26.1.2
  • Java: 25 or newer
  • Mod ID: uuid

Minecraft 26.1.2 uses the new unobfuscated development setup and requires Java 25.

Features

Player data replacement

The mod can copy a donor player's saved data to a target UUID. The following files are handled:

  • `playerdata/.dat` — inventory, experience, health, position, dimension, ender chest, and other player data
  • `stats/.json` — statistics
  • `advancements/.json` — advancements

When transferPetsAutomatically=true, loaded tamed animals owned by the donor are reassigned to the target UUID.

Only entities in currently loaded worlds can be transferred automatically. Pets in unloaded chunks must be handled after their chunks are loaded.

Player selection GUI

Running /uuidswap opens a paginated chest GUI. Each player is shown as a player head with their name, UUID, skin, and online/offline status.

Pet owner replacement

Hold redstone dust, sneak, and right-click a tamed animal. Select the new owner from the player-head GUI.

Commands

/uuidswap

Open the GUI and replace your own data with the selected player's data.

/uuidswap list

List known players, UUIDs, and online status.

/uuidswap <targetUuid>

Replace your own data with the data stored under targetUuid.

/uuidswap apply <sourceUuid> <targetUuid>

Replace the data stored under sourceUuid with the data stored under targetUuid. This form is intended for operators and the server console.

Online replacement behavior

If the source player is online, the mod disconnects them first, waits for the final save, and applies the replacement on the next server tick. The player can then reconnect and load the new data.

Configuration

The file config/uuid-config.json is created on first launch:

{
  "playerSwapPermissionLevel": 4,
  "petOwnerSwapPermissionLevel": 4,
  "backupBeforeOverwrite": true,
  "transferPetsAutomatically": true,
  "enablePetOwnerSwap": true
}

Permission levels are 0 (everyone), 1 (moderators), 2 (gamemasters), 3 (admins), and 4 (owners/full OP). Keep the default level 4 unless you fully understand the risk of allowing save-file replacement.

Backups

With backupBeforeOverwrite=true, the source player's original files are backed up before replacement:

<world>/uuid_backups/<timestamp>_source-<sourceUuid>_from-<targetUuid>/

Build

Linux/macOS:

./gradlew build

Windows:

gradlew.bat build

The jar is generated in build/libs/. Place it in the mods directory of a Fabric client or server running the compatible Minecraft, Fabric Loader, Fabric API, and Java versions.

Development

For multiple Minecraft versions, keep shared business logic in a common module and put version-specific Minecraft/Fabric API code in separate modules such as fabric-1.21.11 and fabric-26.1.2. Each module should produce its own jar; one jar should not be assumed to work across incompatible Minecraft APIs.

Safety

Always test on a copy of the world and keep backupBeforeOverwrite=true. Save-data replacement is destructive if backups are disabled.

License

All rights reserved. See LICENSE.txt.

Частые вопросы

Как установить uuidswap?

Установите Fabric под свою версию Minecraft, скачайте uuidswap под ту же версию и загрузчик, положите файл в папку mods и запустите игру с профилем загрузчика.

Для каких версий Minecraft есть uuidswap?

У uuidswap есть сборки для Minecraft 1.21.11–26.2.

Нужен ли uuidswap на сервере?

Нужен и в игре, и на сервере

Лицензия и источник
Apache License 2.0можно свободно использовать и распространять с указанием автора
Оригинал — Modrinth↗Файлы — без изменений, проверены по SHA-512Это ваш мод? Правообладателям

Сайт использует cookie: необходимые — для входа и темы, а также счётчики посещений Яндекс Метрика и LiveInternet — по ним мы видим, как пользуются сайтом. Рекламных cookie у нас нет. Подробнее