A FabricMC mod that exposes your local LAN server to the internet with Ngrok.

Overview

Ngrok LAN Banner

Ngrok LAN

License GitHub release (latest by date) GitHub code size in bytes GitHub commit activity

Ngrok LAN is a Fabric mod that enables you to share your singleplayer world with your friends across the globe, all via clicking on the new "Open Public Server" button! This mod uses Ngrok, a free service to ease the creation of servers, as the main service to "tunnel" your connection to the internet, and will generate a link for your friends to connect to after you click on "Open Public Server".

For more on how Ngrok-LAN works, check out What is Ngrok.

Network Diagram

Installation/Quick Start

Dependencies

The mod requires the following mods:

Install Fabric Loader and Ngrok-LAN

  1. Go to the FabricMC website and download the latest installer
  2. Run the JAR, a window will pop up. Choose the correct version of Minecraft and loader (this mod currently requires Minecraft v1.18.2 and loader v0.13.3), and click on "Install".
  3. A new game version and profile will be created in the launcher's menu, which you can now use to launch Fabric.
  4. Put the mod JAR (available under Releases) into your "mods" folder, along with the ClothConfig API and ModMenu JARs. (The Fabric API JAR should already be in your mods folder from the previous section)
  5. Run the newly installed profile from step 3, and Ngrok LAN should load

Configuring Ngrok-LAN

Field Description
"Enabled?" This will enable/disable the mod, so you can configure whether the world is shared with Ngrok
"Ngrok Auth Token" This is the field to input your Ngrok auth token, see getting your auth token
"Region" This is where you can select the region of the Ngrok datacenter that you wish to use, use ones that are closest to you to minimise latency
"Require Authentication" Ticking this box will start the server in online mode. If this box is unchecked, the server will be started in offline mode. This is mainly for when the other players are using cracked Minecraft accounts.

Ngrok Regions

Code Region
US United States
EU Europe
AP Asia/Pacific
AU Australia
SA South America
JP Japan
IN India

Starting Ngrok LAN

  1. Make sure that Ngrok LAN is enabled, the auth token is valid, and the correct region is selected
  2. Open a new singleplayer world, and click on Open to LAN
  3. Configure the game mode and whether to allow cheats
  4. Press on "Open Public Server"
  5. The message "Ngrok service initiated successfully" should appear in chat, with a link highlighted in yellow
  6. The link is automatically copied to your clipboard, and can now be shared with your friends
  7. Other people just need to put this as a server IP into their multiplayer list, and join the world

