跳到正文

ServerFlared

作者:GerGerApex1

Allows you to expose your Minecraft server using automatic Cloudflare Tunnel setup.

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

ServerFlared

ServerFlared is a mod that automatically creates and manages a Cloudflare Tunnel for your Minecraft server, allowing players to connect without exposing your public IP address or manually configuring port forwarding.

Requirements

  • A Cloudflare account
  • A domain name connected to Cloudflare
  • (For client/players only) cloudflared program (_this mod does the work of automatic managing cloudflared in your server_)

Installation

  • Install the mod into mods folder
  • Launch Minecraft server
  • Configure config.yml and change tunnelName and hostName
  • Relaunch server to update configuration

Features

  • Automatic Cloudflare Tunnel setup – Creates and manages a Cloudflare Tunnel with minimal configuration by authenticating your Cloudflare account.
  • Automatic cloudflared download – Downloads the required cloudflared binary automatically, reducing manual installation steps. (It automatically works with existing cloudflared installation in your machine!)
  • Seamless tunnel configuration – Generates and maintains the necessary tunnel configuration, so you only need to specify their tunnel and hostname.
  • Integrated tunnel lifecycle – Starts and stops the Cloudflare Tunnel alongside the Minecraft server, ensuring the tunnel is always available while the server is running.
  • Commands – Provides commands to manage the tunnel, including starting, stopping, and checking the status of the tunnel. And a command for clients to connect to the server through the tunnel. (NEW)
  • Secure remote access – Allows players to connect through a Cloudflare-managed hostname instead of exposing the server’s IP address. Ideal for NAT-restricted networks – Makes hosting possible even when traditional port forwarding is unavailable or impractical. Also works best small servers (e.g. with your friends)

License

GPL-3.0

References

https://developers.cloudflare.com/cloudflare-one/access-controls/applications/non-http/cloudflared-authentication/arbitrary-tcp/#connect-from-a-client-machine

https://developers.cloudflare.com/cloudflare-one/networks/connectors/cloudflare-tunnel/

常见问题

ServerFlared 支持哪些 Minecraft 版本?

ServerFlared 支持 Minecraft Java 版 1.8.8–26.3,共 67 个版本,可用的加载器:Bukkit / Fabric / Forge / NeoForge / Paper / Purpur / Spigot。下载时注意选择和你游戏版本一致的文件。

ServerFlared 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Bukkit / Fabric / Forge / NeoForge / Paper / Purpur / Spigot,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。

评论

登录后评论和评分