▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Моды/Save and Return inventory and XP

Save and Return inventory and XP

A simple data pack that uses a unique UUID bound Marker entity to store a player's inventory and XP. When loaded back, it places all of the items in their original slots and restores levels and experience points.

Оцените первым
10
1

Use Case

  • Multi-gamemode servers, like small servers with a PvP, hub dimension, and Survival mode to keep the survival inventory separate and safe when in other dimensions

Summary

This pack saves a player's inventory and XP to a unique UUID-bound Marker entity upon calling the inventorysave:save_inventory function. Upon calling the inventorysave:return_inventory or inventorysave:load_inventory functions, it replaces the player's current XP and items with the original saved template with all items having their original NBT and in the proper slots.

Usage

  • inventorysave:save_inventory to save the executor's inventory and XP to a marker.
  • inventorysave:return_inventory or inventorysave:load_inventory to return the executor's inventory and XP to an identical state as the time inventorysave:save_inventory was used.

Resetting

  • To summon a new marker and remove the old one automatically, execute inventorysave:setdefaultplayerdata as the intended target.
  • To fully remove the markers, kill all markers with Tag 'inventoryMarker', or if you want to remove a single specific marker, remove the marker with scoreboard scores inventoryUUID1, 2, 3, and 4 matching the desired player.
Партнёрский материал

Как поиграть с друзьями с модом Save and Return inventory and XP?

Мод Save and Return inventory and XP куда интереснее в компании: поднимите сервер Майнкрафт с уже установленным модом, позовите друзей и играйте по своим правилам. Хостинг Майнкрафт для мода Save and Return inventory and XP будет готов за пару минут - BungeeHost сделает всё за вас.

Часто задаваемые вопросы

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

Minecraft: Java Edition

1.21.x

Платформы

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

Клиент и сервер

Детали

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