Go to file
HimbeerserverDE 7e72caa092
Document exported code (#49)
2021-09-10 12:47:19 +02:00
cmd/mt-multiserver-proxy Document exported code (#49) 2021-09-10 12:47:19 +02:00
doc Fix permission logic 2021-09-07 19:17:59 +02:00
textures Convert default textures into Go code 2021-09-03 20:08:09 +02:00
.gitignore Write log output to file 2021-09-05 17:14:08 +02:00
LICENSE Initial commit 2021-08-22 17:41:31 +02:00
README.md Expose ClientConn to plugins 2021-09-06 11:03:27 +02:00
activeobject.go Expose ClientConn to plugins 2021-09-06 11:03:27 +02:00
auth.go Document exported code (#49) 2021-09-10 12:47:19 +02:00
auth_sqlite3.go Document exported code (#49) 2021-09-10 12:47:19 +02:00
chat.go Document exported code (#49) 2021-09-10 12:47:19 +02:00
client_conn.go Document exported code (#49) 2021-09-10 12:47:19 +02:00
config.go Document exported code (#49) 2021-09-10 12:47:19 +02:00
connect.go Document exported code (#49) 2021-09-10 12:47:19 +02:00
content.go Expose ClientConn to plugins 2021-09-06 11:03:27 +02:00
default_textures.go Expose ClientConn to plugins 2021-09-06 11:03:27 +02:00
formspec.go Expose ClientConn to plugins 2021-09-06 11:03:27 +02:00
gen_textures.go Document exported code (#49) 2021-09-10 12:47:19 +02:00
go.mod mt upgrade + reset minimap modes 2021-09-10 10:42:36 +02:00
go.sum mt upgrade + reset minimap modes 2021-09-10 10:42:36 +02:00
hop.go Document exported code (#49) 2021-09-10 12:47:19 +02:00
listen.go Document exported code (#49) 2021-09-10 12:47:19 +02:00
log.go Document exported code (#49) 2021-09-10 12:47:19 +02:00
perms.go Document exported code (#49) 2021-09-10 12:47:19 +02:00
players.go Document exported code (#49) 2021-09-10 12:47:19 +02:00
plugin.go Protect main code (#54) 2021-09-09 16:30:56 +02:00
plugin_chatcmd.go Document exported code (#49) 2021-09-10 12:47:19 +02:00
proxy.go Document exported code (#49) 2021-09-10 12:47:19 +02:00
run.go Document exported code (#49) 2021-09-10 12:47:19 +02:00
server_conn.go Document exported code (#49) 2021-09-10 12:47:19 +02:00

README.md

mt-multiserver-proxy

mt-multiserver-proxy is a reverse proxy designed for linking multiple Minetest servers together. It is the successor to multiserver.

Installation

Go 1.17 or higher is required. Run

go install github.com/HimbeerserverDE/mt-multiserver-proxy/cmd/mt-multiserver/proxy

to download and compile the project. A mt-multiserver-proxy executable will be created in your $GOBIN directory.

Usage

Starting

Run $GOBIN/mt-multiserver-proxy. 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

mt-multiserver-proxy 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, mt-multiserver-proxy 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!