Enderchest

Discussion in 'Plugin Development' started by badboysteee98, Apr 18, 2014.

Thread Status:
Not open for further replies.
  1. Offline

    badboysteee98

    Hello Bukkit,

    I was just wondering today what would I need inside the code to make an enderchest the same size as a double chest? Would I just use PlayerInteractEvent?

    Thanks :D

    Bump*

    Okay sorry if I didn't explain it very well last time but here it is again

    How would I go about making a EnderChest plugin where player's with a permission can open it and when they do it will have a the same amount of slots as a double chest and also save the items in the enderchest to a hashmap?

    How could I do it?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 7, 2016
  2. Offline

    RawCode

    post code
     
  3. Offline

    badboysteee98

    RawCode thing is I don't have none because I'm a bit stuck on what I would do inside the PlayerInteractEvent :p
     
  4. Offline

    xJeremyCx

    Use your custom inventory. On PlayerInteractEvent, open the custom inventory and on inventory close, save the contents inside in somewhere
     
Thread Status:
Not open for further replies.

Share This Page