How to make a plugin public

How would I make my plugin public? Whenever I access the plugin in a browser, the admin login page appears and I have to login before the plugin can be accessed. I’‘ve looked at the presence plugin but can’‘t see where it sets itself as public. Is there a config option to do so or must it be done in the server’'s control panel?

thanks,

Alistair

oh dear, I seem to have solved my own problem!

for /plugins/minerva to be public:

AuthCheckFilter.addExclude("/minerva");