Giter VIP home page Giter VIP logo

ansible-minecraft's Introduction

ansible-minecraft

This is a fork from the https://github.com/devops-coop/ansible-minecraft/ Project, thanks for the basement!!!

molecule e2e Install from Ansible Galaxy Chat on gitter.im Documentation Status

This role installs Minecraft or Spigot and configures it to run under systemd.

Features

  • supports vanilla Minecraft and Spigot
  • supports Debian >9, Ubuntu 14.04, Ubuntu 16.04, Ubuntu 18.04, CentOS 7 & 8, Fedora 29 - 34
  • safely stops the server using stop when running under systemd
  • uses Docker and Molecule to run integration tests
  • manages user ACLs
  • manages Bukkit/Spigot Plugins
  • manages server.properties
  • hooks: include arbitrary tasks at specific stages during execution

Out of Role Scope

All of this is needet but not a part of this role!, you will find examples at nolte/minecraft-infrastructure.

Usage

By default this role will be install a Vanilla Minecraft Server.

Install

   ansible-galaxy install nolte.minecraft

or add this to your requirements.yml

- name: nolte.minecraft

and execute ansible-galaxy install -r requirements.yml

Use

  - hosts: minecraft
    roles:
       - { role: nolte.minecraft, minecraft_whitelist: ["jeb_", "dinnerbone"]}

Requirements

  • Python 3.x on the Ansible control machine to generate user ACLs
  • Ansible 2.7.0+ on the control machine to fetch the Minecraft version
  • Existing Compatible Java Runtime for start and install Minecraft on target System.

Contributing

The best way to contribute is to use this role to deploy your own Minecraft server! We really appreciate bug reports from the wild.

If you'd like to help with the project itself, here are some other ways you can contribute:

  • Add support for additional servers like Cuberite.
  • Write integration tests for Minecraft- or Spigot-specific configuration.
  • Share useful hooks.
  • Fixing Typos ...

License

Apache 2.0

Disclaimer

To execute an automatic installation you must accept the Minecraft EULA. Be aware that by using this role, you implicitly accept the same EULA. You can handle the acception by using a Environment Property like: export mc_accept_eula=true the default is false for disagree.

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.