Home›Java›Mods›Engrok
Engrok
ModsJava

Engrok

by magicquartz · on Modrinth

Automatic Ngrok tunnel opener for Dedicated Servers. Includes integration with GitHub for saving the Ngrok tunnel IP in a Gist for players to use with…

⬇ Download on Modrinth

Engrok Thumbnail

Engrok

Requires Cloth Config Requires Fabric API
Engrok is a server-side mod for dedicated servers which opens an Ngrok tunnel automatically once the server starts. There's an integration for GitHub Gists which uploads the Ngrok tunnel IP to a GitHub Gist (an existing one or a new one, depending on the mod's config - if there isn't an existing one, a new one will be created and saved to the config file automatically) so users can either retreive the IP from the Gist directly, or, using the mod Ever Changing on their clients to automatically retrieve it for them.

How to use

For the mod to create a config file you can modify you need to run the server with the mod loaded first. Then make sure to stop the server, then head to the folder "config" and open the file "engrok.json5" with a text editor. The config'll probably look like this at the beginning:

{
	"enabled": true,
	"ngrokAuthToken": "",
	"regionSelect": "AUTO",
	"gitHubAuthToken": "",
	"gistId": ""
}

Config File

In-game Commands

/engrok
This command essentially manipulates the config file. Leaving any of these commands without their parameters will empty the config from them and leave a blank "".

/tunnel
This command controls the Ngrok tunnel.

/gist
Displays data relating to the gist.

This mod is inspired by Ngrok LAN by Alujjdnd and a big chunk of this mod's code has been taken from Ngrok LAN. Please keep in mind this mod was made in about 12 hours so it may not work perfectly, but I did my best to patch everything, so please do not try to intentionally break things.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more