Jump to content
  • Sign Up
Goodly

How to fully transfer a map between servers in MCGalaxy

Recommended Posts


We will be working with the assumption that your map is named mylevel. If it's not, replace occurances of "mylevel" with your map's name when following this tutorial.

You must have server file access to both servers to accomplish this.


In order to fully move mylevel to another server you will need:

For blocks and zones,
    mylevel.lvl file in `levels`
    
For blockdefs (custom blocks),
    if the level only uses local blocks and does not use any globally defined blocks:
        lvl_mylevel.json in `blockdefs`
    if the level only uses global blocks:
        Clone global.json from `blockdefs` and rename it to lvl_mylevel.json before cloning the file to the other server
    if the level uses both global and local blocks:
        use ClassiCube to save the level as temp.cw, import it into a server (/help import), then grab lvl_temp.json and rename it to lvl_mylevel.json before cloning that file to the other server
        this servers the purpose of combining local and global blocks into one blockdef file
    
For blockprops (slab stacking and etc),
    _mylevel.txt in `blockprops`
    
For message blocks,
    1. Extract the messages from the server database with /server backup table Messagesmylevel
    2. Messagesmylevel.sql will now be in the root folder of your server. Bring this file to the root folder in the other server.
    3. In the other server, use /server import Messagesmylevel
For Portals,
    Repeat the steps for message blocks, but instead of "Messagesmylevel" use "Portalsmylevel"
For bots,
    extra/bots/mylevel.json
    
For all the remaining level properties (env, settings from /map, etc),
    mylevel.properties in `levels/level properties`
   

  • Agree 3
  • cube 1
  • Dumb 1
  • Winner 1
  • Disagree 1

Share this post


Link to post

OR, you could press "esc" on your keyboard, then go to "Save level", Enter a name, then save it to your "maps" folder. Once this is done go to the website "put.nu" upload it, On the other server do /import (link). 

This may take a long time to get done, because you aer doing them one at a time. But If I can do it, so can you!

 

  • Dumb 3
  • Disagree 7

Share this post


Link to post
22 minutes ago, JaviPlayz said:

OR, you could press "esc" on your keyboard, then go to "Save level", Enter a name, then save it to your "maps" folder. Once this is done go to the website "put.nu" upload it, On the other server do /import (link). 

This may take a long time to get done, because you aer doing them one at a time. But If I can do it, so can you!

 

This won't contain data for message blocks, portals, zones, bots and blockprops.

Edited by icanttellyou
  • Agree 2
  • Dumb 2

Share this post


Link to post
6 hours ago, icanttellyou said:

Portals are also annoyingly stored in the server database...

Thanks for pointing that out. Added to the guide as well

  • Agree 1
  • cube 1
  • Dumb 1
  • Disagree 1

Share this post


Link to post

Thanks, it was hard for me to add bots in other server, Now your tutorial just helped me! 

Share this post


Link to post

There is a global blockprops file in ".../blockprops/default.txt" which may need merging.

Bot AI files in ".../bots/[ai_script_name]" are server level too; these may need renaming and pointing at from the bot.json file.

It's not likely, but you may want to transfer the blockdb from ".../blockdb/mylevel.cbdb"; seriously not recommended though as it'll likely be huge and it's almost impossible to transfer correctly as it contains references to player ID numbers.

The "/warp" command (assuming it's ever been used) will need to be merged manually, file is ".../extra/warps.save"

I'll assume you can find the backups though, in the unlikely event that you want them. 🙂

  • Agree 1

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...