GithubHelp home page GithubHelp logo

universal-mc-server's Introduction

๐ŸŒ Universal-MC-Server ๐ŸŽฎ

This project is a universal Minecraft server starter. It can start any Minecraft Server.jar as long as you can provide a download link. It's perfect for those who want to quickly and easily set up their own Minecraft server.

๐Ÿš€ Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

๐Ÿ› ๏ธ Build

To build the project, you need to clone the repository to your local machine.

git clone https://github.com/yourusername/Universal-MC-Server.git
cd Universal-MC-Server
docker build -t unrea1/universal-mc-server:1 .

๐Ÿ Run

To run the server, you need to use Docker. Replace with the port you want to use for your server, with the path where you want to store your server files, and FILE_URL with the download link of your Server.jar file

docker run  -d \
            -p <PORT>:25565 \
            -v <PATH>:/mc \
            -e FILE_URL="<JAR_URL>" \
            -e XMX="4G" \
            -e REDOWNLOAD="<true or false>" \
            unrea1/universal-mc-server:1

For example, if you want to run the server on port 25565, store the server files in /home/minecraft, and use the PaperMC 1.20.1 Server.jar, you would run:

docker run  -d \
            -p 25565:25565 \
            -v /home/minecraft:/mc \
            -e FILE_URL="https://api.papermc.io/v2/projects/paper/versions/1.20.1/builds/43/downloads/paper-1.20.1-43.jar" \
            -e XMX="4G" \
            -e REDOWNLOAD="false" \
            unrea1/universal-mc-server:1

Now, your Minecraft server is up and running! ๐ŸŽ‰

universal-mc-server's People

Contributors

ghostjumper avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.