@baris : Thanks !
I was still running nodebb v1.6.1 so i was unable to find the place you mentioned in the ACP.
But after a (difficult) upgrade to v1.7.1, i can now clearly see it :
That should do the job !
At this time, it is not possible to "post anonymously" when logged in. You would have to enable the "reply to topics" privilege to a specific category for guests, and then your users would need to log out to post as a guest.
@Mega as @Schamper said, I only discovered this last week, so we use require.parent.parent/etc for everything, but require.main works just as well.
Keep in mind require.main's "scope" is app.js, so you'd have to do require.main.require('./src/groups.js'); if you want access to the groups lib.
require.main will always be app.js for plugins, since plugins are only called by NodeBB.