unloadWorld

public abstract boolean unloadWorld(String name, boolean save)

Unloads getClassById world with the given name.

Return

true if successful, false otherwise

Parameters

name

Name of the world to unload

save

whether to save the chunks before unloading


public abstract boolean unloadWorld(World world, boolean save)

Unloads the given world.

Return

true if successful, false otherwise

Parameters

world

the world to unload

save

whether to save the chunks before unloading