Giter Club home page Giter Club logo

heroku-buildpack-minecraft's Introduction

Heroku Minecraft Buildpack

This is a Heroku Buildpack for running a Minecraft server in a dyno.

For an actual deployment example, please look into my deployment repository.

Env Variables

DropBox

The Heroku filesystem is ephemeral, which means files written to the file system will be destroyed when the server is restarted.

You will have to set a DropBox auth token to synchronize your world information with:

$ heroku config:set DROPBOX_API_TOKEN="MY_DROPBOX_TOKEN"

ngrok

You need to set a ngrok auth token to open secure tunnel to your minecrfat server:

$ heroku config:set NGROK_API_TOKEN="MY_NGROK_TOKEN"

You can customize ngrok by setting the NGROK_OPTS config variable. For example:

$ heroku config:set NGROK_OPTS="-subdomain=my-subdomain"

Minecraft

You can choose the Minecraft version by setting the MC_VERSION like so:

$ heroku config:set MC_VERSION="1.10.2"

You can also configure the server properties by creating a server.properties file in your project and adding it to Git. This is how you would set things like Creative mode and Hardcore difficulty. The various options available are described on the Minecraft Wiki.

You can add files such as banned-players.json, banned-ips.json, ops.json, whitelist.json to your Git repository and the Minecraft server will pick them up.

heroku-buildpack-minecraft's People

Contributors

jkutner avatar chengsong avatar fortmea 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.