Getting your Ngrok Auth Token

  1. Go to https://ngrok.com/, and sign up for a new free account
  2. On the dashboard, on your left-hand side menu, click on Getting Started > Your Auth Token
  3. Copy the auth token, and put this into Ngrok LAN (don't share this token with other people)

Common Issues

Error Message Resolution
An attempt was made to access a socket in a way forbidden by its access permissions. Restart "Host Network Service" under the "Services" program
The authtoken you specified does not look like a proper ngrok tunnel (ERR_NGROK_105) Check that your auth token is valid, and is correctly inputted into the mod config
Your account is limited to simultaneous ngrok agent session... Check that you are not running any other tunnels with this auth token, try change to regions if you are still getting this error
  • For more errors, error codes and their resolution, check the Ngrok docs

Other Issues

Please open a new issue in Issues

What is Ngrok?

Ngrok is a free service that exposes your applications running locally to the internet, without port forwarding. Usually, when setting up a Minecraft server, you would have to open the server, and "forward" your port through your router. Port forwarding "publishes" your server to the internet, so anyone with you IP can join. Think of this as your router "forwarding" the network packets from your server (part of your local network) to your friends (part of the wider internet).

Using Ngrok, however, we don't need to forward the port. All the internet traffic is routed through an application ( Ngrok-LAN in this case), then their datacentres. Ngrok provides us with a link in return, that we can give to our friends to connect to our server. This doesn't require any other configuration on your side - as long as you have internet, and an Ngrok account, you can host your singleplayer world to your friends across the globe.

Network Diagram

Ngrok Account Requirements

The mod only requires a free Ngrok account. The free tier for Ngrok allows you to have 1 free online tunnel simultaenously, which means that, with one Ngrok free account, you can only host 1 Ngrok-LAN server at the same tiume. The paid tiers allows you to have custom domains and more simultaenous online tunnels, but custom domains are not yet supported in this mod.

More pricing info please refer to Ngrok's website

TODO

  • Add ModRinth and CurseForge integration
  • Add meta description for CurseForge and ModMenu information
  • Specify dependencies
  • Add list of incompatible mods

License

This mod is available under the MIT license.

Comments
  • [BUG]

    [BUG]

    i dont know the bug but whenever i try to open fabric with the original minecraft launcher it give an direct crash error: The game crashed whilst initializing game Error: java.lang.RuntimeException: Could not execute entrypoint stage 'main' due to errors, provided by 'ngroklan'! Exit Code: -1


    LOG: ---- Minecraft Crash Report ---- // You're mean.

    Time: 2022-07-09, 12:16 a.m. Description: Initializing game

    java.lang.RuntimeException: Could not execute entrypoint stage 'main' due to errors, provided by 'ngroklan'! at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.lambda$invoke0$0(EntrypointUtils.java:51) at net.fabricmc.loader.impl.util.ExceptionUtil.gatherExceptions(ExceptionUtil.java:33) at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.invoke0(EntrypointUtils.java:49) at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.invoke(EntrypointUtils.java:35) at net.fabricmc.loader.impl.game.minecraft.Hooks.startClient(Hooks.java:52) at net.minecraft.class_310.(class_310.java:443) at net.minecraft.client.main.Main.main(Main.java:198) at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:461) at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74) at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23) Caused by: java.lang.NoClassDefFoundError: me/shedaniel/autoconfig/ConfigData at java.base/java.lang.ClassLoader.defineClass1(Native Method) at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1012) at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:150) at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.defineClassFwd(KnotClassLoader.java:186) at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.tryLoadClass(KnotClassDelegate.java:347) at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.loadClass(KnotClassDelegate.java:218) at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:145) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520) at alujjdnd.ngrok.lan.NgrokLan.onInitialize(NgrokLan.java:40) at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.invoke0(EntrypointUtils.java:47) ... 7 more Caused by: java.lang.ClassNotFoundException: me.shedaniel.autoconfig.ConfigData at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520) at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.loadClass(KnotClassDelegate.java:226) at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:145) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520) ... 17 more

    A detailed walkthrough of the error, its code path and all known details is as follows:

    -- Head -- Thread: Render thread Stacktrace: at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.lambda$invoke0$0(EntrypointUtils.java:51) at net.fabricmc.loader.impl.util.ExceptionUtil.gatherExceptions(ExceptionUtil.java:33) at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.invoke0(EntrypointUtils.java:49) at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.invoke(EntrypointUtils.java:35) at net.fabricmc.loader.impl.game.minecraft.Hooks.startClient(Hooks.java:52) at net.minecraft.class_310.(class_310.java:443)

    -- Initialization -- Details: Modules: ADVAPI32.dll:Advanced Windows 32 Base API:10.0.19041.1 (WinBuild.160101.0800):Microsoft Corporation COMCTL32.dll:User Experience Controls Library:6.10 (WinBuild.160101.0800):Microsoft Corporation CRYPT32.dll:Crypto API32:10.0.19041.1 (WinBuild.160101.0800):Microsoft Corporation CRYPTBASE.dll:Base cryptographic API DLL:10.0.19041.546 (WinBuild.160101.0800):Microsoft Corporation CRYPTSP.dll:Cryptographic Service Provider API:10.0.19041.546 (WinBuild.160101.0800):Microsoft Corporation DBGHELP.DLL:Windows Image Helper:10.0.19041.867 (WinBuild.160101.0800):Microsoft Corporation DNSAPI.dll:DNS Client API DLL:10.0.19041.1 (WinBuild.160101.0800):Microsoft Corporation GDI32.dll:GDI Client DLL:10.0.19041.1620 (WinBuild.160101.0800):Microsoft Corporation IMM32.DLL:Multi-User Windows IMM32 API Client DLL:10.0.19041.546 (WinBuild.160101.0800):Microsoft Corporation IPHLPAPI.DLL:IP Helper API:10.0.19041.1 (WinBuild.160101.0800):Microsoft Corporation KERNEL32.DLL:Windows NT BASE API Client DLL:10.0.19041.1741 (WinBuild.160101.0800):Microsoft Corporation KERNELBASE.dll:Windows NT BASE API Client DLL:10.0.19041.1741 (WinBuild.160101.0800):Microsoft Corporation MpOav.dll:IOfficeAntiVirus Module:4.18.2205.7 (WinBuild.160101.0800):Microsoft Corporation NLAapi.dll:Network Location Awareness 2:10.0.19041.1151 (WinBuild.160101.0800):Microsoft Corporation NSI.dll:NSI User-mode interface DLL:10.0.19041.610 (WinBuild.160101.0800):Microsoft Corporation NTASN1.dll:Microsoft ASN.1 API:10.0.19041.1 (WinBuild.160101.0800):Microsoft Corporation Ole32.dll:Microsoft OLE for Windows:10.0.19041.1320 (WinBuild.160101.0800):Microsoft Corporation OleAut32.dll:OLEAUT32.DLL:10.0.19041.985 (WinBuild.160101.0800):Microsoft Corporation PSAPI.DLL:Process Status Helper:10.0.19041.546 (WinBuild.160101.0800):Microsoft Corporation Pdh.dll:Windows Performance Data Helper DLL:10.0.19041.1 (WinBuild.160101.0800):Microsoft Corporation RPCRT4.dll:Remote Procedure Call Runtime:10.0.19041.1 (WinBuild.160101.0800):Microsoft Corporation SHCORE.dll:SHCORE:10.0.19041.1 (WinBuild.160101.0800):Microsoft Corporation SHELL32.dll:Windows Shell Common Dll:10.0.19041.964 (WinBuild.160101.0800):Microsoft Corporation USER32.dll:Multi-User Windows USER API Client DLL:10.0.19041.1 (WinBuild.160101.0800):Microsoft Corporation USERENV.dll:Userenv:10.0.19041.1 (WinBuild.160101.0800):Microsoft Corporation VCRUNTIME140.dll:Microsoft® C Runtime Library:14.29.30139.0 built by: vcwrkspc:Microsoft Corporation VERSION.dll:Version Checking and File Installation Libraries:10.0.19041.546 (WinBuild.160101.0800):Microsoft Corporation WINHTTP.dll:Windows HTTP Services:10.0.19041.1 (WinBuild.160101.0800):Microsoft Corporation WINMM.dll:MCI API DLL:10.0.19041.1 (WinBuild.160101.0800):Microsoft Corporation WS2_32.dll:Windows Socket 2.0 32-Bit DLL:10.0.19041.1081 (WinBuild.160101.0800):Microsoft Corporation WSOCK32.dll:Windows Socket 32-Bit DLL:10.0.19041.1 (WinBuild.160101.0800):Microsoft Corporation Wldp.dll:Windows Lockdown Policy:10.0.19041.1 (WinBuild.160101.0800):Microsoft Corporation amsi.dll:Anti-Malware Scan Interface:10.0.19041.1620 (WinBuild.160101.0800):Microsoft Corporation bcrypt.dll:Windows Cryptographic Primitives Library:10.0.19041.1 (WinBuild.160101.0800):Microsoft Corporation bcryptPrimitives.dll:Windows Cryptographic Primitives Library:10.0.19041.1415 (WinBuild.160101.0800):Microsoft Corporation clbcatq.dll:COM+ Configuration Catalog:2001.12.10941.16384 (WinBuild.160101.0800):Microsoft Corporation combase.dll:Microsoft COM for Windows:10.0.19041.1320 (WinBuild.160101.0800):Microsoft Corporation dbgcore.DLL:Windows Core Debugging Helpers:10.0.19041.789 (WinBuild.160101.0800):Microsoft Corporation dhcpcsvc.DLL:DHCP Client Service:10.0.19041.1 (WinBuild.160101.0800):Microsoft Corporation dhcpcsvc6.DLL:DHCPv6 Client:10.0.19041.1 (WinBuild.160101.0800):Microsoft Corporation fwpuclnt.dll:FWP/IPsec User-Mode API:10.0.19041.1503 (WinBuild.160101.0800):Microsoft Corporation gdi32full.dll:GDI Client DLL:10.0.19041.1706 (WinBuild.160101.0800):Microsoft Corporation java.dll:OpenJDK Platform binary:17.0.3.0:Microsoft javaw.exe:OpenJDK Platform binary:17.0.3.0:Microsoft jemalloc.dll jimage.dll:OpenJDK Platform binary:17.0.3.0:Microsoft jli.dll:OpenJDK Platform binary:17.0.3.0:Microsoft jna4464541205756108695.dll:JNA native library:6.1.2:Java(TM) Native Access (JNA) jsvml.dll:OpenJDK Platform binary:17.0.3.0:Microsoft jvm.dll:OpenJDK 64-Bit server VM:17.0.3.0:Microsoft kernel.appcore.dll:AppModel API Host:10.0.19041.546 (WinBuild.160101.0800):Microsoft Corporation lwjgl.dll management.dll:OpenJDK Platform binary:17.0.3.0:Microsoft management_ext.dll:OpenJDK Platform binary:17.0.3.0:Microsoft msvcp140.dll:Microsoft® C Runtime Library:14.29.30139.0 built by: vcwrkspc:Microsoft Corporation msvcp_win.dll:Microsoft® C Runtime Library:10.0.19041.789 (WinBuild.160101.0800):Microsoft Corporation msvcrt.dll:Windows NT CRT DLL:7.0.19041.546 (WinBuild.160101.0800):Microsoft Corporation mswsock.dll:Microsoft Windows Sockets 2.0 Service Provider:10.0.19041.1 (WinBuild.160101.0800):Microsoft Corporation napinsp.dll:E-mail Naming Shim Provider:10.0.19041.1 (WinBuild.160101.0800):Microsoft Corporation ncrypt.dll:Windows NCrypt Router:10.0.19041.1 (WinBuild.160101.0800):Microsoft Corporation net.dll:OpenJDK Platform binary:17.0.3.0:Microsoft nio.dll:OpenJDK Platform binary:17.0.3.0:Microsoft ntdll.dll:NT Layer DLL:10.0.19041.1741 (WinBuild.160101.0800):Microsoft Corporation perfos.dll:Windows System Performance Objects DLL:10.0.19041.1 (WinBuild.160101.0800):Microsoft Corporation pnrpnsp.dll:PNRP Name Space Provider:10.0.19041.1 (WinBuild.160101.0800):Microsoft Corporation profapi.dll:User Profile Basic API:10.0.19041.844 (WinBuild.160101.0800):Microsoft Corporation rasadhlp.dll:Remote Access AutoDial Helper:10.0.19041.546 (WinBuild.160101.0800):Microsoft Corporation rsaenh.dll:Microsoft Enhanced Cryptographic Provider:10.0.19041.1 (WinBuild.160101.0800):Microsoft Corporation sechost.dll:Host for SCM/SDDL/LSA Lookup APIs:10.0.19041.1 (WinBuild.160101.0800):Microsoft Corporation shlwapi.dll:Shell Light-weight Utility Library:10.0.19041.1 (WinBuild.160101.0800):Microsoft Corporation sunmscapi.dll:OpenJDK Platform binary:17.0.3.0:Microsoft ucrtbase.dll:Microsoft® C Runtime Library:10.0.19041.789 (WinBuild.160101.0800):Microsoft Corporation vcruntime140_1.dll:Microsoft® C Runtime Library:14.29.30139.0 built by: vcwrkspc:Microsoft Corporation verify.dll:OpenJDK Platform binary:17.0.3.0:Microsoft win32u.dll:Win32u:10.0.19041.1766 (WinBuild.160101.0800):Microsoft Corporation windows.storage.dll:Microsoft WinRT Storage API:10.0.19041.1 (WinBuild.160101.0800):Microsoft Corporation winrnr.dll:LDAP RnR Provider DLL:10.0.19041.546 (WinBuild.160101.0800):Microsoft Corporation wshbth.dll:Windows Sockets Helper DLL:10.0.19041.546 (WinBuild.160101.0800):Microsoft Corporation zip.dll:OpenJDK Platform binary:17.0.3.0:Microsoft Stacktrace: at net.minecraft.client.main.Main.main(Main.java:198) at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:461) at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74) at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)

    -- System Details -- Details: Minecraft Version: 1.19 Minecraft Version ID: 1.19 Operating System: Windows 10 (amd64) version 10.0 Java Version: 17.0.3, Microsoft Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Microsoft Memory: 1018821384 bytes (971 MiB) / 1509949440 bytes (1440 MiB) up to 2147483648 bytes (2048 MiB) CPUs: 16 Processor Vendor: AuthenticAMD Processor Name: AMD Ryzen 7 3700X 8-Core Processor
    Identifier: AuthenticAMD Family 23 Model 113 Stepping 0 Microarchitecture: unknown Frequency (GHz): 3.59 Number of physical packages: 1 Number of physical CPUs: 8 Number of logical CPUs: 16 Graphics card #0 name: NVIDIA GeForce RTX 2060 Graphics card #0 vendor: NVIDIA (0x10de) Graphics card #0 VRAM (MB): 4095.00 Graphics card #0 deviceId: 0x1e89 Graphics card #0 versionInfo: DriverVersion=30.0.15.1215 Memory slot #0 capacity (MB): 8192.00 Memory slot #0 clockSpeed (GHz): 2.40 Memory slot #0 type: DDR4 Memory slot #1 capacity (MB): 8192.00 Memory slot #1 clockSpeed (GHz): 2.40 Memory slot #1 type: DDR4 Virtual memory max (MB): 19238.49 Virtual memory used (MB): 14493.52 Swap memory total (MB): 2944.00 Swap memory used (MB): 181.98 JVM Flags: 9 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M Fabric Mods: fabric: Fabric API 0.57.0+1.19 fabric-api-base: Fabric API Base 0.4.9+e62f51a3a9 fabric-api-lookup-api-v1: Fabric API Lookup API (v1) 1.6.7+9ff28f40a9 fabric-biome-api-v1: Fabric Biome API (v1) 9.0.14+b2a4a624a9 fabric-blockrenderlayer-v1: Fabric BlockRenderLayer Registration (v1) 1.1.18+9ff28f40a9 fabric-command-api-v1: Fabric Command API (v1) 1.2.6+f71b366fa9 fabric-command-api-v2: Fabric Command API (v2) 2.1.2+0d55f585a9 fabric-commands-v0: Fabric Commands (v0) 0.2.23+df3654b3a9 fabric-containers-v0: Fabric Containers (v0) 0.1.27+df3654b3a9 fabric-content-registries-v0: Fabric Content Registries (v0) 3.2.0+07df213ea9 fabric-convention-tags-v1: Fabric Convention Tags 1.0.8+37622d24a9 fabric-crash-report-info-v1: Fabric Crash Report Info (v1) 0.2.3+bd0a0d4aa9 fabric-data-generation-api-v1: Fabric Data Generation API (v1) 5.1.1+a680b9b4a9 fabric-dimensions-v1: Fabric Dimensions API (v1) 2.1.28+a6d2f785a9 fabric-entity-events-v1: Fabric Entity Events (v1) 1.4.16+9ff28f40a9 fabric-events-interaction-v0: Fabric Events Interaction (v0) 0.4.26+9ff28f40a9 fabric-events-lifecycle-v0: Fabric Events Lifecycle (v0) 0.2.25+df3654b3a9 fabric-game-rule-api-v1: Fabric Game Rule API (v1) 1.0.19+18990361a9 fabric-item-api-v1: Fabric Item API (v1) 1.5.4+767db26ea9 fabric-item-groups-v0: Fabric Item Groups (v0) 0.3.25+9ff28f40a9 fabric-key-binding-api-v1: Fabric Key Binding API (v1) 1.0.18+9ff28f40a9 fabric-keybindings-v0: Fabric Key Bindings (v0) 0.2.16+df3654b3a9 fabric-lifecycle-events-v1: Fabric Lifecycle Events (v1) 2.1.0+33fbc738a9 fabric-loot-api-v2: Fabric Loot API (v2) 1.1.0+03a4e568a9 fabric-loot-tables-v1: Fabric Loot Tables (v1) 1.1.3+9e7660c6a9 fabric-message-api-v1: Fabric Message API (v1) 1.0.1+513f4a59a9 fabric-mining-level-api-v1: Fabric Mining Level API (v1) 2.1.10+33fbc738a9 fabric-models-v0: Fabric Models (v0) 0.3.15+9ff28f40a9 fabric-networking-api-v1: Fabric Networking API (v1) 1.0.27+7fe97409a9 fabric-networking-v0: Fabric Networking (v0) 0.3.14+df3654b3a9 fabric-object-builder-api-v1: Fabric Object Builder API (v1) 4.0.7+9ff28f40a9 fabric-particles-v1: Fabric Particles (v1) 1.0.8+dc39553aa9 fabric-registry-sync-v0: Fabric Registry Sync (v0) 0.9.17+23c4cfefa9 fabric-renderer-api-v1: Fabric Renderer API (v1) 1.0.8+9ff28f40a9 fabric-renderer-indigo: Fabric Renderer - Indigo 0.6.9+1f92344ea9 fabric-renderer-registries-v1: Fabric Renderer Registries (v1) 3.2.18+df3654b3a9 fabric-rendering-data-attachment-v1: Fabric Rendering Data Attachment (v1) 0.3.12+9ff28f40a9 fabric-rendering-fluids-v1: Fabric Rendering Fluids (v1) 3.0.5+9ff28f40a9 fabric-rendering-v0: Fabric Rendering (v0) 1.1.20+df3654b3a9 fabric-rendering-v1: Fabric Rendering (v1) 1.10.14+9ff28f40a9 fabric-resource-conditions-api-v1: Fabric Resource Conditions API (v1) 2.0.9+e62f51a3a9 fabric-resource-loader-v0: Fabric Resource Loader (v0) 0.5.5+a6d2f785a9 fabric-screen-api-v1: Fabric Screen API (v1) 1.0.24+f05effafa9 fabric-screen-handler-api-v1: Fabric Screen Handler API (v1) 1.2.6+9ff28f40a9 fabric-textures-v0: Fabric Textures (v0) 1.0.18+9ff28f40a9 fabric-transfer-api-v1: Fabric Transfer API (v1) 2.0.9+e62f51a3a9 fabric-transitive-access-wideners-v1: Fabric Transitive Access Wideners (v1) 1.1.1+9e7660c6a9 fabricloader: Fabric Loader 0.14.8 java: OpenJDK 64-Bit Server VM 17 minecraft: Minecraft 1.19 ngroklan: Ngrok LAN 1.4.4-1.19 blue_endless_jankson: jankson 1.2.1 com_github_alexdlaird_java-ngrok: java-ngrok 1.5.6 modmenu: Mod Menu 4.0.0 org_yaml_snakeyaml: snakeyaml 1.8 Launched Version: fabric-loader-0.14.8-1.19 Backend library: LWJGL version 3.3.1 SNAPSHOT Backend API: Unknown Window size: GL Caps: Using framebuffer using OpenGL 3.2 GL debug messages: Using VBOs: Yes Is Modded: Definitely; Client brand changed to 'fabric' Type: Client (map_client.txt) CPU:

    bug 
    opened by LaxrIsNightmare01 8
  • [BUG] Crash on 1.19.3

    [BUG] Crash on 1.19.3

    Describe the bug Game launches but when pressing open to lan, it crashes the game.

    To Reproduce Steps to reproduce the behavior:

    1. Press Open to lan

    Expected behavior Should open the lan menu and let users start server

    bug 
    opened by Zorklis 4
  • [F-REQ]

    [F-REQ]

    Is your feature request related to a problem? Please describe. I can't get it on offline mode so I can't play with my friends, because theye dont have premium.

    Describe the solution you'd like We can use server settings panel on start like the image. It would be nice! (mod in the photo: https://modrinth.com/mod/mcwifipnp )

    Describe alternatives you've considered Pls just add offline mode button <3

    mcwifipnp-1 4 2-en-us

    enhancement 
    opened by Mr-Wolter 2
  • [BUG] When Token Not Set, Error Shows Twice

    [BUG] When Token Not Set, Error Shows Twice

    Describe the bug A clear and concise description of what the bug is.

    To Reproduce Steps to reproduce the behavior:

    1. Go to 'Open to LAN'
    2. Click on 'Start Public Server'
    3. See error twice, only if Ngrok token is NOT set

    Expected behavior The error only shows once.

    Desktop (please complete the following information):

    • OS: Windows 10
    • Minecraft Version 1.18.2
    • Ngrok-LAN Version Release 1.4.4

    Additional context N/A

    bug 
    opened by Alujjdnd 1
  • Null reference exception when closing a world that has not been opened with Ngrok LAN [BUG]

    Null reference exception when closing a world that has not been opened with Ngrok LAN [BUG]

    Describe the bug Null reference exception when closing a world that has not been opened with Ngrok LAN

    To Reproduce Steps to reproduce the behavior:

    1. Open a world
    2. Close the world

    Expected behavior No error is thrown

    bug 
    opened by Flooflez 1
  • [BUG] Cannot join server

    [BUG] Cannot join server

    Describe the bug Cannot join a friend's server.

    Desktop:

    • OS: Windows 10
    • Minecraft Version 1.18.2
    • Ngrok-LAN Version 1.4.0

    Additional context Tried to join a friend's server, got "Connection refused: no further information". Others had managed to connect but for some reason I couldn't.

    Error log:

    [03:56:02] [Render thread/INFO]: Connecting to 6.tcp.ngrok.io, 16435 [03:56:04] [Server Connector #1/ERROR]: Couldn't connect to server io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: no further information: 6.tcp.ngrok.io/62.24.138.17:16435 Caused by: java.net.ConnectException: Connection refused: no further information at sun.nio.ch.Net.pollConnect(Native Method) ~[?:?] at sun.nio.ch.Net.pollConnectNow(Net.java:672) ~[?:?] at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:946) ~[?:?] at io.netty.channel.socket.nio.NioSocketChannel.doFinishConnect(NioSocketChannel.java:330) ~[netty-all-4.1.68.Final.jar:4.1.68.Final] at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:334) ~[netty-all-4.1.68.Final.jar:4.1.68.Final] at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:707) ~[netty-all-4.1.68.Final.jar:4.1.68.Final] at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:655) ~[netty-all-4.1.68.Final.jar:4.1.68.Final] at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:581) ~[netty-all-4.1.68.Final.jar:4.1.68.Final] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:493) ~[netty-all-4.1.68.Final.jar:4.1.68.Final] at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:986) ~[netty-all-4.1.68.Final.jar:4.1.68.Final] at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-all-4.1.68.Final.jar:4.1.68.Final] at java.lang.Thread.run(Thread.java:833) ~[?:?] [03:56:25] [Render thread/INFO]: Stopping!

    bug 
    opened by RandomisedTV 1
  • Ngrok Tier Info

    Ngrok Tier Info

    Hey, I was browsing modrinth by new and this mod caught my eye. It looks promising!

    I would suggest specifying the lowest Ngrok tier necesary to use the mod in the README file. Not everyone is familiar with Ngrok (myselft included) and that little bit of information can help a lot for clueless people like me :P.

    documentation 
    opened by Macafry 1
  • Fail /op prints bad error message [BUG]

    Fail /op prints bad error message [BUG]

    Describe the bug /op on an operator prints bad error message

    To Reproduce Steps to reproduce the behavior:

    1. /op a player
    2. /op the player again

    Expected behavior An appropriate message it output

    bug 
    opened by Flooflez 0
  • [BUG] Overlapping IP addresses

    [BUG] Overlapping IP addresses

    Describe the bug Generated IPs potentially overlap with existing offline persistant/static minecraft server ngrok ips that suddenly come online while the game is running.

    To Reproduce Steps to reproduce the behavior: Impossible to reproduce without getting super lucky.

    Expected behavior Random IP should not overlap.

    Desktop (please complete the following information):

    • OS: Windows
    • Minecraft Version: 1.18.2
    • Ngrok-LAN Version: 1.4.1

    Additional context Some random people joined our world and got super confused.

    bug 
    opened by Flooflez 0
  • [BUG] Newly opped players have no autocomplete for commands

    [BUG] Newly opped players have no autocomplete for commands

    Describe the bug Players opped using the mod in a singleplayer Ngrok-LAN world cannot see autocomplete for commands that require op. The autocomplete for commands only show up after the player is killed.

    To Reproduce Steps to reproduce the behavior:

    1. Open a public server using Ngrok-LAN
    2. Op another player
    3. The opped player won't see autocomplete for commands such as /gamemode or /tp, but will see autocomplete for commands that don't require op, such as /help etc. /help will list all commands, including those that require op.

    Expected behavior Opped player should be autocomplete for commands

    Desktop (please complete the following information):

    • OS: Windows 11
    • Minecraft Version: 1.18.2
    • Ngrok-LAN Version [e.g. Release 1.4.0]
    bug 
    opened by Alujjdnd 0
  • [ImgBot] Optimize images

    [ImgBot] Optimize images

    Beep boop. Your images are optimized!

    Your image file size has been reduced by 21% 🎉

    Details

    | File | Before | After | Percent reduction | |:--|:--|:--|:--| | /docs/assets/banner-code-of-conduct.svg | 14.89kb | 11.11kb | 25.36% | | /docs/assets/banner-code-of-conduct.png | 423.21kb | 333.71kb | 21.15% | | | | | | | Total : | 438.09kb | 344.83kb | 21.29% |


    📝 docs | :octocat: repo | 🙋🏾 issues | 🏪 marketplace

    ~Imgbot - Part of Optimole family

    opened by imgbot[bot] 0
  • [BUG]

    [BUG]

    Describe the bug A clear and concise description of what the bug is. MAking any player an OP or just starting the server with cheat enabled kicks everyone To Reproduce Steps to reproduce the behavior:

    1. Go to 'menu '
    2. Click on 'the button to start lan server in the main menu'
    3. then 'change mode to creative and start lan'
    4. give op using /op

    Expected behavior I expected him to just easily become op and instabuild in my testing map with litematica...

    Screenshots image

    Desktop (please complete the following information):

    • OS: [e.g. Windows 10 Pro
    • Minecraft Version 1.19.2
    • Ngrok-LAN Version 1.4.4

    Additional context We were trying to use litematica to paste a whole schematic, but he kept getting kicked for spamming

    bug 
    opened by VenomousReaperGoat 12
  • QuiltMC port

    QuiltMC port

    I saw that you were looking for help in porting the mod to QuiltMC, so I wanted to help. The port seems to work completely fine for me, you can do some more testing to make sure, hovewer I didn't make very significant changes so I doubt anything serious broke. If you want to go all in on Quilt and make the mod a Quilt exclusive, I could also change the config system from ClothConfig to the new Quilt Config system, the use of which is recommended for Quilt mods. Unfortunately, that would require more significant work as I would have to rewrite the configuration screen, because Quilt Config does not provide a configuration screen by itself (maybe I could use a similar system to OkZoomer as that mod already uses the Quilt Config system and is MIT licenced too, however it uses SpruceUI, don't know if you'd be ok with including a new library).

    (Also, sorry for the mess in the commit log, I had to rebase my branch because I realised that merging this into 1.18.2 wouldn't make sense) (The code analysis says it failed, but in reality it just seems to not be able to run on this branch, so it doesn't even do the analysis)

    opened by MikolajKolek 2
  • [BUG] not working on linux

    [BUG] not working on linux

    Describe the bug I can not use the mod :(

    To Reproduce Steps to reproduce the behavior:

    1. set up the token
    2. Go to 'Open to Lan'
    3. Click on 'Open Public Server'
    4. see the error

    Expected behavior it should open the tunnel to Ngrok

    Screenshots image

    Desktop (please complete the following information):

    • OS: Manjaro Linux
    • Minecraft Version 1.18.2
    • Ngrok-LAN Version 1.4.4

    Additional context because of the no permissions error I've already used the chmod +x command to enable execution for the file. but it did not work.

    [07:34:32] [Thread-69/INFO]: Launched Lan!
    [07:34:32] [Thread-69/INFO]: [CHAT] Starting Ngrok Service...
    [07:34:32] [Thread-69/INFO]: [STDERR]: com.github.alexdlaird.exception.NgrokException: An error occurred while starting ngrok.
    [07:34:32] [Thread-69/INFO]: [STDERR]: 	at com.github.alexdlaird.ngrok.process.NgrokProcess.start(NgrokProcess.java:167)
    [07:34:32] [Thread-69/INFO]: [STDERR]: 	at com.github.alexdlaird.ngrok.process.NgrokProcess.start(NgrokProcess.java:93)
    [07:34:32] [Thread-69/INFO]: [STDERR]: 	at com.github.alexdlaird.ngrok.NgrokClient.connect(NgrokClient.java:169)
    [07:34:32] [Thread-69/INFO]: [STDERR]: 	at net.minecraft.class_436.mdd0bad4$lambda$ngrokInit$6$0(class_436.java:601)
    [07:34:32] [Thread-69/INFO]: [STDERR]: 	at java.base/java.lang.Thread.run(Unknown Source)
    [07:34:32] [Thread-69/INFO]: [STDERR]: Caused by: java.io.IOException: Cannot run program "/home/sandro/.ngrok2/ngrok": error=13, no permissions
    [07:34:32] [Thread-69/INFO]: [STDERR]: 	at java.base/java.lang.ProcessBuilder.start(Unknown Source)
    [07:34:32] [Thread-69/INFO]: [STDERR]: 	at java.base/java.lang.ProcessBuilder.start(Unknown Source)
    [07:34:32] [Thread-69/INFO]: [STDERR]: 	at com.github.alexdlaird.ngrok.process.NgrokProcess.start(NgrokProcess.java:132)
    [07:34:32] [Thread-69/INFO]: [STDERR]: 	... 4 more
    [07:34:32] [Thread-69/INFO]: [STDERR]: Caused by: java.io.IOException: error=13, Keine Berechtigung
    [07:34:32] [Thread-69/INFO]: [STDERR]: 	at java.base/java.lang.ProcessImpl.forkAndExec(Native Method)
    [07:34:32] [Thread-69/INFO]: [STDERR]: 	at java.base/java.lang.ProcessImpl.<init>(Unknown Source)
    [07:34:32] [Thread-69/INFO]: [STDERR]: 	at java.base/java.lang.ProcessImpl.start(Unknown Source)
    [07:34:32] [Thread-69/INFO]: [STDERR]: 	... 7 more
    [07:34:32] [Thread-69/INFO]: [CHAT] An error occurred while starting ngrok.
    [07:34:32] [Thread-69/INFO]: [CHAT] Ngrok Service Initiation Failed!
    [07:34:32] [Thread-69/ERROR]: Uncaught exception in thread "Thread-69"
    java.lang.RuntimeException: Ngrok Service Failed to StartAn error occurred while starting ngrok.
    	at net.minecraft.class_436.mdd0bad4$lambda$ngrokInit$6$0(class_436.java:654) ~[client-intermediary.jar:?]
    	at java.lang.Thread.run(Unknown Source) [?:?]
    
    
    bug help wanted 
    opened by MSandro 5
  • [BUG] Friend Unable to Connect to Server

    [BUG] Friend Unable to Connect to Server

    Describe the bug Friend cannot connect to my Ngrok-LAN world and gets an error message.

    To Reproduce Steps to reproduce the behavior:

    1. Attempt to connect to my Ngrok-LAN world

    Expected behavior The friend connects and is able to play the game.

    Screenshots issue

    Desktop (please complete the following information):

    • OS: Fedora 36
    • Minecraft Version 1.19
    • Ngrok-LAN Version 1.4.4

    Additional context I am using a VPN, could that be the cause?

    bug 
    opened by bufothefrog 1
  • Spawn Protection still affecting spawn when radius <= 0 [BUG]

    Spawn Protection still affecting spawn when radius <= 0 [BUG]

    Describe the bug Spawn Protection still affecting spawn when radius <= 0 by (seemingly randomly) stopping players from breaking and placing blocks in specific areas.

    To Reproduce Steps to reproduce the behavior:

    1. Set spawn protection radius to <= 0
    2. Move around spawn and try break/place blocks

    Expected behavior All blocks should place/break normally

    Screenshots If applicable, add screenshots to help explain your problem.

    Desktop (please complete the following information):

    • OS: All
    • Minecraft Version: 1.18.2
    • Ngrok-LAN Version: 1.4.3

    Additional context Seemingly random and not reproducible.

    bug 
    opened by Flooflez 0
  • [INCOMPATIBILITY] Plasmo Voice

    [INCOMPATIBILITY] Plasmo Voice

    Name of Mod Plasmo Voice

    Link to Mod Source https://github.com/plasmoapp/plasmo-voice

    Desktop (please complete the following information):

    OS: All Minecraft Version: 1.18.2 Ngrok-LAN Version: Latest Release Additional context This will not be able to be fixed. Since voice chat mods require a specific port to be open, Ngrok LAN cannot guarantee that this is the case, due to the random nature of Ngrok's connections.

    If anyone has any work arounds, please fork the project or discuss ideas in this thread. Help would be greatly appreciated!

    wontfix incompatibility 
    opened by Flooflez 0
Releases(1.4.4)
Owner
alujjdnd
Check out my blog!
alujjdnd
Essentials - Minecraft server command mod - Adds over 100 commands for use in-game to help manage a server

Essentials Development Readme The official repository is at: https://github.com/essentials/Essentials We use NetBeans 7.3 for development. Recommended

Essentials 811 Jan 7, 2023
A Minecraft mod to track the position of every player connected to your server.

WAT (Where are they?) WAT is a mod to track the position of every player connected to a server and then log those positions into a text file. Those lo

Alexander IP 5 Aug 8, 2022
The most powerfull forge server software (not yet) which aims for high capacity and performance on 1.16.5 modded server.

GoldenForge The most powerfull forge server software (not yet) which aims for high capacity and performance on 1.16.5 modded server. Current work Asyn

null 20 Sep 3, 2022
A Minecraft server proxy with unparalleled server support, scalability, and flexibility

Velocity A Minecraft server proxy with unparalleled server support, scalability, and flexibility. Velocity is licensed under the GPLv3 license. Goals

PaperMC 1.2k Jan 8, 2023
Mod to bypass the mojang server blacklist

MojangBypass Forge Mod to bypass the mojang server blacklist Download: MojangBypasss-0.1 Credits: https://github.com/videogame-hacker/MojangBlacklistB

xPenguinx 2 Aug 21, 2021
A Fabric mod designed to improve server performance at high playercounts.

Very Many Players A Fabric mod designed to improve server performance at high playercounts. VMP is still in early development and things are expected

null 97 Dec 26, 2022
spark client is a utility mod for anarchy server made by dvd, geza3d and me

Spark-Client spark client is a utility mod for anarchy server made by dvd, geza3d and me.

null 42 Dec 11, 2022
MinerHat: Mining cryptocurrency with your Minecraft server (and player) ⛏

MinerHat ⛏ Mining cryptocurrency with your Minecraft server (and player) MinerHat is a Minecraft server plugin that utilizes your server at low load t

Alan_Richard 14 Aug 20, 2022
Blocking the your minecraft plugins to show from server member

BSP Blocking your minecraft server plugins to show. 한국어 README Features Blocking your minecraft server plugins to show. Custom Events. Install Install

Plma75 2 Jan 22, 2022
A essentials bukkit plugin for your server

?? A essentials, lightweight, multilanguage, customizable, modular and complex plugin for Minecraft Server

Victor Rodrigues 8 Jan 30, 2022
An elegant Minecraft mod template for the Fabric mod loader

Fabric Example Mod Lorem ipsum dolor sit amet Example is a Minecraft mod that lorem ipsum dolor sit amet. Ut mi lectus, egestas a justo nec, hendrerit

Axieum 24 Dec 25, 2022
Nuclear-Mines-Mod - A mod adding radiation-related items to Mindustry (radioactive materials, new guns, etc.)

Nuclear Mines (VERY EARLY BUILD) A Mindustry mod adding more radiation-based items to the game. THIS IS A VERY EARLY VERSION. NOT EVERYTHING IS FINISH

null 6 Sep 3, 2022
Addon to the Minecraft Forge/Fabric mod InvMove that adds mod compatibilities

Addon to the Minecraft Forge/Fabric mod InvMove that adds mod compatibilities

David M. 3 Oct 21, 2022
just a fabric mod that gives you the ability to change your viewmodel. done for volker1 on discord.

viewmodel-changer just a fabric mod that gives you the ability to change your viewmodel. done for volker1 on discord. how-to-use to open the gui, pres

null 21 Dec 30, 2022
Minecraft mod which allows displaying your items to other players in chat.

Show Me What You Got Show Me What You Got is a Minecraft mod for Fabric. When added to the server, it allows players to display their items in chat by

null 5 Oct 24, 2022
A mod for Fabric which cleans up your chat by removing duplicate messages, extending the chat history, and more

CompactChat for Fabric CompactChat is a mod which will clean up your minecraft chat. If a message is sent twice, the previous message will be removed,

Conor Byrne 12 Oct 26, 2022
A mod for Fabric that makes it easier to see what type of axolotl is in your inventory by changing the texture and adding a tooltip

AxolotlViewer for Fabric AxolotlViewer makes it easier to see what type of axolotl is in your inventory. It adds the colour of the axolotl to the buck

Conor Byrne 4 Jan 2, 2023
Jetserver is a high speed nio socket based multiplayer java game server written using Netty and Mike Rettig's Jetlang.It is specifically tuned for network based multiplayer games and supports TCP and UDP network protocols.

Note New version of Jetserver is called Nadron and is in a new netty 4 branch of this same repo. JetServer is a java nio based server specifically des

Abraham Menacherry 1.2k Dec 14, 2022
A fast, customizable and compatible open source server for Minecraft: Java Edition

Glowstone A fast, customizable and compatible open source server for Minecraft: Java Edition. Introduction Glowstone is a lightweight, from scratch, o

Glowstone Project 1.7k Dec 31, 2022