LuckPerms

LuckPerms

41.4k Downloads

Suggestion: Display permissions with pagination

M9GLiquid opened this issue ยท 5 comments

commented

Display the permissions with the help of pagination.

I personally have groups with more than 100 permissions (yes, I know, alot)
and I can only display about ~90 of them.

Regards,
Thomas

commented

As a work around, use the console and if you are limited by a webinterface, the log contains them all.

commented

I suppose the command could be extended to (with the pagination being optional):

/perm u p i <items-per-page> <page-number>

commented

Huh, I guess that could work. Still not great though. I'd rather try do something like the Sponge Pagination system. Idk.

commented

Yeah - this is going to be pretty hard to do.

I'm really against adding a page based system, as it makes it really hard to see all of your permissions at a glance.

Any ideas on how it could be done?

commented

don't know anything about what you can do with the spongeAPI but you could add a JSON text at the bottom of the output with a JSON Hover/Click event for "<< Previous Page || Next Page >>

Would be rather sleek for the user and no real addition on commands altho it would need abit of coding for it (Perhaps add Fanciful(if work with sponge) to overcome the code issue)

Add itat same time as: #68