Make sure the map is prepared
The last thing you want is to go through the whole publishing process only to realise you messed up and need to start again.- Make sure the player has the right privs. Revoke any privileges that the player is not meant to have, such as creative privileges you used in building a survival or adventure mode map.
- Turn off fly, fast and noclip unless you have a good reason to leave them on.
- Make sure that the player has no password, or remember to publish a password(s) for maps with pre-made accounts. Nuke account/clear password for the account, on any account out of the database that has a password that was really used on a multiplayer server. You do not want people to be able to brute force attempt passwords and re-use them in multiplayer!
- Make sure that the player is in the right place, or for multiplayer that the spawn point is correct. You may want to use a mod that sets a static spawn point.
Prepare mods/worldmods
To make it easier to install the world or even include custom content in it, you probably want to use the worldmods feature of the engine. When there is a directory inside the world directory called worldmods, then mods from there will always be loaded ahead of game mods and ones from the mods directory. This means players won't need to install mods in order to get the world running properly. It does increase the file size though, so if you have no or only a handful of mods, maybe skip this step.- Check for updates for your mods (made easy through ContentDB).
- Copy all of the mods into worldmods.
- When republishing: Update the worldmods. It's quite likely they are out of date since the last publishing of the world.
- To test your worldmods properly: Make a backup of world.mt. Delete all of the mod entries. Load the world. There should be no issues with mods missing, unknown nodes etc.
- Even if not using worldmods, and especially if you are a mod author with unpublished projects, you may want to scrub world.mt to remove entries unrelated to the map. As of #15758 a leak is less likely though.
Make an archive file
Since worlds exist in multiple files, you'll want to squish them into a singular file. This will usually also save size. Use a program like 7-zip to add the files to an archive. .zip is a very common format, and the one you probably want if you know nothing else about archive formats.- Add the directory to a new archive file (zip file or other)
- Check the contents of the archive file with Explorer/Finder/file manager/archiver.
Test your archive file
Before you upload, double check that the world will work after it is extracted. If you are using worldmods, this will test you have all of the worldmods copied in properly. Test the world and when you open it, go back over all the prior checklist items at this point, e.g. check the player position, privs and so on.- Close the game.
- Move the world directory out into another directory.
- (If using worldmods): Move all of the mods out of your mod directory.
- Extract from your archive file.
- Launch the game and launch your world. Is everything as expected? If not, fix the issue and start again through the checklist
Upload your archive
The forum has a 1 MB file size limit, so unless your world is very very small, it's probably not going to fit on here. Find a website you trust and upload your file there. There are a few options with different pros and cons:- Own website: Pro: It stays up as long as you can keep it up. Con: Can be the most expensive option.
- Personal cloud storage e.g. Google Drive, Dropbox, OneDrive. Pro: You can store a backup copy of the world and share it to other people at the same time. Con: If you ever rearrange the files, close your account or the terms and conditions change, the link can get wiped out.
- Upload sites e.g. MediaFire, MEGA. Pro: Usually pretty reliable. Con: Download speed can be limited and these sites serve a lot of ads.
- catbox.moe: Pro: Decent free service. Con: Sometimes blocked by ISPs, schools, antivirus etc. Con: original filename not given in download, only the extension.
- Git forges e.g. GitHub, GitLab, Codeberg. NOTE: For this option, do not make an archive file, but make the repository's root directory the same as the world directory's contents. The websites will make .zip files available automatically, and your players can download these without using git. Pro: Free services, usually not intrusive with ads and decent bandwidth. Pro: (Power-)users would be able to update by running some commands. Con: You need at least a very basic understanding of git, or git-via-website. Git is not made for tracking binary files. Every new version of the map will add a lot of size to the repository and there may be size limits.
Posting
Okay, so you have the file double-checked and uploaded. You're already champing at the bit to post. However, make sure potential players know what they're getting when you upload. This is very similar to if you were trying to get a mod into Mod Releases, with the guidelines for that.- Thread title: Map name plus lede/subtitle
- Description of the map.
- Target game of the map. The player needs to know the game so they can find the world in their world list after copying it in, since worlds are listed per-game in the main menu.
- Mods needed for the map or a statement that it uses worldmods.
- At least one high quality screenshot. If you want more than 3, you will need to use an external image host or to make multiple posts, since the forums have a 3-file limit per post (and 1 MB file size limit; you should probably re-export the screenshots as JPEG).
- Author(s) of the map.
- Licence to use the map: You should share the map under a licence like would be used for textures, models or sounds, such as a Creative Commons licence like CC BY-SA 4.0. If there is no licence statement on the map, then copyright law says it must be default all rights reserved, and is only allowed for personal use and cannot be re-uploaded.
- Any notes about how to install the map, or a link back to How do I install maps?
Alternatives
Perhaps your adventure befits its own menu entry and the title of "game"? Well, instead of packaging it as just a "map", you can add it as a mod with modgen. You can then ship your game with a premade world, using the games directory instead of the worlds directory.Sometimes, you may also want to host the world as a multiplayer game instead. Of course, there are already a lot of servers. Sometimes your map may be from an old server and you may not be looking at full-time hosting/reviving it.