Skip to content

External tool to Send ✈ and Receive πŸ“¨ Minecraft Worlds πŸ‘₯

License

Notifications You must be signed in to change notification settings

wizhel/MC-Sync-Upload

This branch is 14 commits behind PiterWeb/MC-Sync-Upload:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

7457640 Β· Nov 19, 2022

History

9 Commits
Jul 29, 2022
Jul 29, 2022
Nov 19, 2022
Nov 19, 2022
Jul 29, 2022
Jul 29, 2022
Jul 29, 2022
Jul 29, 2022
Jul 29, 2022
Jul 29, 2022
Jul 29, 2022
Jul 29, 2022
Jul 29, 2022
Jul 29, 2022
Jul 29, 2022

Repository files navigation

πŸ“ MC-Sync-Upload

Description

This is part of the pack MC-Sync. MC-Sync are two programms that aims to make easier to play minecraft (java edition) with your friends without a real server.

See MC-Sync-Download

MC-Sync-Upload has the function of send the world (server) to another person or upload it into the firebase cloud (free or paid tier) to make backups.

Purpouse

πŸ“– Learn

  • Create better CLI APPs
  • Interact with NBT files (Minecraft configuration files)
  • Use Firebase Storage
  • Read toml files

✨Create a simple programm to play Minecraft Survival with my friends πŸ‘€

Technologies used πŸ“˜

  • Go (Golang)

External Packages πŸ“¦:

  1. firebase (firebase cloud ☁)
  2. pterm (beautiful UI)
  3. toml (config files βš™)
  4. godotenv (secrets 🀫)
  5. fasthttp (serve files through http requests)
  6. google api (google cloud options)

Docs

Prerequisites πŸ“Œ

  • Go 1.18
  • Ngrok (I mention ngrok but you can use other tools that supports tcp tunnels)
  • Firebase Project (Firebase Storage)

Set up πŸ’»

git clone https://github.com/PiterWeb/MC-Sync-Upload.git
cd ./MC-Sync-Upload
go mod tidy

Configure the project with the .env , serviceAccountKey.json and accounts.toml files.

Build πŸ”¨

go build .

An executable for your OS will be created

Play πŸͺ€

Share the executables (mc-sync-upload / download) and also ngrok with your friends

When you open the world in LAN go to ngrok and type:

ngrok tcp <port> --region <region to host>

And send the ngrok domain name to your friends as an IP for the server (Example: 74329sadoijjiosad.ngrok.io )

About

External tool to Send ✈ and Receive πŸ“¨ Minecraft Worlds πŸ‘₯

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 99.6%
  • Shell 0.4%