Overview • Examples • Usage • Configuration • Project dependencies • License
A fake Minecraft server featuring customizable:
- Server list icon
- MOTD
- Protocol & version name
- Players (with sample)
- Kick message
No arguments required to start. Optional arguments:
java -jar FakeMCServer.jar version
java -jar FakeMCServer.jar [debug] [verbose] [configuration path]
debug
(boolean): enables debug mode, false by default
verbose
(boolean): enables verbose mode, will log pings, motd sending, and player kicking, false by default
configuration path
(string): configuration file path, will use 'config.json' by default
Default configuration available here.
Name | Type / color method | Nullable? | Description | Default value |
---|---|---|---|---|
host |
String | No | Server host | 127.0.0.1 |
port |
Int | No | Server port | 25565 |
base64_icon |
String base64 | Yes | Favicon, base64 must start with 'data:image/png;base64'. Show nothing if null. | null |
protocol |
Int | / | Server protocol/version (see Protocol Version Numbers) | 762 (1.19.4) |
version_name |
String (legacy colors) | Yes | Version name. Shown to the client if the client use a newer or older version than the protocol specify | Minecraft 1.19.4 |
motd |
String (Minimessage) | Yes | Server MOTD | <yellow>Fake Server\n<red>Maintenance! |
players |
List of String (legacy colors) | Yes | Player sample (appears when hovering over the number of players) | ["&eplayer1", "&6player2..."] |
connected_players |
Int | / | Connected "players" | 0 |
max_players |
Int | / | Slots | 0 |
kick_message |
String (Minimessage) | Yes | The message when a player tries to connect | <red>Sorry, the server is unavailable at the moment. |
This project requires Java 17+.
- google/gson
- qos-ch/logback
- kyori/adventure-api
- kyori/adventure-text-minimessage
- kyori/adventure-text-serializer-gson
Under the GNU Affero General Public License v3.0 license.