LuckPerms

LuckPerms

41.4k Downloads

Function to delete all users

SnonSS opened this issue · 7 comments

commented

Description

Add a function on the LuckPerms editor site that should delete all users, otherwise it’s inconvenient to delete one user at a time if there are 500 or more of them, it would certainly not be bad if such a function was on the site, I hope you add it.

Proposed Behaviour

This useful feature will remove all users

Extra Details

No response

commented

Yes, there is such a command, I just didn’t know how to write it

commented

@Turbotailz Deleting all permissions on users will cause the default system to also drop the holders. I think the only user data that survives that is the UUID <-> Username cache.

(If you did /lp bulkupdate all delete, then I think that deletes the permissions off the groups, but doesn't actually delete the groups themselves)

commented

Well, yes, you just need to delete all users

commented

@Turbotailz
Wouldn't this kind of already be a thing - To delete all users - Just using Bulkupdate to delete them all.

commented

I suppose there is /lp bulkupdate users delete but my understanding was bulkupdate only deleted the permissions, not the permission holders (i.e. groups, users). I could be wrong, though.

commented

I said to open this on the LuckPerms/LuckPermsWeb repo (this is not the place for web requests).

Although come to think of it, I don't think this feature belongs there. Since the editor caps the user count this would be better suited as a plugin command.

commented

Excuse me, yes, you can add this function to the plugin