Skip to content

Kahzerx/kcp-mod

Repository files navigation

This mod downloads, runs & wraps kcptun.

Server

The mod will run on launch

On first launch a kcp.conf will get created on config/kcp.conf with this data.

enabled=true
port=25577

Set enabled to true and configure whatever UDP port you want to use as KCP receiver.


Client

On multiplayer add/edit server you will see an extra button that works as a toggle. You can switch between TCP(minecraft default) and KCP:

img.png

Specify kcp server host & port.

Warning

Server ping is not done yet! so kcp servers wont ping nor load image/motd on multiplayer list.


Kcp auto configures on no encryption & fast3, further customization is on TODO...

Java runs the KCP service as a process, it could happen that a kcp process gets stuck orphan if minecraft dies(depends on how the os handles it). If that happens you can either reboot or manually kill the service, it runs on no persistence at all.

To prevent port collision client side since user cant select on which port kcp client service listener gets setup, a random port is selected on each multiplayer connection for it.

About

Mod to wrap KCPtun

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages