1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

KeepInventory

Discussion in 'Development' started by kiencool, Jun 1, 2018.

  1. kiencool

    kiencool Spider Jockey

    Messages:
    36
    Plz Help Me How To KeepInventory For Player I Was Use Plugin PiZYDS-KeepInventory but it not work
     
  2. HimbeersaftLP

    HimbeersaftLP Fish

    Messages:
    2,402
    GitHub:
    HimbeersaftLP
    Keep inventory on death?
     
  3. Nawaf1b

    Nawaf1b Silverfish

    Messages:
    17
    xXNiceAssassinlo YT likes this.
  4. kiencool

    kiencool Spider Jockey

    Messages:
    36
  5. Awzaw

    Awzaw Zombie Pigman Poggit Admin

    Messages:
    726
    GitHub:
    awzaw
    KeepInventory has been broken for a long time. Depending on what you need exactly you should try the "Save Survival Inventory" feature in WorldProtect ; just add
    Code:
    gm-save-inv: true
    to the WorldProtect config.yml and restart. It saves survival inventory to players .dat files whenever they change gamemode or die, so they always keep their survival inventory, even if in creative mode when they leave or when the server restarts.
     
  6. kiencool

    kiencool Spider Jockey

    Messages:
    36
    This Error:
    2018-06-02 [09:45:22] [Server thread/CRITICAL]: Could not execute task aliuly\worldprotect\common\PluginCallbackTask: Dynamic field access on pocketmine\nbt\tag\CompoundTag is no longer supported
    2018-06-02 [09:45:22] [Server thread/CRITICAL]: RuntimeException: "Dynamic field access on pocketmine\nbt\tag\CompoundTag is no longer supported" (EXCEPTION) in "vendor/pocketmine/nbt/src/tag/NoDynamicFieldsTrait" at line 29
    Plz Help Me How To Fix
     
  7. Awzaw

    Awzaw Zombie Pigman Poggit Admin

    Messages:
    726
    GitHub:
    awzaw
    Last edited: Jun 2, 2018
    RyanShaw likes this.
  8. kiencool

    kiencool Spider Jockey

    Messages:
    36
    Can You Make This Keep Enchantments Of Items?
     
  9. Awzaw

    Awzaw Zombie Pigman Poggit Admin

    Messages:
    726
    GitHub:
    awzaw
    It should already keep enchantments, I think, unless that broke recently... I'll check.
     
  10. kiencool

    kiencool Spider Jockey

    Messages:
    36
    Ok thanks
     
  11. Awzaw

    Awzaw Zombie Pigman Poggit Admin

    Messages:
    726
    GitHub:
    awzaw
    Can you test with the latest dev build, v2.3.5-11? Please note this is for recent ALPHA12 only - it won't work with all builds of PMMP 3.0.0-ALPHA12, including the tagged pre-release.

    Updated: I've added a branch called "ALPHA12_Tagged" for those not on cutting-edge PMMP builds, which is advisable. This should work with PocketMine-MP 1.7dev-1001 with API 3.0.0-ALPHA12: https://poggit.pmmp.io/ci/poggit-orphanage/WorldProtect/~
     
    Last edited: Jun 12, 2018
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.