MineGate is a plugin which hosts a simple local HTTP server to handle authentication requests.
The config can point to different Minecraft auth services eg; Mojang and MineHut.
This allows you to accept different authorised connections onto your server.
Put the plugin in your Velocity plugins folder and edit the config to your liking (See config section)
Add the following arguments to your launch script after the word java
-Dmojang.sessionserver=http://localhost:3000
Default Config
{
"debug": false, // Should debug mode be enabled
"logConnections": false, // Should we log all auth attempts
"port": 3000, // Port for the local web server
"timeout": 5000, // Timeout for each auth service
"auth_urls": [ // Auth services, 0 = First, 100 = Last etc
{
"name": "mojang", //Any unique name
"priority": 0, // Priority to run (0 is first)
"url": "https://sessionserver.mojang.com/session/minecraft/hasJoined"
},
{
"name": "minehut",
"priority": 1,
"url": "https://api.minehut.com/mitm/proxy/session/minecraft/hasJoined"
}
]
}