Code Monkey home page Code Monkey logo

minecraft's Introduction

Playbooks for setup and teardown Minecraft server on Digital Ocean.

Run

  1. Login to DO administration panel and run droplet:

    • Ubuntu 14.04.3 x64
    • $10/m0 (1 GB/1 CPU)
    • Amsterdam 3
    • Add your SSH key
    • Hostname: minecraft
    • Create!
  2. Find out IP address of newly created Droplet and create file do/hosts in form like:

     aaa.bbb.ccc.ddd
    
     [minecraft]
     aaa.bbb.ccc.ddd
    
  3. Bootstrap Minecraft server and run it:

     ansible-playbook minecraft_do.yml -i do/hosts
    

    During this step your last saved Minecraft data will be copied to remote server. If you don't want it, run playbook like:

     ansible-playbook minecraft_do.yml -i do/hosts --skip-tags=data
    

Stop

After game is over, archive data dir and stop Minecraft:

ansible-playbook minecraft_do_stop.yml -i do/hosts

Don't forget to destroy Droplet on DO admin panel!

TODO

  • schovat ansible do docker kontose (protoze zavisim na 1.7.4 verzi a ta za par dni nebude)
  • mozna to upgradnout i na 2.0 verzi ansiblu...

minecraft's People

Contributors

msgre avatar

Watchers

 avatar

minecraft's Issues

HN

Ahoy,

to se mi líbí, jak se posunují články na hacker news a lidé hvězdičkují stejná repa :)))
Jo, jinak, nemáme spigot (minecraft) server na DO, ale provozujeme doma, pokud by jsi chtěl, tady je náš setup: https://github.com/vanous/random_scripts/tree/master/spigot , kdybyste se chtěli někdy připojit, dej vědět, pošlu adresu (viz ngrok ve scriptech) a přidám na whitelist, ale poslední dobou tam moc nebývám, spíše synátor.. ahoy!
P.

mapa
fill size

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.