LuckPerms

LuckPerms

41.4k Downloads

Delete all users from a specific group

LucidAPs opened this issue ยท 3 comments

commented

Please add a way to delete all users from a specific group, or even better an option to delete everything after a certain date.

commented
  1. You can remove a group from all users. See https://luckperms.net/wiki/Bulk-Editing
  2. you can set groups to expire at a certain time for each user with https://luckperms.net/wiki/Parent-Commands#lp-usergroup-usergroup-parent-addtemp-group-duration-temporary-modifier-context
commented
  1. You can remove a group from all users. See https://luckperms.net/wiki/Bulk-Editing
  2. you can set groups to expire at a certain time for each user with https://luckperms.net/wiki/Parent-Commands#lp-usergroup-usergroup-parent-addtemp-group-duration-temporary-modifier-context

/lp bulkupdate all delete "permission == group.default" So that will work? Will it cause problems if I run the command when the server is online?

commented

That will work