GithubHelp home page GithubHelp logo

alkanife / fakemcserver Goto Github PK

View Code? Open in Web Editor NEW

This project forked from michidk/fakemcserver

1.0 0.0 0.0 182 KB

A java program which simulates a minecraft server, to display informations in the server list.

License: GNU Affero General Public License v3.0

Java 100.00%
minecraft minecraft-server-ping fakemcserver

fakemcserver's Introduction

FakeMCServer
JDK 17 LICENSE version

OverviewExamplesUsageConfigurationProject dependenciesLicense

Overview

A fake Minecraft server featuring customizable:

  • Server list icon
  • MOTD
  • Protocol & version name
  • Players (with sample)
  • Kick message

Examples

Example1 Example2 Example3

Usage

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

Configuration

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.

Project dependencies

This project requires Java 17+.

License

Under the GNU Affero General Public License v3.0 license.

fakemcserver's People

Contributors

alkanife avatar lorenzop avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.