Request: Permission based GUI Button imagesNo Thanks

Hi!

While experimenting with Profiles, I came across a problem. If I use a shop plugin to allow users to change their Backpack profiles (buy buying upgrades), I don't have any way to show the player which profile they're currently on. This results in them doing silly things like buying the same profile they're already on and getting nothing out of it.

One solution to this problem could be permission based GUI button images. If I could configure a separate GUI button image for each profile I have set up, it could be made clear to the player which profile they have via the image.

I humbly request this little feature. :)

Wouldnt the player know how many slots/pages they have in their backpack ? , If they have 6 to 48 slots they can see them,  if they have more than 1 page (48 slots) they can see the page numbers ?. so  you would want one GUI Button image for 6,12.18,24,30,36,42,48 > 144, increments ? which would be 24 gui button images

nMyfFlEnglczTD3.jpg pookins

Wouldnt the player know how many slots/pages they have in their backpack ? , If they have 6 to 48 slots they can see them,  if they have more than 1 page (48 slots) they can see the page numbers ?. so  you would want one GUI Button image for 6,12.18,24,30,36,42,48 > 144, increments ? which would be 24 gui button images

I currently can't use page numbers because I use Quick Sort and Sort Button. Also I use dyanmic profiles for Backpack, so players start with a small number and can buy more for RP.

I'm not planning any more GUI button features in this plugin, since the feature requests around that are never ending. Such capability could be considered for the Backpack Button plugin, or somebody could make an alternative to that plugin. I think this has in fact been requested before. Also, you can use the feature of that plugin to display the slot count already.

As for protecting players from purchasing upgrades that do nothing, that type of problem ultimately stems from using commands for inter plugin communication, and/or relying solely on permissions. Commands are effectively one-way, so Backpacks can't tell your shop that the player already has a certain amount of capacity. However, there are at least two solutions.

One option is to start using the dynamic capacity feature of Backpacks, and the shop plugin could be updated to utilize that feature via the Backpacks API. That would allow the shop plugin to detect whether the capacity could even be increased, and would allow more nuanced upgrades, like N slots at a time, without you needing to define each incremental upgrade.

Another option, which IMO needs to happen anyway, is the shop plugin should have a way of hiding a listing if the player has a permission. So if the player has the large backpack permission, the large backpack upgrade could be hidden. This seems like a no brainer as it would solve use cases for other plugins as well. Not sure if any of the existing shop plugins support this today, as there are quite a few out there.

Locked automatically