GitHub Guide
What is GitHub?
GitHub is a popular place to host and store files that use git version control. Which is a fancy way of saying, external file host with backups. We use GitHub as it provides an easy way for us to handle submissions and tracking updates
Requirements
Create a GitHub account here
If you are unfamiliar with git, install GitHub Desktop.
How do I upload my map to GitHub?
Once you are signed in to GitHub, go to this site
For Repository name put in your map name.
Make sure it is set to public
Press Create Repository
Open GitHub Desktop, and sign into it
Select
Fileat the top left, and clickClone repository
Click on your map’s repository name, and then
Clonein the bottom right
Delete the example files
Select
Repositoryat the top and clickShow in your File Manager
Go into the
srcfolderGo into the
worldfolderDelete the
largeplusfolderDelete the directory
Exit the world in Minecraft, and locate your world’s folder
Before closing the world, go to the center of the map and press F3 and make note note of your coordinates and save them for later.
To get to the folder, go to
Singleplayer->Edit->Open world folder
Add your custom map’s files
Note
There are 4 possible map types,
small,large,largeplus, andremasteredMore information can be found on the Map requirements
Create a folder and name it the map type your world is
Enter the new folder
Copy your custom map’s world data to the new folder
Customise the lebmod.json
Go back to the
srcfolderOpen
lebmod.jsonin a text editorCustomise the lebmod.json to the values of your map. See: Json Schema
Upload your changes
Go to Github Desktop and make sure all the files are selected by clicking on the top tickbox in the top left and making sure it is checked
Go down to the summary box at the bottom and make a name for your changes, something like
Upload map datawould be fineClick on the
Commit to mainbutton
Click the
Push originbutton
Your map repository is now on github! To continue with the map submission process see Submitting your map
How do I upload an update of my map?
Open your map’s new world folder
To get to the folder, go to
Singleplayer->Edit->Open world folder
Open your map’s repository folder
Open GitHub Desktop
Select
Repositoryat the top and clickShow in your File Manager
Replace the world data in your map’s repository
Navigate to
srcEnter the folder for the map type you are updating
Note
There are 4 possible map types,
small,large,largeplus, andremasteredMore information can be found on the Map requirements
Delete the old world data and replace it with your new version
Caution
Make sure that you delete the OLD world data from your map’s repository, NOT the new data you are getting from Minecraft
Update your lebmod.json
After making an update, you should review lebmod.json and see if it needs any changes
Go back to the
srcfolderOpen
lebmod.jsonin a text editorUpdate the
versionoption to reflect your map’s new version numberCheck to make sure if anything else needs to be updated. For example if you added a new map type, you will need to enable it and enter its coordinates
If you are unsure what these options do, see: Json Schema
Upload your changes
Go to Github Desktop and make sure all the files are selected by clicking on the top tickbox in the top left and making sure it is checked
Go down to the summary box at the bottom and make a name for your changes, either describe the update or just use a version number
Click on the
Commit to mainbutton
Click the
Push originbutton
Your map’s update is now on github! To continue with the map submission process see Submitting an update to your map