How can I delete my world via command. I'm programming a Minecraft plugin with which I want to delete my server worlds at once. So so to speak / delete and then it deletes "world_nether", "overworld" and "world_nether". Could someone send a code sample, thanks!
Can't you.
You should read his question in full and try to understand it.
That is only possible if you have another world that is loaded. You then have to remove all players from the world that should be deleted (kick them or teleport to the other world), then like world unload
Bukkit.getServer (). UnloadWorld (world, true);
Now all you have to do is delete the world folder.
Mfg Jannick (L1nd)
I'm sorry, I just read the title!
Thank you for your prompt reply