Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
FakeMCServer: a dual-description-format Minecraft server that implements server list ping
Java Groovy
branch: master
Failed to load latest commit information.
src/main/java/me/vemacs/fakemcserver Added license header
.gitignore fuck you mojang
README.md Add support for server-icon
build.gradle generate with gson

README.md

FakeMCServer

Run shadow with Gradle to compile. Output is in build/libs.

Run as java -jar FakeMCserver-0.1-shadow.jar <port (optional)>.

Config

Configuration is autogenerated on startup as server.properties.

  • version/protocol: MC version and protocol, check http://wiki.vg/Protocol#Protocol_Version
  • max/online: how many max players and online players you have
  • description: also known as motd, use standard color codes and \n for newline
  • engine: how to output the description, can be json or classic

Favicon should be a 64x64 image saved as server-icon.png.

Engines

Configuration value is description=&cBl&baze it\n&fmaggots.

  • Using engine=json:
{
    "version": {
        "name": "1.7.9",
        "protocol": 5
    },
    "players": {
        "max": 42070,
        "online": 9001
    },
    "description": {
        "text": "Bl",
        "bold": false,
        "italic": false,
        "underlined": false,
        "strikethrough": false,
        "obfuscated": false,
        "extra": [
            {
                "text": "aze it\n",
                "bold": false,
                "italic": false,
                "underlined": false,
                "strikethrough": false,
                "obfuscated": false,
                "color": "aqua"
            },
            {
                "text": "maggots",
                "bold": false,
                "italic": false,
                "underlined": false,
                "strikethrough": false,
                "obfuscated": false,
                "color": "white"
            }
        ],
        "color": "red"
    }
}
  • Using engine=classic:
{
    "version": {
        "name": "1.7.9",
        "protocol": 5
    },
    "players": {
        "max": 42070,
        "online": 9001
    },
    "description": {
        "text": "\u00A7cBl\u00A7baze it\n\u00A7fmaggots",
        "bold": false,
        "italic": false,
        "underlined": false,
        "strikethrough": false,
        "obfuscated": false
    }
}
Something went wrong with that request. Please try again.