Player Heads On GUI

Discussion in 'Plugin Development' started by ocauth, Sep 14, 2018.

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

    ocauth

    Hey, I want to make an inventory that shows online player's heads and names
    My Idea:
    Clicking on any player will open up a gui, and I can set their gamemodes from there

    I really need help with this
     
  2. Online

    timtower Ninja on the waves Moderator

    @ocauth What do you have already? What do you need help with?
     
  3. Offline

    ocauth

    I have a command that when executed brings up a gui, I need to make it so when I click an itemstack (I already know how to do it) it will open up a gui with online players and their heads, once i click on one of their heads it will bring up a gamemode gui that is specific to each playerr
     
  4. Online

    timtower Ninja on the waves Moderator

    @ocauth But what part do you need help with? Do you have anything to work with?
     
  5. Offline

    ocauth

    I need help with showing online players in a gui and clicking on any player will bring up a gui with gamemodes for a specific player

    I already have the whole plugin thing i just need an inventory with online players
     
  6. Online

    timtower Ninja on the waves Moderator

    @ocauth Provide code to work with, a place to integrate it in.
    Make an itemstack for each online player and add it to the inventory, then open the inventory.
     
  7. Offline

    The_Spaceman

    create a new Inventory, foreach in Bukkit.getOnlinePlayers(), use that to fill the inventory.

    I hope this helps
     
Thread Status:
Not open for further replies.

Share This Page