Disclaimer: This is an unofficial mod and is not affiliated with Playit.gg.
This mod will make your server, or singleplayer world public using the Playit.gg network, without having to port forward.
Download the latest release from here (fabric version requires Fabric API)
Put the downloaded jar file into your mods folder
Follow the instructions in your chat/server console
(If you are in a singleplayer world run /playit open-lan
)
You will get a static IP and Port, that anyone can use to connect to your server
/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 <option> <value>
set a config option
get <option> <value>
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)