7e72caa092 | ||
---|---|---|
cmd/mt-multiserver-proxy | ||
doc | ||
textures | ||
.gitignore | ||
LICENSE | ||
README.md | ||
activeobject.go | ||
auth.go | ||
auth_sqlite3.go | ||
chat.go | ||
client_conn.go | ||
config.go | ||
connect.go | ||
content.go | ||
default_textures.go | ||
formspec.go | ||
gen_textures.go | ||
go.mod | ||
go.sum | ||
hop.go | ||
listen.go | ||
log.go | ||
perms.go | ||
players.go | ||
plugin.go | ||
plugin_chatcmd.go | ||
proxy.go | ||
run.go | ||
server_conn.go |
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!