Skip to content
This repository was archived by the owner on Apr 6, 2022. It is now read-only.

My customized minecraft server buildpack

License

Notifications You must be signed in to change notification settings

ker0olos/heroku-buildpack-minecraft

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 

Repository files navigation

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 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.

About

My customized minecraft server buildpack

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%