All Projects → thecoder-001 → MineColab

thecoder-001 / MineColab

Licence: GPL-3.0 license
Run Minecraft Server on Google Colab.

Programming Languages

Jupyter Notebook
11667 projects

Projects that are alternatives of or similar to MineColab

steam-stylegan2
Train a StyleGAN2 model on Colaboratory to generate Steam banners.
Stars: ✭ 30 (-77.78%)
Mutual labels:  colab, google-colab, colab-notebook
Torrent-To-Google-Drive-Downloader
Simple notebook to stream torrent files to Google Drive using Google Colab and python3.
Stars: ✭ 256 (+89.63%)
Mutual labels:  colab, colab-notebook
colab-badge-action
GitHub Action that generates "Open In Colab" Badges for you
Stars: ✭ 15 (-88.89%)
Mutual labels:  notebook, colab
ALPS 2021
XAI Tutorial for the Explainable AI track in the ALPS winter school 2021
Stars: ✭ 55 (-59.26%)
Mutual labels:  colab, colab-notebook
keras-buoy
Keras wrapper that autosaves what ModelCheckpoint cannot.
Stars: ✭ 22 (-83.7%)
Mutual labels:  colab, colab-notebook
fiap-ml-visao-computacional
Repositório dos exemplos e desafios utilizados na disciplina de Visão Computacional do curso de MBA Machine Learning da FIAP
Stars: ✭ 33 (-75.56%)
Mutual labels:  notebook, colab
Tensorflow2-ObjectDetectionAPI-Colab-Hands-On
Tensorflow2 Object Detection APIのハンズオン用資料です(Hands-on documentation for the Tensorflow2 Object Detection API)
Stars: ✭ 33 (-75.56%)
Mutual labels:  colab, colab-notebook
video coloriser
Pytorch Convolutional Neural Net and GAN based video coloriser that converts black and white video to colorised video.
Stars: ✭ 29 (-78.52%)
Mutual labels:  colab, colab-notebook
TFLite-ModelMaker-EfficientDet-Colab-Hands-On
TensorFlow Lite Model Makerで物体検出を行うハンズオン用資料です(Hands-on for object detection with TensorFlow Lite Model Maker)
Stars: ✭ 15 (-88.89%)
Mutual labels:  colab, colab-notebook
latent space adventures
Buckle up, adventure in the styleGAN2-ada-pytorch network latent space awaits
Stars: ✭ 59 (-56.3%)
Mutual labels:  colab-notebook
competitive-programming
This is my collection of various algorithms and data structures that I feel that are needed frequently in competitive programming .
Stars: ✭ 30 (-77.78%)
Mutual labels:  notebook
manning tf2 in action
The official code repository for "TensorFlow in Action" by Manning.
Stars: ✭ 61 (-54.81%)
Mutual labels:  notebook
iterative-grabcut
This algorithm uses a rectangle made by the user to identify the foreground item. Then, the user can edit to add or remove objects to the foreground. Then, it removes the background and makes it transparent.
Stars: ✭ 35 (-74.07%)
Mutual labels:  notebook
monte-note
Note taking application with a rich set of editing and management features
Stars: ✭ 63 (-53.33%)
Mutual labels:  notebook
Reinforcement-Learning-on-google-colab
Reinforcement Learning algorithm's using google-colab
Stars: ✭ 33 (-75.56%)
Mutual labels:  colab-notebook
smart-city-analytics
Analyze large data sets collected from a long-range IoT system that uses LoRaWAN networking
Stars: ✭ 28 (-79.26%)
Mutual labels:  notebook
LevelledMobs
Level-up mobs on your Spigot/Paper server, RPG-style!
Stars: ✭ 143 (+5.93%)
Mutual labels:  minecraft-server
gorilla-repl
A fork of Jony Epsilon's rich REPL for Clojure in the notebook style.
Stars: ✭ 22 (-83.7%)
Mutual labels:  notebook
Origami
Bukkit/Spigot/Paper based Minecraft server used by Minebench.de | Looking for an 1.17 version? If so most patches are PRd into Paper now, Origami 1.17 will continue once patches that Paper wont accept are necessary.
Stars: ✭ 29 (-78.52%)
Mutual labels:  minecraft-server
RaspberryPiMinecraft
Configuration files and performance testing scripts to setup and optimize a dedicated Minecraft (PC Java version) server
Stars: ✭ 179 (+32.59%)
Mutual labels:  minecraft-server

