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
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
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
@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.
create a new Inventory, foreach in Bukkit.getOnlinePlayers(), use that to fill the inventory. I hope this helps