Update for BasePlugin v9
Make use of the new sub-command system, also add more fine-grained
permissions.