Advertisement
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Open Inventory code

Comments in 'Plugin Development' started by ender_kenji, Feb 27, 2016.

  1. ender_kenji
    Offline

    ender_kenji New Member

    Joined:
    Oct 13, 2015
    Posts:
    29
    Minecraft User:
    EnderKenji
    I want like runs a command and auto open player's inventory.
  2. Sean_M
    Offline

    Sean_M New Member

    Joined:
    Jul 20, 2015
    Posts:
    10
    Minecraft User:
    Sean_M
    PHP:
     $player->addWindow($player->getInventory());
  3. Tim // robske Büba
    Offline

    Tim // robske Büba Notable Member

    Joined:
    Feb 26, 2014
    Posts:
    606
    Minecraft User:
    robske_110
    You can too add an chest inventory
    I think you need the chest tile and then $tile->getInventory()
  4. CrazedMiner
    Offline

    CrazedMiner Notable Member Plugin Developer

    Joined:
    Jan 31, 2015
    Posts:
    348
    Plugins:
    2
    Minecraft User:
    CrazedMinerYT
    I know that doesn't work on player inventories that the player doesn't own.

Share This Page

Advertisement