Is there a way to use related file path when grant java.io.FilePermission in plugin?

if so, how to grant file/directory under my plugin?

I don't think so.

But from my experience it can be nice to put your configuration files in config/your-plugin-name dir and you will be allowed to read that dir.

HTH

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.