Sorry, we don't support your browser.  Install a modern browser
This post is closed.

Ability hide/show shop items#379

An option to hide specific item(s) from the /shop.

2 years ago

we wanna do this but trying to think about how to make this clear in the ui

a year ago

want this even more now since items is from shop… items is basically limitless - that is super cool. but, that means we end up spamming server shop.

a year ago

pls share ideas of how you want this to be hidden, how you want the commands to work (and how you’d liek to see the list of hidden items in command format or wtv) bc im kinda stuck on this thank u for doing my work for me

a year ago
2

I’m not entirely sure but here’s my idea,,

/shop view full - this would show the entire shop (even hidden items), I think it’d also be cool if it was like one of those hidden bot messages that only you can see,, that is to not flood chat as there could probably be a lot of shop item

/shop edit visibility - this would be the command where you can set if an item is visible or not. This would also be useful for temporary items you want to come back at some point but don’t want to have to remake.
I imagine it would work something like /shop edit visibility item:yaya visibility:hide or /shop edit visibility item:yaya visibility:hide

^ related to the above, I think it’s also may be important to have a way to hide certain item from a users inventory even if they have them or not be displayed in the {user_inventory} variable. This way if users are creating custom balances some of their custom currencies aren’t showed twice.

I do think it’s important you make a way to view the full shop as otherwise items may get lost Or forgotten and just make Mimu store information for no reason.

I think that’s all for now, I’ll add more if I think of anything else ^^

a year ago
1

Sure, @Iara .

Items in the shop may be hidden or made exclusive to a certain role, member, permission, or channel. We could do this by using the command /shop edit visibility: @role/#channel/@user/permission or something similar.

Users can only see items in the shop they are allowed to, but they can view restricted items if someone else runs the /shop command. However, these restricted items won’t be visible to them in the shop when they run the command.

For example, I would only want my donors in my server to see my donor-exclusive items, or I might want a specific group of people to have access to certain parts of the shop (e.g. ppl with pokemon lover role could only see pokemon related items, ppl with kuromi enthusiast role could only see kuromi related items).

Alternatively, I could simply hide specific items from everyone except myself to use them in ARs. I will add images of what it could look like when I have more time.

a year ago

oh interesting, hiding towards a certain role is kinda interesting and kinda solves the showing hidden items issue

a year ago

ty for insights! im going to think about this more in a product perspective, but i do want to implement this.

a year ago
2
Changed the status to
Planned
a year ago
1

writing a few more thoughts here on potential implementation approaches on dev side?

  • maybe make it so that on /shop theres a separate button for ppl with manage_server that can show the hidden shop specifically?
  • hide can be a true / false thats set in shop edit?
  • hide will also automatiaally make it so its not buyable in /shop buy (will need to filter these in shop commands, thonk)
a year ago
2

the 1st and the 3rd one that I can agree with. not sure about how the 2nd one would work, would there be enough space for customization since its not a seperate command? Like how could we hide items based on role, member, channel in just one entry?

a year ago

@Iara pmg yes that’s a great idea about the manage server where certain people who have perms can control it too pls. the true false is simple enough i think to understand ? an option when doing shop add or shop edit

a year ago

would the items that we hide for MEMBERS still show up for us tho?

as in:: shop is different from people who have manage server perms as well. because we kinda need that ITEM ID

whereas shop view is different from regular members. they only see things we want to show

a year ago

agreed, being able to hide item ID from regular users would be a great qol improvement too

a year ago
1

v8.7.16

a year ago
1
Changed the status to
Completed
a year ago

thank you :D

a year ago