SamJakob / SpiGUI

A comprehensive GUI API for Spigot with pages support.
MIT License
107 stars 21 forks source link

how do i get it to list player heads in a gui for every player on the server #27

Open SamJakob opened 1 year ago

SamJakob commented 1 year ago
          how do i get it to list player heads in a gui for every player on the server

Originally posted by @ArcaneLegend1 in https://github.com/SamJakob/SpiGUI/issues/21#issuecomment-1700613120

xyndex commented 1 year ago

for (Player player : Bukkit.getOnlinePlayers()) { newbutton................ menu.addbutton(newbutton); }

jfoucher commented 7 months ago

This works fine, but only creates one page of heads. Is SpiGUI capable of auto-generating next/previous page buttons, or do I have to do them manually ?

SamJakob commented 6 months ago

SpiGUI should automatic generate pages as necessary...