GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - JavaDerg/mc-router: A very basic, domain based reverse Proxy for Minecraft

BranchesTags
Open more actions menu

Latest commit

 

History

27 Commits
27 Commits

Folders and files

NameName
Last commit message
Last commit date
src
src
 
 
.gitignore
.gitignore
 
 
Cargo.toml
Cargo.toml
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
example.json
example.json
 
 
rustfmt.toml
rustfmt.toml
 
 

Repository files navigation

Mc-Router

A Minecraft reverse proxy based on domains.

What

If you have multiple Minecraft servers running but only a limited number of ports this is for you. Mc-Router allows you to listen on a single port while having many local Minecraft servers it will proxy the connection, to based on the domain used when connecting.

Why

Was to lazy to set up proper DNS records that allow Minecraft to figure out the correct port :)

Building

  1. Make sure you have the most recent rust and cargo version installed, you can update by using rustup update; if you don't have rustup installed you can get it here.
  2. Clone the repo and cd into it.
  3. Run cargo build --release.
  4. You will find the compiled binary in target/release/mc-router (append .exe on Windows);

Usage

  1. Create a config similar to how show in example.json. The server will try to obtain the config path from your environment variables, specifically MCR_CONFIG. (Default is ./mcr.json)

    Additionally, you can provide the interface/port the server should listen on with MCR_INTERFACE. (Default is 0.0.0.0:25565)

  2. Run the server

Notes:

  • The config is automatically hot reloaded, no need to restart the server, doing so would force all current users to lose connection.

About

A very basic, domain based reverse Proxy for Minecraft

Resources

Readme
GPL-3.0 license
Activity

Stars

4 stars

Watchers

1 watching

Forks

1 fork
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.