Ambassador
This is a Velocity plugin that makes it possible to host a modern Forge server behind a Velocity proxy!
Unlike other solutions, this plugin does not require any special modifications to the backend server nor the client. (The player doesn't need to do anything)
Only for 1.13-1.20.1
Velocity has now added built-in support for newer mc versions and therefore don't need Ambassador. You might still need PCF mod on the server-side, for more info please visit: https://modrinth.com/mod/proxy-compatible-forge
How to get started:
- Download and install this plugin to your proxy.
- After starting the server, configure the plugin it to your liking using the config file found in the folder "Ambassador".
- If you want to use player-information forwarding you can use any of these mods on the 1.13+ forge server:
-
https://modrinth.com/mod/proxy-compatible-forge (Modern forwarding) (Magma 1.18.2 and higher includes this)
-
https://github.com/caunt/BungeeForge (Legacy forwarding)
Features
- Server switching without any client side mod when the servers are similar. (Mods must match)
- ServerRedirect support for server switching.
- Server switching using Client Reset Packet Mod for instant server switching:
1.16.5: https://github.com/Just-Chaldea/Forge-Client-Reset-Packet
1.18.2+: https://www.curseforge.com/minecraft/mc-mods/forge-client-reset-packet-forward
Stuck on "Negotiating":
This is an issue with Client Reset Packet Mod being partly incompatible with certain mods on the client. Please remove incompatible mods on the client if you have this issue. (Yes, this also includes client-side only mods.)
Discord
All Versions
+ Add Version- Fixed an issue that was causing user disconnects. (Fix/1.20.6 closes #61 by @p0t4t0sandwich in https://github.com/adde0109/Ambassador/pull/67)
- Now works with Velocity 330 and higher.
- Fixed 1.18.2 not being able to connect.
- Fixed compatibility with the mod Zeta.
- Rewrote Forge encoder/decoder.
- Now works with Velocity 330 and higher.
- Does not kick when switching servers anymore.
- Able to switch servers without any client side mod when the servers are similar. (Mods must match)
- Switch from Forge -> Vanilla without any reset.
A lot of the code has been rewritten so here are more technical changes:
- New config version (2.0).
- Debug messages.
- Registry checks in order to guarantee a stable switch.
- Now transcodes Forge packets and Silent gear packets.
- Compatibility with Velocity build 266 and higher. No longer compatible with older Velocity builds.
- Fixed BungeeGuard support
- ServerRedirect works when connected to vanilla
- Fixed compatibility with velocity-tools (#35)
- Updated ServerRedirect reset mechanism to support newer Velocity versions without crashing.
- Rewritten reset-mechanism in order to be more stable when using Client Reset Mod and not make the player stuck in "Negotiating" screen (#28).
- Removed "reset-timeout" in the config because of the new mechanism.
- Added support for ServerRedirect mod for auto reconnecting when the client doesn't have Client Reset Mod but instead have ServerRedirect.
- Changed how Ambassador override and initialize Velocity's ChannelInitializers in order to improve plugin compatibility.
- Fixed new issues that arose after fixing incompatibility issue with plugins (#15).
- Replaced custom disconnect message with the actual disconnect message from the backend server.
- Removed unnecessary reset when going from Vanilla server to a Vanilla server.
- Fixed incompatibility issue with plugins that sends messages on log in.
- Changed possible max reset-timout limit in the config file to be < read-timeout instead of < connection-timeout from the Velocity.toml file.
- Fixed Available commands packet error. (This fix also requires Proxy Compatible Forge (PCF) 1.1.0 or higher or you will not see any of the backend server's commands.)
- Fixed an issue related to players disappearing from player list after switching servers.