So good!
You could consider add a function which will backup permission files automatically.And if need,admins could undo some illegal actions by ops with a command to rewrite permission file(means cover the changed permission files into the latest safe backup)
Also,I think it is very important to make such a function that make plugin comparethe permission or op changes,which means when someone become OP or have an extra permission,plugin will automatically take down these actions and save them in a log file.
Thanks for the review! And I think that is definitely something that a lot of server owners would want! As far as backing up permissions, this would depend on your permission plugin. If you are using LuckPerms, you can use the "/lp export" command on a Chron tab. As far as logging op changes, I think Ill look into this and add it to the plugin! Thanks! Stay tuned for update!