Programmatically create world
TheCutter opened this issue ยท 3 comments
Is it possible to create a world programmaticly with specific settings within a custom plugin!?
I need it to create a new world for a game with changing settings every round.
You can modify the settings in the WorldConfig or BiomeConfig by writing a program that modifies the files on disk. You can also try to hook into TC internals, but the settings reading code changes frequently, so this is not advised... Still, the BiomeStandardValues and WorldStandardValues give an enumeration of all available settings.
But this is not a bug report, so it doesn't really belong on the bug tracker. We do have a shiny new forum for these types of questions. You can even login with your Github account over there.
I will close this issue, but you can still comment here if you prefer to continue the conversation here instead of on the forums.
Oh ok sorry, didn't know about the forum. =)
I just started using TC internals. But the settings reading code depends too much on configuration files. Would be easier if you would split this into one class the represents the configuration and one class that reads the config from a file and creates the config class.
Are you planning to continue working on your plugin even with the new generator in Minecraft 1.8!?