A Couple Questions About the Sponge API

Hey, glad to see the API is out, and can’t wait for the server to reach a state for testing. I’ve started work on some basic plugins and I have a question.

I see there is an ConfigFile object, but is there a way to grab the plugin’s default config directory? Does sponge use such a directory?

From the FML initialization events, it’s possible to get the config directories, and with Sponge, it’s not yet added into the API from what I can tell. It will be made available long before the initial release of Sponge implementation, I’m sure.

I believe in either PluginContainer or Game (pretty sure it’s PluginContainer) there is a getConfigPath () method, or something of that nature.