Welcome to the Hangar Open Beta. Please report any issue you encounter on GitHub!
Automatically download and run remotely-managed cloudflared in the background
Cloudflare Tunnels Plugin
Automatically download and run remotely-managed cloudflared in the background.
Important
Although this plugin hasn't been updated in a long time, and only advertises support for 1.21, it should work on any Minecraft version, because of how little it interacts with Minecraft.
I might add more features in the future, so if you have any requests (or found any bugs) please let me know on Codeberg! (link at the bottom)
Installation Instructions
- Install the plugin onto a paper server. Start the server to generate the config file, and stop it.
- Change all the values in the
plugins/cloudflare-tunnels-plugin/config.ymlto desired values. (see configuration section below) - Restart your server. Note that reloading is not tested and may cause issues.
- Enjoy! :3
Configuration
download.url: link to a binary. use theVERSIONplaceholder to use the version in thedownload.variableproperty. Always change if you are not using Linux amd64. See https://github.com/cloudflare/cloudflared/releases for some valid file names.download.version: version of cloudflared to download. defaults to the latest version.token: your cloudflared token. see https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/get-started/create-remote-tunnel/notify-ops-on-exit: notify server operators when cloudflared exists for any reason, and if it is being restarted.log-level: cloudflared log level. defaults toinfo.disable-tls: do not check for valid SSL certificates when using cloudflared.restart.auto-restart: automatically restart cloudflared if it exits.restart.interval-seconds: time, in seconds, to wait between automatic restarts.installed: set totruewhen the plugin is fully configured (the properties above are all set).
Project Info
The source code is available on Codeberg, and you may make bug reports, feature requests, and pull requests there. The source code is licenced under the Apache 2.0 license.
Pinned Versions
- R1.21
Pages
Source Code
Members
1Owner