From 6c7cc0b6ff1ad14b1013a211e61e38dc40983985 Mon Sep 17 00:00:00 2001 From: Mgazul Date: Mon, 6 Nov 2023 12:56:00 +0800 Subject: [PATCH] Create velocity.md --- tutorials/velocity.md | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 tutorials/velocity.md diff --git a/tutorials/velocity.md b/tutorials/velocity.md new file mode 100644 index 0000000..0ca435b --- /dev/null +++ b/tutorials/velocity.md @@ -0,0 +1,37 @@ +## Velocity Support (1.20.2+) +--- + +### How to use Velocity with Mohist ? + +* GeyserMC can't work with Mohist if client side mods are used, since Minecraft Windows 10 edition can't use forge and mods. + +-> __mohist-config/mohist.yml__ +``` +velocity: + enabled: true +forge: + ignoreConnectionType: true // This is temporary and may be removed in a future version +``` +-> __server.properties__ +``` +online-mode=false //if you still want a premium only server you can set it inside of the waterfall's config file later +``` +If you are trying to setup a proxy in local network you also need to change the "server-port" value in __server.properties__ -> set "server-port=25566" for example +(If you have more than one server, *you should have more than one server if you are running a proxy*, don't set the same value here for every servers.) + +* Now, create a new folder for your Velocity proxy, and launch it using this java command: + +``` +java -jar .jar +``` +* Then after the proxy is fully started, type "**end**" in the console to close your proxy. + +* Now you need to change the __velocity.toml__ inside of your Velocity folder: + +-> __velocity.toml__ +``` +It is recommended to read the official documentation of velocity: https://docs.papermc.io/velocity/player-information-forwarding#configuring-modern-forwarding-for-paper +``` + + +* Now you can start your proxy and all your Mohist servers!