LuckPerms

LuckPerms

41.4k Downloads

Make meta info command more concise

Katrix opened this issue · 6 comments

commented

Recently our server installed Grief Defender, and while it's working fine, the output of some LP commands became a bit too cluttered for our liking.

What would be great is if there was sine way to hide permissions and meta values that start with some node by default.

For example, in the config there could be a section like this.

verbose-permissions = [griefdefender] 

Then running the LP commands normally would hide any node starting with that. To show the nodes, an extra flag like -v would be required.

commented

Similar to #1708

commented

Not really, different kind of verbose.

commented

Not really sure what you are trying to suggest here, then.

commented

maybe you can screenshot in-game/console wdym by "cluttered" and which area. Perhaps you mean logging/notifying of LP commands that are ran? Your explanation is not very clear tbh.

commented

Let's take meta as an example (although this also applies to permissions)

This is what I get when I run /lp group adult meta info. Adult is our second most common group
tmp.txt

What I would like is to with something similar to the config up above require something like /lp group adult meta info -v to show the above. If the -v is not specified, I would instead get something like this.

[Sun, 5. Jul 2020 09:10:47 EDT INFO] [LP] adult's Prefixes
[Sun, 5. Jul 2020 09:10:47 EDT INFO] [LP] -> 10 - '☯️Adult☯️ ' (inherited from self)
[Sun, 5. Jul 2020 09:10:47 EDT INFO] [LP] -> 5 - '☯️Child☯️ ' (inherited from child)
[Sun, 5. Jul 2020 09:10:47 EDT INFO] [LP] -> 5 - '☯️Infant☯️ ' (inherited from default)
[Sun, 5. Jul 2020 09:10:47 EDT INFO] [LP] adult has no suffixes.
[Sun, 5. Jul 2020 09:10:47 EDT INFO] [LP] adult's Meta
[Sun, 5. Jul 2020 09:10:47 EDT INFO] [LP] -> default = 'false' (inherited from self)
[Sun, 5. Jul 2020 09:10:47 EDT INFO] [LP] -> homeLimit = '5' (inherited from self)
[Sun, 5. Jul 2020 09:10:47 EDT INFO] [LP] -> default = 'false' (inherited from child)

The second is manageable to see in chat, the first one is not.

commented

Paste link for anyone else not wanting to download a .txt: https://bytebin.lucko.me/2kpjg92oZB

Seems like a fair suggestion, that is a bit spammy.