#Inventory API GUI APi

1 messages · Page 1 of 1 (latest)

spring surge
#

I like https://github.com/SamJakob/SpiGUI this api. Its easy to use and has alot of cool features. One problem is that it has an item hardcoded which I cannot remove. I've tried to set the slot to air, or another item but wont work. Anyone who knows how to remove it or maybe has a better API? Let me know

GitHub

A comprehensive GUI API for Spigot with pages support. - GitHub - SamJakob/SpiGUI: A comprehensive GUI API for Spigot with pages support.

soft relic
#

Hi

#

Maybe you can modify the library

#

And remove that from the library

scenic wing
spring surge
#

I appreciate the answer, but I dont know how I would do that Verano

scenic wing
#

the timing on that

soft relic
#

I also was looking for a gui for making pagination guis

#

But i cannot find a good api

#

Zacken I tríed ths tmanu times

#

But no one know how to give a good explanation for working with pages

scenic wing
#

no explanation? look at code that already exists and see how it works

soft relic
#

I try coding a páginated gui like 20 times or even more

worn bobcat
#

if slot > page*pageSize, this is a new page

soft relic
#

Its simply to say the logic

#

It not to apply it

#

That happen all time I ask

#

Hmn so im a idiot

#

What more I can say

#

😂

#

I mean every new page = new inventory?

#

🤔

worn bobcat
#

Yes

#

Or just clear theinventory and set new items

soft relic
#

Ok

#

Its possible to make a class which contains basic method for the normal inventory and the páginated inventory

#

Because i keep the abstract class Menu traxked on the Map<Uuid, Menu> and then I get problems when I get what menú type has the player open

#

Hmn

#

But i dont care about the type during the library

#

Its only cared thru the library usage

#

Ok

#

I will then give another yty

#

Try to the library

#

Thanks

spring surge
#

@orchid cliff do you have a full class with everything for guis?

soft relic
#

Ok

#

And how much you ask for the páginated one?

soft relic
#

Oh thanks

soft relic
#

Zacken

#

I have a question would be the same using an Interface?

soft relic
#

I know

#

Because if I use abs class you should extends the Menu class for doing normal inventores

#

😬

soft relic
#

I dont wand to each user who uses the lib

#

Have to create another class extending my menu class

soft relic
#

oh right

#

You always have good solutions

#

haha

soft relic
#

Zacken can i make usage of Map<Integer, InventoryMenu> rather than creating another object for the pages?

#

idc?

#

I mean why english use lot of abreviations and knowing that english depends on context is even more diff to non native peakers to understand

#

😂