Is anyone able to give me a little rundown of how to use the permission based message channels cause the documentation just isn’t making sense. What I’m trying to do is make a staff chat plugin.
MessageChannel#permission(String) should be the method you’re looking to fulfil. This method is static, the provided string should be a valid permission that players should have which is referenced in the message pipeline. So essentially what I get from it is you get a PermissionMessageChannel object back from this static method and then send the messages through that object.
To learn more on the subject, I’m sure the doc page could probably be a better reference.