Separate names with a comma.
Comments in 'Plugin Development' started by PixelGuy75, Dec 8, 2014.
Can permissions be used for events other than commands?
Do you mean, If player has permission this event will be allowed? If so, yes.
Yes that's what I meant and thank you!
Yes, just do a permission check when the event runs.
So I also have to add the permission to the plugin.yml too?
Yes just like you did with your AFKplugin.
Yes, this is the purpose of the new permission system: not limited to commands.
I think the old APi had no permission other then op and default and only for commands.
That's why I think old API permission plugins only block commands.
The old API doesn't have permission. The so-called permissions are just isOp and isBanned. Commands are things added by permission plugin developers.