Описание
## Playit.gg minecraft mod
**Disclaimer**: This is an unofficial mod and is not affiliated with [Playit.gg](https://playit.gg).
This mod works on the client (public singleplayer worlds) and on the server
This mod allows you to make your modded server/singleplayer world public without having to port forward. It utilizes the [Playit.gg](https://playit.gg) network to tunnel your server traffic through a data center, hiding your own IP and eliminating the need for port-forwarding (similar to ngrok). Once installed, the mod will provide instructions through the chat/server console. If you don't want to create a Playit.gg account, you can use a guest account.
After setting up the mod, every time you start your server, it will be accessible to anyone using the tunnel address provided by Playit.gg.
## Commands
- ``/playit``
- ``open-lan`` make your singleplayer world public
- ``agent``
- ``status`` get the current status of your playit connection
- ``restart`` restart the playit connection-manager
- ``reset`` unbind the mod from your playit.gg account
- ``shutdown`` stop the connection to playit (existing connections will stay open until closed)
- ``set-secret`` manually set the secret of the playit mod
- ``prop``
- ``set `` set a config option
- ``get `` get a config option
- ``tunnel get-address`` get the address of the mods playit tunnel (the address your players use to connect with)
- ``account guest-login-link`` generate a link to connect the mod to a playit.gg guest account
**config options**
``mc-timeout-secs`` timeout in seconds for the tunnel channel (default 30s)
``autostart`` whether playit should automatically start with your server or singleplayer world (default server: true, client: false)
### Other Links
* [Official Playit Minecraft Plugin](https://www.spigotmc.org/resources/playit-gg.105566/)
* [Official Playit Client](https://playit.gg/download/windows) (can be used for any game)
* [Ngrok LAN mod](https://www.curseforge.com/minecraft/mc-mods/ngrok-lan) (works the same way as this mod, but only for LAN worlds using the Ngrok for tunneling)