Plugin now registers permissions dynamically using the material enum. This should make permissions appear in tab-complete of permissions plugin commands.
Permissions checking has been rewritten. No behavior should have changed, so please report any differences.