Go to file
HimbeerserverDE b73d56f6fa
Convert default textures into Go code
2021-09-03 20:08:09 +02:00
doc Connect to default server + Fix image SRVNAME_ not found 2021-08-29 19:45:20 +02:00
textures Convert default textures into Go code 2021-09-03 20:08:09 +02:00
-p Convert default textures into Go code 2021-09-03 20:08:09 +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 Update README: Requires Go 1.17 2021-09-02 20:25:15 +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 Make log methods accept any value 2021-09-03 17:34:20 +02:00
config.go Use decimal system for serialization version 2021-09-02 13:23:15 +02:00
connect.go Convert default textures into Go code 2021-09-03 20:08:09 +02:00
content.go Convert default textures into Go code 2021-09-03 20:08:09 +02:00
default_textures.go Convert default textures into Go code 2021-09-03 20:08:09 +02:00
formspec.go Fix formspec server name prepender (#19) 2021-08-31 11:00:31 +02:00
gen_textures.go Convert default textures into Go code 2021-09-03 20:08:09 +02:00
go.mod Use Go 1.17 2021-09-01 14:25:58 +02:00
go.sum Basic authentication server and content multiplexer 2021-08-27 18:59:27 +02:00
hop.go Make log methods accept any value 2021-09-03 17:34:20 +02:00
listen.go Try to rejoin mod channels when switching servers (#28) 2021-09-01 13:27:53 +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 Make log methods accept any value 2021-09-03 17:34:20 +02:00

README.md

MTConnector

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

Installation

Go 1.17 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!