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

Copy chest to another chest

Discussion in 'Plugin Help' started by dadodasyra, Aug 31, 2020.

  1. dadodasyra

    dadodasyra Witch

    Messages:
    68
    GitHub:
    dadodasyra
    Hello, I would like to know if there is a way to copy the entire inventory from one vault to another in a clean way. I can't find a way to set the contents of a safe without going slot by slot.
     
  2. dadodasyra

    dadodasyra Witch

    Messages:
    68
    GitHub:
    dadodasyra
    Just use getcontents from the realinventory from the chest.
    Setcontents, I'm a bit stupid, I was looking directly in the trunk class.
     
  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.