Go to file
HimbeerserverDE cddebf0091
Fix formspec server name prepender (#19)
2021-08-31 11:00:31 +02:00
doc Connect to default server + Fix image SRVNAME_ not found 2021-08-29 19:45:20 +02:00
.gitignore Basic authentication server and content multiplexer 2021-08-27 18:59:27 +02:00
LICENSE Initial commit 2021-08-22 17:41:31 +02:00
README.md Don't wait for ack if the Peer has disconnected 2021-08-28 15:06:18 +02:00
activeobject.go AORmAdd + AOMsgs forwarding + Preserve complex textures 2021-08-30 18:25:15 +02:00
auth.go Basic authentication server and content multiplexer 2021-08-27 18:59:27 +02:00
auth_sqlite3.go Use executable dir instead of working dir 2021-08-28 13:23:07 +02:00
client_conn.go Stateless packet forwarding 2021-08-30 22:51:33 +02:00
config.go Connect to default server + Fix image SRVNAME_ not found 2021-08-29 19:45:20 +02:00
connect.go AddHUD + RmHUD forwarding 2021-08-30 21:38:44 +02:00
content.go Fix #16 2021-08-30 23:17:05 +02:00
formspec.go Fix formspec server name prepender (#19) 2021-08-31 11:00:31 +02:00
go.mod Basic authentication server and content multiplexer 2021-08-27 18:59:27 +02:00
go.sum Basic authentication server and content multiplexer 2021-08-27 18:59:27 +02:00
listen.go Basic authentication server and content multiplexer 2021-08-27 18:59:27 +02:00
main.go Disconnect from servers on shutdown 2021-08-30 18:30:02 +02:00
players.go Basic authentication server and content multiplexer 2021-08-27 18:59:27 +02:00
server_conn.go Fix #21 2021-08-31 10:48:59 +02:00
toolcaps.go Inventory forwarding 2021-08-30 15:17:11 +02:00

README.md

MTConnector

MTConnector is a reverse proxy designed for linking multiple Minetest servers together

Installation

Go 1.16 or higher is required. Run

go install github.com/HimbeerserverDE/MTConnector

to download and compile the project. A MTConnector executable will be created in your $GOBIN directory.

Usage

Starting

Run $GOBIN/MTConnector. The configuration file and other required files are created automatically in the directory the executable (or symlink to said executable) is in, so make sure to move the executable to the desired location or use a symlink.

Stopping

MTConnector reacts to SIGINT, SIGTERM and SIGHUP. It stops listening for new connections, kicks all clients, disconnects from all servers and exits. If some clients aren't responding, MTConnector waits until they have timed out.

Configuration

The configuration file name and format are described in doc/config.md All internal servers need to allow empty passwords and must not be reachable from the internet!