Skip to content

Fake Minecraft server which allows to set custom server list & kick message.

Notifications You must be signed in to change notification settings

hopfenspace/fake_mc_server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fake Minecraft Server

This is a simple program which responds to Minecraft Server List Pings and responds with configurable values. This allows to set a custom version name, max players, current players and motd. Additionally when a user tries to connect to the server he is immediately disconnected with a custom message that can also be configured.

Setup

git clone https://github.com/hopfenspace/fake_mc_server
cd fake_mc_server
cargo run

For Server list customizations edit server-list.json, it has the format as defined at wiki.vg.

For custom disconnect messages edit disconnect.json, it is in /tellraw format as defined at wiki.vg and the minecraft wiki. You can use any of the available tellraw generators to generate it, such as minecraft.tools.

Why?

We run a server which hosts multiple minecraft servers. The first one was on port 25565, but users occasionally forgot to enter the port for the server they actually wanted to connect to. We then moved all minecraft servers to custom ports, and are using this tool to tell the user he is missing a port in the address (i.e. they tried connecting to port 25565).

Screenshots

About

Fake Minecraft server which allows to set custom server list & kick message.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages