ChestShop-authors / ChestShop-3

ChestShop - the chest & sign shop plugin for Minecraft Servers running Bukkit/Spigot/Paper
https://dev.bukkit.org/projects/chestshop
GNU Lesser General Public License v2.1
275 stars 175 forks source link

Diable a message #448

Closed Boro221 closed 3 years ago

Boro221 commented 3 years ago

Hey!

I just have a question. Is it possible to disable this message:

NOT_ENOUGH_STOCK_IN_YOUR_SHOP: "[%price %item&7 shop is out of stock!](&f%buyer&7 tried to buy\n&7In world: &f%world\n&7At position: &f%x/%y/%z)"

Phoenix616 commented 3 years ago

Depends on what you mean by "disable", if you mean the possibility to disable every message globally then setting it to empty should work (if it doesn't then that might be a valid enhancement), if you just want to disable that message for all players then you can also use the SHOW_MESSAGE_OUT_OF_STOCK config option, and if a player just wants to disable it temporarily then they can use the /cstoggle command to disable all shop notifications.

Boro221 commented 3 years ago

oh thanks nevermind. I did not notice this option in config