LuckPerms

LuckPerms

41.4k Downloads

Silence some notifications

Sikatsu opened this issue ยท 9 comments

commented

I'm making a badge selector using BossShopPro and LuckPerms.
I do want notifications/logging to be enabled for other purposes, but I don't want to see when a user switches his/her badge.

Could it be possible to add a -s argument to commands so that it doesn't show the logs for certain commands?

image

commented

Only admins can see those logs. And you can turn them off for yourself too.

commented

I understand that, but if I do want the logs enabled for other purposes. I basically have 2 options;

  1. Ignore those badge switch logs
  2. Disable all logs/notifications
commented

I believe a feature to silence specific tracks would heavily benefit people who have larger servers, and/or servers that have features like this.

commented

@lucko I updated to the latest build and added those sections, but I can still see the notifactions.

commented

image

commented

It matches the actual log description - could you send an example of one of the notifications you're getting?

commented

In your example above, to filter those messages you'd want to use something like parent settrack badges .* - it's a regex pattern so the .* at the end is a wildcard to match anything. :)

commented

Thanks for such a fast response! I haven't tried it for badges yet, I will do that soon!

It looks like this:

image

Also another question, do I just have to do it on the bungee config, or also on all backend-servers their configs?

commented

Ok so just put the bit in white as an entry in the config file :)

You need to do it for all servers