HibiscusMC / HMCCosmetics

The all-in-one cosmetics solution created by HibiscusMC Team, for HibiscusMC.
https://docs.hibiscusmc.com/
GNU General Public License v3.0
115 stars 50 forks source link

[FEATURE] Locked Item/Not showing cosmetics they have permission to. #77

Closed Bakayarouz closed 1 year ago

Bakayarouz commented 1 year ago

I have checked that...

Description

Pretty much the idea behind is either replace the item in the GUI with a custom pre-defined item/modeldat/lore to display when player does not have the cosmetic permission.

Perhaps some kind of global config if they don't have permission then the display would be

LockedItem:
  Item-Model: PAPER
  Model-Data: 41231
  Lore:
  - What the helll boi
  - Boi what the hell

So this will be displayed in place of the cosmetic if they have no permission to use it

Or make cosmetics menus only display the cosmetics they have permission to.

Config Changes

No response

LoJoSho commented 1 year ago

This is something that I have looked into and something I will need to look at again, I think having different items depending on the status of the cosmetic would be something worth pursuing.