Compiling your map

Attention

This step is Not nessecary if you are just planning to upload your map to the public server.

This is intended for users that want to install their map on a ToolBox server.

Make sure you have finished Creating the map directory

Important

Make sure your map meets the Map requirements, or else you may encounter errors when trying to load your map in-game

What is the compiling process?

Compiling your map packages it up into a single file for the installer to read from.

Running the compiler

Note

Python must be installed before proceeding.

  1. Go to the ModTools repository and download the source code

  • Click on the <> Code button

  • Click Download ZIP and save the file

  • Extract it and copy LEB-ModCompiler.py to your map’s directory

  1. Run LEB-ModCompiler.py

    • The compiler will create a folder named output

    • If everything has gone right, your map should be in that folder as a .lebmod file.

Installing to a ToolBox server

From here, if you want to install your mod to a ToolBox server, check the ToolBox documentation

Error

The ToolBox documentation does not exist yet.