Logo

MineColab

Run Minecraft Server on Google Colab

Open In Colab

🙉 First of all, what is google Colab?

As the official FAQ says, colaboratory, or “Colab” for short, is a product from Google Research. Colab allows anybody to write and execute arbitrary python code through the browser, and is especially well suited to machine learning, data analysis and education. More technically, Colab is a hosted Jupyter notebook service that requires no setup to use, while providing free access to computing resources including GPUs. In short, it is a vm provided for learning, running python code, machine learning or for general purpose.

💰 Is it really free to use?

Yes, Colab is free to use. But there are some points which, according to me one should keep in mind:

  1. Though colab is a free service, it shouldn't be exploited indiscriminately or without any care. One should value that its a resource offered for no cost and can get depleted/restricted if the demand increases out of control.
  2. If it isn't obvious, one shouldn't run mission-critical services (like large and important servers/databases/python programs) on it. Its resources are not guaranteed and not unlimited, and the usage limits sometimes fluctuate. Also, the notebook has a maximum runtime of 12 hours, after which, it should be manually restarted.
  3. If you need to use it pretty often for intensive tasks, consider purchasing a vps server. A heavy increase in server load would force google to close the service.

In the end, it is just my personal opinion and can be ignored safely. Just ask your heart whats right and whats wrong. Also, please try to use it as a once in a while resource and not 24x7 so that others can avail the free resources too.

📃 Instructions

  1. Open the notebook in google colab.
  2. Read through the notebook, most of the code is self explanatory. Run the cells which are useful for your use-case.
  3. Run the first cell which runs the Minecraft server.
  4. Now you have three options. You can either use ngrok, playit.gg or cloudflare's argo. Ngrok is easy to setup and doesn't requires anything to be installed by the clients but it can often be quite unreliable. Argo doesn't have such limitations but requires a bit more work. Playit.gg's implementation is unpolished at the moment (debug log spam) but offers convenient static subdomains.
  • Ngrok: Change tunnel_service variable and follow the prompts.
  • Cloudflare argo:
    1. After running the first cell,Your free tunnel has started! Visit it <tunnel_address> would be logged in the notebook console.
    2. Download Cloudflared client on all the client machines.
    3. Now on your local machine, launch the binary with ./cloudflared-linux-amd64 access tcp --hostname <tunnel_address> --url 127.0.0.1:25565
    4. Finally, connect to 127.0.0.1:25565 from your minecraft client.
  • Playit.gg: Change tunnel_service variable, ignore the debug output (todo:fix) and follow the prompts.

So, how does it actually work?

As Google Colab is a VM running Ubuntu server as base OS, it can be easily used as a Minecraft server. Here are the steps which the notebook performs to setup the server:

  1. Update the system's apt cache.
  2. Install Openjdk-16 (Java) through apt-get.
  3. Mount Google Drive to access the minecraft folder (Drive is used here to provide persistent storage).
  4. Setup Argo/ngrok/playit Tunnel (Opening a tunnel at port 25565) depending on the tunnel_service variable.
  5. Change directory to the minecraft-server folder on google drive ("Minecraft-server" is the default, located in the root directory of my Google Drive.)
  6. List/Print the file list on the screen to indicate succesful directory change.
  7. Startup the Minecraft server (with optimized JVM parameters from Aikar's guide)

🐛 Found a bug?

Report report the bug by creating a new issue and use this helpful issue template.

Or suggest a new feature using this template.

👍 Tips

  • If something does not work, try using a VPN like windscribe before opening an issue.
  • Switch between the three different tunnel providers and see which works best for you.
  • Make regular backups of your world.

ForTheBadge built-with-love

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].