09-09-2016, 02:32 PM 
		
	
	
		Here a small plugin that creates a empty world
1) Create a directory named EmptyWorld inside of the directory Plugins and a file named EmptyWorld.lua and add the code
2) Open the file settings.ini (Server has to be started once, to generate the file)
3) Add under [Plugins] the line Plugin=EmptyWorld
4) Add under [Worlds] the line World=emptyworld
If you join the server you can then use the portal command to join the world: /portal emptyworld. If you get a permission warning run command "/rank <username> Admin" from console.
	
	
	
	
Code:
function Initialize(Plugin)
    Plugin:SetName("EmptyWorld")
    Plugin:SetVersion(1)
    PLUGIN = Plugin
    cPluginManager:AddHook(cPluginManager.HOOK_CHUNK_GENERATING, OnChunkGenerating)
        
    return true
end
    
function OnChunkGenerating(a_World, a_ChunkX, a_ChunkZ, a_ChunkDesc)
    if (a_World:GetName() == "emptyworld") then
        a_ChunkDesc:SetUseDefaultBiomes(false)
        a_ChunkDesc:SetUseDefaultHeight(false)
        a_ChunkDesc:SetUseDefaultComposition(false)
        a_ChunkDesc:SetUseDefaultFinish(false)
    end
end1) Create a directory named EmptyWorld inside of the directory Plugins and a file named EmptyWorld.lua and add the code
2) Open the file settings.ini (Server has to be started once, to generate the file)
3) Add under [Plugins] the line Plugin=EmptyWorld
4) Add under [Worlds] the line World=emptyworld
If you join the server you can then use the portal command to join the world: /portal emptyworld. If you get a permission warning run command "/rank <username> Admin" from console.

