跳到正文

Minecraft Server on Orange Cloud

新收录活跃
sshkeda/minecraft-server-on-orange-cloud

完全在 Cloudflare 上运行 Paper 版 Minecraft Java 服务器,使用 Spectrum、Workers、Durable Objects、Containers 和 R2——无人在线时自动休眠。

在 GitHub 查看
星标
50
Fork
2
关注
50
未关闭 Issue
0

该介绍目前仅提供英文版本。

Overview

Put your Minecraft server behind the orange cloud: no VPS to patch and no ports to forward. This project runs a Paper server for Minecraft Java entirely on Cloudflare. You deploy it into your own Cloudflare account with one command, and players join at a hostname on your domain.

How it works

  1. Spectrum accepts the player’s TCP connection on port 25565 and hands it to a Worker.
  2. The Worker passes the connection to a Durable Object, which starts the Paper container and relays bytes to it.
  3. After 10 minutes with nobody online, the server saves the world and sleeps. The next player wakes it in about 30 seconds.
  4. While awake, the container saves the world to R2 about every 5 minutes, and each wake restores it before Paper starts.

Cost

It isn’t free: the README puts the fixed cost at $25–30 a month, before usage.

按共同分类和标签排序的同类开源项目。

全部 DevOps 项目 →