UPNP for dedicated servers


Automatically forwards ports for your dedicated minecraft server with UPNP. Opens ports when the server starts, and closes them when it stops. Useful if you want to quickly set up a server for your friends without the hassle of third party hosting or manually forwarding ports.



The forwarded ports are configurable in the config file at config/upnp.yaml.

Use the /upnp command to see in chat which ports are mapped and the IP players need to connect to the server with.


Both UDP and TCP ports can be opened. By default only TCP port 25565 will be opened.

If you are using mods such as Simple Voice Chat, you must add the relevant ports to the config.


Requires Fabric API