• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

jacobwgillespie/heroku-minecraft: run a Minecraft server on Heroku

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

jacobwgillespie/heroku-minecraft

开源软件地址(OpenSource Url):

https://github.com/jacobwgillespie/heroku-minecraft

开源编程语言(OpenSource Language):

CoffeeScript 68.3%

开源软件介绍(OpenSource Introduction):

Heroku Minecraft

Minecraft finds a way.

This is a very alpha-quality Heroku app that runs a Minecraft server on a single dyno.

Limitations

Since Heroku is a bit of a weird platform, there are a couple of caveats to running a Minecraft server on it.

  • Since Heroku no longer supports TCP routing, we're proxying the connection through WebSockets. This means each client will have to run a little tool to turn the WebSocket connection back into a regular TCP Minecraft connection. This is detailed below in the "Client" section.

  • Heroku has no persistant storage, so you will have to have an Amazon AWS account and an Amazon S3 bucket ready to store your world data. Your world data will be automatically synced to and from S3 in the background.

Server Setup

  1. Clone this repository using git (or, if it's easier, GitHub for Mac, or GitHub for Windows).

  2. Create a new Heroku app with a custom buildpack.

    $ heroku create my-app-name --buildpack https://github.com/ddollar/heroku-buildpack-multi.git
  3. Choose your Minecraft server version (default 1.8.3).

    $ heroku config:add MC_VERSION=1.8.3
  4. Add your Amazon AWS credentials and S3 bucket name to the Heroku configuration. This enables data persistence. Otherwise, your server will be wiped each time it is restarted.

    $ heroku config:add AWS_KEY=xxxxxxx AWS_SECRET=yyyyyyyyyyyyyyyyy S3_BUCKET=my-bucket-name
  5. Push the app to Heroku.

    $ git push heroku master

Client Setup

Install https://github.com/leonardosantos/hmwtc, then:

$ hmwtc my-app-name.herokuapp.com

Credits

Original implementation by Jacob Gillespie.

See the contributors list - many awesome people have contributed to make heroku-minecraft what it is today.




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap