Not too long ago, support for overriding the world generator was added to CraftBukkit. I'm curious if anyone has 1) played around with this functionality, and 2) has sample code they could share. I've been looking around the CB source and haven't really been able to figure it out yet. The net.minecraft.server.ChunkProviderGenerate class appears to be where the magic happens, but I was expecting something less...obfuscated. Any suggestions?
I'd definitely be interested if someone got this to work as well. Currently working on a minigame for Bukkit and being able to spawn a new World with custom game map chunks loaded would be really useful.
There is a "generator" branch on github, it might be worth looking at that. There is an added option for the create world function in Server.java. You pass it a chunk generator and it uses it to make the world.