Use the Simple Voice Chat Mod without Port Forwarding

Use the playit.gg service to host both ports at once

Home Games Software In Your Browser Animation Tutorials Miscellaneous
The Simple Voice Chat Mod for fabric creates an easy-to-use proximity voice chat system for Minecraft servers. With it, when a player speaks into their microphone, their voice appears to come from their in-game avatar, and fades with distance. For it to work, it requires opening an additional port for the voice system, meaning that many secure tunneling services like ngrok won't work with it for those who are unable to port forward.

Playit.gg is a new (at time of writing) service for securely hosting web servers behind a firewall without port forwarding. It's like ngrok, but it is focused on gaming and so offers both better latency and unique features, like the ability to have multiple tunnels open at once.

Below are the steps for using the Simple Voice Chat mod with playit.gg. If you already have a server with the mod installed, you can skip to step 3.
  1. Install the Fabric Loader

    Download the JAR from fabricmc.net/use/installer, then launch it and move to the Server tab. Then set the dialog how you want it. You do not need to download the server jar yet, Fabric can download it for you.

  2. Install the Simple Voice Chat Mod

    Download the one that matches your Minecraft version at curseforge.com/minecraft/mc-mods/simple-voice-chat/files. Then go to your server directory and place the jar file in the mods folder. If the folder does not exist, create it.
    Your server folder should now look like this:
  3. Download and launch the playit.gg program

    Download the binary for your platform at playit.gg/download. Place it inside your server folder.

    The playit.gg binary is a command-line tool. Use your system's terminal to add executable permissions if necessary, then run it from your terminal.

    It will also open a browser window if you do not already have an account logged in. If a browser does not open, go to playit.gg/account/tunnels in your browser.
  4. Create the Primary Playit Tunnel

    The first tunnel is easy to create. Just press the Minecraft Java button and follow the on-screen instructions.

    You'll then see the tunnel appear under Your Tunnels.

  5. Create the Secondary Playit Tunnel

    The second tunnel requires some more configuration. Select the Custom option and type any number for the port range, and set protocol to udp. Leave the Port blank.

    You should then see both tunnels listed under Your Tunnels.

    After this, select the custom UDP tunnel and scroll to the bottom. Copy the Port from the table.
  6. Launch the Minecraft server
    Create a script to launch the game. An example command to run is java -Xmx4G -jar fabric-server-launch.jar nogui Make sure to agree to the EULA if prompted. Then wait for the server to finish generating a world, after which run the stop command in the console and wait for it to shut down. This will create the necessary files for the next step.
    Your filesystem should now look like this:
  7. Configure the Voice Server
    Since the Voice Chat Mod is not yet aware of playit.gg, joining the playit address for the Minecraft server at this stage will not give functioning voice chat.
    Open the config/voicechat/voicechat-server.properties and edit two properties:
    • voice_host - set this to the tunnel address of your Custom UDP Playit tunnel, without the port.
    • port - set this to the port of your playit tunnel.
  8. Play!

    In order for this to work, you must have the minecraft server and the playit executable running at the same time. Open two terminals and execute your server's startup script and the playit executable. You should see the line [VoiceChatServerThread/INFO]: Server started at port 38429, where the port matches the one you set in the properties file. Then, paste the tunnel address of the Minecraft Java tunnel into Minecraft's Direct Connect box.


    If all goes well, you should be able to press the v key on your keyboard to configure in-game voice settings!
  9. Happy crafting!