Hello there my name is Alin and I need to know if anyone can help me with sort items buttons with ultimate inventory system plugin or without. I will pay if is necessary
. I need something to help me sort items by rank, power and type.
-------Example:
9items[sword1, helme1t, armor1, sword2, helmet2, armor2, sword3, helmet3, armor3]
Sword1 - rank[common] type[atk] power[10]
Sword2 - rank[rare] type[atk] power[20]
Sword3 - rank[legendary] type[atk] power[30]
Chest1 - rank[common] type[def] power[15]
Chest2 - rank[rare] type[def] power[25]
Chest3 - rank[Legendary] type[def] power[30]
Helmet1 - rank[common] type[Acc] power[10]
Helmet2 - rank[rare] type[Acc] power[25]
Helmet3 - rank[legendary] type[Acc] power[40]
----
So i need 3 buttons
Button1[Sort by Rank], Button2[Sort by Type], Button3[Sort by Power]
Example we have 6 slots with 6 items on inventory page.
Slot1[Sword1], Slot2[Helmet2], Slot3[Sword3], Slot4[Chest2] Slot5[Helmet3], Slot6[Chest1]
----
When I press Sort by Rank i want to be like that:
Slot1[Sword3], Slot2[Helmet3], Slot3[Chest2], Slot4[Helmet2], Slot5[Sword1], Slot6[Chest1]
------
When I press Sort by Type i want to have another 3 option with Sort By Atk, Sort by Def, Sort by Acc.
Sort by Atk i want to be like that:
S1[Sword3], S2[Sword1], S3[empty], S4[empty], S5[empty] S6[empty]
Sort by Def:
S1[Chest2], S2[Chest1], S3...S6[empty]
Sort by Acc:
S1[Helmet3], S2[Hemlet2], S3...S6[empty]
-------
When I press sort by power i want to be like that:
S1[Helmet3], S2[Sword3], S3[Chest2], S4[Helmet2], S5[chest1], S6[Sword1]
------
I don't know if it is very difficult or very easy. in principle, I don't think it's very difficult if you do this, I just explained a lot so you can understand. so please can someone make me a tutorial about this? please a lot