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

PM Plugin menu GUIs

Discussion in 'Development' started by rentedpanda, Jul 13, 2018.

  1. rentedpanda

    rentedpanda Creeper

    Messages:
    5
    GitHub:
    thebrainofthepanda
    Spigot GUIs use Bukkit.createInventory(null, int, "string");, ArrayLists, and metaData.
    However, I am lost into where to begin in creating a custom GUI for PocketMine. I read on the old forum that it was impossible, I see YouTube tutorials on how to create one, so I wanted to ask whether it is
    a) indeed possible to create GUIs
    b) which references to use
    c) if "impossible," then how it could be made possible. (do not say /command)
    Many thanks!
     
    Last edited: Jul 13, 2018
  2. alexwolf_dev

    alexwolf_dev Spider Jockey

    Messages:
    43
    GitHub:
    Frago9876543210
  3. rentedpanda

    rentedpanda Creeper

    Messages:
    5
    GitHub:
    thebrainofthepanda
    Hmm, not quite the GUI I was looking for, but probably could substitute.
    Example of a Bukkit GUI (I believe it’s called Chest GUI):
    [​IMG]
    Cheers for the API.
     
  4. corytortoise

    corytortoise Skeleton

    Messages:
    825
    GitHub:
    corytortoise
    @Muqsit is pretty knowledgeable about what you're asking. He has a plugin you can use, or just use as a reference if you want: InvMenu. I believe it boils down to creating custom Inventory classes and handling InventoryTransactionEvent to handle the selection of the item.
     
    Muqsit likes this.
  5. Muqsit

    Muqsit Chicken

    Messages:
    1,548
    GitHub:
    muqsit
    Last edited: Jul 14, 2018
  6. NicolassMD

    NicolassMD Creeper

    Messages:
    3
    GitHub:
    NicolassMD
    is it possible that when you enter the game you have a compass in your inventory and if you press on the take opens an inventory and then press on a section and open another inventory???
     
  7. NicolassMD

    NicolassMD Creeper

    Messages:
    3
    GitHub:
    NicolassMD
    I use my server _ _ and can only redirect me to another server but not to add commands, can someone make such a plugin???
     
  8. NicolassMD

    NicolassMD Creeper

    Messages:
    3
    GitHub:
    NicolassMD
    Can someone to make EasyForms into a phar file and give me the link becouse i cant dawnload IT
    Pls help me
    Thanks
     
  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.