InvSeparate
No reviews yet
InvSeparate is an open-source routing solution for Minecraft networks that host multiple modpacks behind a single proxy entrypoint.
Adds new methods of transportation for players.
Neoforge is a fork of the Minecraft Forge available for versions 1.20.1+ of Minecraft. Many Forge mods are compatible with Neoforge and vice versa.
Community voices
Reviews
Click once to include, again to exclude, again to clear
No reviews yet. Be the first to review this project!
Get it on
Available Platforms
Compatibility
Supported Environments
About
Project Details
For authors
Embed Badge
If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.
Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.
Identifiers
Platform IDs
About
Description
InvSeparate
InvSeparate is an open-source routing solution for Minecraft networks that host multiple modpacks behind a single proxy entrypoint.
It is made of two parts:
- a
Velocityplugin that decides which login server and destination backend a player should use - a client mod that appends a pack identifier to the Minecraft handshake before backend selection happens
This allows one Velocity proxy to serve vanilla clients, multiple modpack clients, and different login flows at the same time.
Features
- Identifier-based initial routing
- Two-stage routing from login server to final backend
- Default fallback for clients without the mod or with unknown identifiers
- Developed against
Velocity 3.4.xwith a target compatibility range throughVelocity 4.x - Monorepo layout for shared protocol code, proxy plugin, and multiple loader implementations
How It Works
- The client mod reads the configured
identifier - The mod writes
<hostname>\0<identifier>into the handshake host field - The Velocity plugin reads the identifier from the raw handshake hostname
- The plugin selects the configured login server and post-login target
- If no identifier is present, normal default routing is used
Important: Velocity's getVirtualHost() discards any data after the null byte. The proxy plugin must therefore read the raw virtual host value to recover the identifier.
Repository Layout
common: shared protocol constants and helpersvelocity: Velocity plugin implementationneoforged: NeoForge client modfabric: Fabric client modforge: reserved Forge modulebungeecord: reserved BungeeCord module
Example Configuration
Velocity config at plugins/invseparate/config.yml:
default-server: "login"
default-post-login-server: "lobby"
post-login-delay-seconds: 5
identifiers:
endlessmc-hng:
login-server: "hng_login"
post-login-server: "hng"
Client config:
identifier = "endlessmc-hng"
Build Notes
Common and Velocity
The repository currently defaults to Gradle 9.x, so these modules can be built directly:
./gradlew.bat :common:build :velocity:build
Loader Modules
Loader-specific modules such as neoforged, fabric, and forge live in the same repository, but they are not all enabled by default in settings.gradle.kts.
Follow the inline comments in the build files to switch the required Gradle version and enable the loader module you want to build.
Branch Strategy
1.21.1is the current primary branch- Other Minecraft versions should be maintained in dedicated branches when needed
- The
1.21.8branch is no longer in use
Use Cases
- Vanilla clients join the default login server
- Different modpack clients join different login servers
- Players are forwarded to their target backend after authentication
- Networks that need a stronger proxy-side routing layer than simple post-login forwarding plugins
License
The current source headers are organized around the MIT license.
InvSeparate
InvSeparate ๆฏไธไธช้ขๅๅคๆดๅๅ Minecraft ็ฝ็ป็ๅผๆบ่ทฏ็ฑๆนๆกใ
ๅฎ็ฑไธค้จๅ็ปๆ๏ผ
Velocityๆไปถ๏ผๅจไปฃ็ๅฑ่ฏๅซๅฎขๆท็ซฏๆ ่ฏ๏ผๅนถๅณๅฎ็ฉๅฎถๅบ่ฟๅ ฅๅชไธช็ปๅฝๆใ่ฎค่ฏๅๅ่ฟๅ ฅๅชไธช็ฎๆ ๆใ- ๅฎขๆท็ซฏ Mod๏ผๅจ Minecraft ๆกๆ้ถๆฎตๆๆดๅๅ ๆ ่ฏ้ๅ ๅฐๆกๆไธปๆบๅไธญ๏ผ่ฎฉไปฃ็ๅจ็ๆญฃ่ฟๅ ฅๅ็ซฏๅๅฐฑ่ฝๅฎๆๅๆตใ
่ฟ่ฎฉๅไธไธช Velocity ๅ ฅๅฃๅฏไปฅๅๆถๆๅกๅ็ๅฎขๆท็ซฏใๅคไธชๆดๅๅ ๅฎขๆท็ซฏ๏ผไปฅๅๅ่ชไธๅ็็ปๅฝไธ่ฝๅฐๆต็จใ
็นๆง
- ๆฏๆๅบไบๅฎขๆท็ซฏๆ ่ฏ็ๅๅง่ทฏ็ฑ
- ๆฏๆโ็ปๅฝๆ -> ็ฎๆ ๆโ็ไบๆฎต่ฝฌๅ
- ๆชๅฎ่ฃ Mod ๆๆ ่ฏๆช็ฅๆถๅ้ๅฐ้ป่ฎคๆๅกๅจ
- ๅฝๅไปฅ
Velocity 3.4.xไธบๅบ็บฟๅผๅ๏ผ็ฎๆ ๅ ผๅฎนVelocity 4.x - ไปๅบๅ ๆๆจกๅ็ป็ปๅ ฌๅ ฑๅ่ฎฎใไปฃ็ๆไปถๅไธๅๅ ่ฝฝๅจๅฎ็ฐ
ๅทฅไฝๅ็
- ๅฎขๆท็ซฏ Mod ๅจ่ฟๆฅๆๅกๅจๆถ่ฏปๅๆฌๅฐ้
็ฝฎไธญ็
identifier - Mod ๅฐ
<hostname>\0<identifier>ๅๅ ฅๆกๆๅฐๅ - Velocity ๆไปถไปๅๅงๆกๆไธปๆบๅไธญๆๅๆ ่ฏ
- ๆไปถๆ นๆฎ
config.ymlไธญ็่งๅ้ๆฉ็ปๅฝๆไธ็ปๅฝๅ็ฎๆ ๆ - ่ฅๆ ๆ ่ฏๆๆ ่ฏๆช็ฅ๏ผๅๆ้ป่ฎค่งๅๅค็
ๆณจๆ๏ผVelocity ็ getVirtualHost() ไผไธขๅผ null byte ไนๅ็ๆฐๆฎ๏ผๅ ๆญคๆๅก็ซฏๅฟ
้กป่ฏปๅๅๅงไธปๆบๅ่ไธๆฏๅค็ๅ็่ๆไธปๆบๅผใ
ไปๅบ็ปๆ
common๏ผๅ ฌๅ ฑๅ่ฎฎๅธธ้ไธๅทฅๅ ทvelocity๏ผVelocity ๆไปถๅฎ็ฐneoforged๏ผNeoForge ๅฎขๆท็ซฏ Modfabric๏ผFabric ๅฎขๆท็ซฏ Modforge๏ผ้ข็ Forge ๆจกๅbungeecord๏ผ้ข็ BungeeCord ๆจกๅ
้ ็ฝฎ็คบไพ
Velocity ้
็ฝฎๆไปถไฝไบ plugins/invseparate/config.yml๏ผ
default-server: "login"
default-post-login-server: "lobby"
post-login-delay-seconds: 5
identifiers:
endlessmc-hng:
login-server: "hng_login"
post-login-server: "hng"
NeoForge/Fabric ๅฎขๆท็ซฏ้ ็ฝฎๆ ธๅฟ้กน๏ผ
identifier = "endlessmc-hng"
ๆๅปบ่ฏดๆ
ๅ ฌๅ ฑๆจกๅไธ Velocity
ๅฝๅไปๅบ้ป่ฎคไฝฟ็จ Gradle 9.x๏ผๅฏ็ดๆฅๆๅปบ๏ผ
./gradlew.bat :common:build :velocity:build
Loader ๆจกๅ
neoforgedใfabricใforge ็ญๅ ่ฝฝๅจๆจกๅไฟ็ๅจๅไธไปๅบไธญ๏ผไฝๅฝๅ settings.gradle.kts ้ป่ฎคๆชๅฏ็จๅ
จ้จๆจกๅใ
ๆไปๅบๅ ๆณจ้ๅๆขๅฏนๅบๆจกๅไธ Gradle ็ๆฌๅ๏ผๅฏๅๅซๆๅปบๅฏนๅบ Loader ไบง็ฉใ
ๅๆฏ็ญ็ฅ
- ๅฝๅไธป็บฟ็ๆฌไธบ
1.21.1 - ๅ ถไป Minecraft ็ๆฌๅปบ่ฎฎไฝฟ็จ็ฌ็ซๅๆฏ็ปดๆค
1.21.8ๅๆฏๅทฒๅๆญขไฝฟ็จ
้็จๅบๆฏ
- ๅ็ๅฎขๆท็ซฏ่ฟๅ ฅ้ป่ฎค็ปๅฝๆ
- ไธๅๆดๅๅ ๅฎขๆท็ซฏ่ฟๅ ฅๅ่ช็็ปๅฝๆ
- ็ปๅฝ่ฎค่ฏๅฎๆๅ่ชๅจ่ฟๅ ฅๅ่ช็ฎๆ ๅ็ซฏ
- ้่ฆๆฟไปฃๆ่กฅๅผบ็ฐๆโๅช่ด่ดฃ่ฝฌๅใไธ่ด่ดฃ่ฏๅซๅฎขๆท็ซฏโ็ไปฃ็่ทฏ็ฑๆนๆก
่ฎธๅฏ่ฏ
ๆฌ้กน็ฎๅฝๅๆบ็ ๅคด้จๆ MIT ่ฎธๅฏ็บฆๅฎ็ป็ปใ
Screenshots
Gallery
Versions
Files
Relations
Project Relations
More like this
Similar Mods
Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.
On ModDex
Community snapshot
By the numbers
Statistics
Want to reach Minecraft players?
We're looking for a server hosting partner to feature here and other parts of the site. Interested? Send us a message!
Get in touchGet it on
Available Platforms
On ModDex
Community snapshot
By the numbers