https://github.com/piterweb/mc-sync-download
External tool to Send β and Receive π¨ Minecraft Worlds π₯
https://github.com/piterweb/mc-sync-download
cli go golang golang-cli golang-tools minecraft minecraft-tool tools
Last synced: 4 months ago
JSON representation
External tool to Send β and Receive π¨ Minecraft Worlds π₯
- Host: GitHub
- URL: https://github.com/piterweb/mc-sync-download
- Owner: PiterWeb
- License: mit
- Created: 2022-11-19T12:01:18.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-11-19T12:33:21.000Z (over 2 years ago)
- Last Synced: 2025-01-12T05:08:15.942Z (5 months ago)
- Topics: cli, go, golang, golang-cli, golang-tools, minecraft, minecraft-tool, tools
- Language: Go
- Homepage: https://github.com/PiterWeb/MC-Sync-Upload
- Size: 30.3 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: License.md
Awesome Lists containing this project
README
# π MC-Sync-Download
### 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-Upload](https://github.com/PiterWeb/MC-Sync-Upload)
MC-Sync-Download has the function of receiving the world (server) from another person or download it from 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.google.com/go/v4) (firebase cloud β)
2. [pterm](github.com/pterm/pterm) (beautiful UI)
3. [toml](github.com/BurntSushi/toml) (config files β)
4. [godotenv](github.com/joho/godotenv) (secrets π€«)
5. [google api](google.golang.org/api) (google cloud options)## Docs
### Prerequisites π
- [Go 1.18](https://go.dev/)
- 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-Download.git
cd ./MC-Sync-Upload
go mod tidyConfigure 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 and also ngrok with your friends
When you open the world in LAN go to ngrok and type:
ngrok tcp --region
And send the ngrok domain name to your friends as an IP for the server
(Example: 74329sadoijjiosad.ngrok.io )