Giter VIP home page Giter VIP logo

docker-minecraft-old's Introduction

docker-minecraft

Héberger des serveurs Minecraft chez un prestataire spécialisé c'est bien, le faire from scratch, c'est mieux !

Table of Contents

Setup

Quick setup (good for n00bs)

Open a terminal and type:

curl -s -L https://raw.githubusercontent.com/saphirevert/docker-minecraft/install.sh | bash -s

Note: this assumes that your are on a Debian like operating system that uses apt.

For confirmed users

Requirements

  • Linux (debian like distros, needs apt)
  • Docker, docker-compose, make, tmux

Install server

  1. Get the code: git clone https://github.com/saphirevert/docker-minecraft;
  2. Enter the directory: cd docker-minecraft;
  3. Duplicate the sample environment: cp .env_sample .env;
  4. Edit the .env file and set your own values;
  5. Build the docker containers: make build;
  6. Launch the server with make up and enjoy!

Development

// TODO

Understand

// TODO

docker-minecraft-old's People

Contributors

ponsfrilus avatar saphirevert avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

docker-minecraft-old's Issues

Setup for NUBS

It could be nice to add a feature that download and automatically install server for nubs

test

test closing issue

[BUG] read: -p: no coprocess

When I run the command curl -s -L https://raw.githubusercontent.com/SaphireVert/docker-minecraft/master/install.sh | bash -s, there is this error : read: -p: no coprocess

[Nice to have] Size down the size of the git repository

When cloning the repo one get more than 31Mb because of some files in the git history:

decd91485be1  538KiB Spigot/data/worlds/world_the_end/DIM1/region/r.-1.0.mca
7c35f04515e4  586KiB Spigot/data/worlds/world_the_end/DIM1/region/r.0.0.mca
5de34c7dabac  596KiB Spigot/data/worlds/world_nether/DIM-1/region/r.0.-1.mca
c370da63e976  624KiB Spigot/data/worlds/world_nether/DIM-1/region/r.0.0.mca
680d949d6d01  625KiB Spigot/data/worlds/world_nether/DIM-1/region/r.-1.0.mca
b080849e2c6b  1.1MiB Spigot/data/worlds/world/region/r.0.0.mca
3d65e5734d15  1.1MiB Spigot/data/worlds/world/region/r.-1.0.mca
402771fb23fc  1.1MiB Spigot/data/worlds/world/region/r.0.-1.mca
40ab33145f61  6.0MiB Spigot/data/worlds/world/region/r.-1.-1.mca
861d6d4487c6   31MiB Spigot/data/spigot.jar

It would be nice for everyone to remove them. See https://stackoverflow.com/a/42544963 to reproduce this output.

[install.sh] Ask to accept EULA

Newbies have not way to accept the EULA when using install.sh, resulting in:

spigotmc_1    | [19:17:22] [main/WARN]: Failed to load eula.txt
spigotmc_1    | [19:17:22] [main/INFO]: You need to agree to the EULA in order to run the server. Go to eula.txt for more info.
docker-minecraft_spigotmc_1 exited with code 0

[Spigot] Make it possible to use it without bungeecord

E.g., use a second docker-compose file (docker-compose-slave.yml) to be able to launch a Minecraft server only with spigot, without using bungeecord. That would also implies that the ENV vars are set accordingly.

docker-compose -f docker-compose-slave.yml up

Renamed repos

Now, some functions doesnt' work anymore because of repos's name (f. e. git clone)

Update README

A list of minimum steps with some explanation won't hurt...

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.