Minecraft plugin to spawn a remotely managed cloudflared instance
src/main | ||
.gitignore | ||
build.gradle | ||
gradlew | ||
gradlew.bat | ||
LICENSE | ||
README.md | ||
settings.gradle |
cloudflare-tunnels-plugin
Minecraft plugin to spawn a remotley managed cloudflared instance on your server.
Hasn't been well tested; use at your own risk.
Setup
- 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.yml
to desired values. - Set
installed: true
. - Restart your server.
- Enjoy! :3
Configuration
download.url
: link to a binary. use the VERSION placeholder to use the version in thedownload.variable
property.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 whatever reason.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 totrue
when the plugin is fully configured (the properties above are all set).
License
This software is free software, under the Apache License 2.0. Read the LICENSE
file for more information.