Invsee with Inventory and Armor

Discussion in 'Plugin Development' started by Forword, Apr 14, 2018.

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

    Forword

    How would I /invsee able to see another players inventory and armor?

    Would I have to make an inventory and in that inventory will include the other players, Contents, and Armor?

    Then what..?
    (Saves the inventory and loads the inventory?)
     
  2. Offline

    MightyOne

    Player#getInventory() gives you the PlayerInventory of a Player. What exactly you are going to do with Player#getInventory()#getArmorContents() is your decision. What do you want to show the player when running /invsee?
     
Thread Status:
Not open for further replies.

Share This Page