Code Monkey home page Code Monkey logo

minecraft_server_emulator's Introduction

EncryptedKitten's Minecraft Server Emulator

What does it do?

It provides an implementation of:

  • api.mojang.com
  • authserver.mojang.com
  • login.minecraft.net (Untested, legacy login host)
  • pc.realms.minecraft.net (Partial, some endpoints are stub functions)
  • session.minecraft.net
  • sessionserver.mojang.com
  • skins.minecraft.net
  • snoop.minecraft.net (Untested, removed in modern versions)
  • status.mojang.com (Provides a hardcoded green status for all hosts)
  • textures.minecraft.net

It has a script to download data from:

It also has a Web UI for adding users and basic configuration

  • It must be set up with NGINX auth, as it does not has any auth built in.
  • A general database management tool such as PHPMyAdmin is also recommended, as it can be useful for providing addition configuration and information that is not avalible in the Web UI.

Bind DNS Server Configs for setting it as your DNS Server

What does this mean?

You can run a server that handles the Minecraft authentication and server join systems, as well as has the API functions used to change your skin and whatnot.

What is required?

  • NGINX
  • PHP-FPM
  • php-gmp
  • php-curl
  • mariadb
  • The include directiory in the sites/mcse/global folder set as a PHP include path.

You can also optionally add bind9 for a DNS server.

You will also need to replace the authlib's yggdrasil_session_pubkey with the one you generate (If you want skins to show up in multiplayer for game versions 1.7.6 or higher), you can use Minecraft JavaAgent to do this.

You will also need to use MultiMC5 or the old JAR launcer, IIRC the new official one doesn't respect the system certificate store.

You will also need configure the program in mcse_config.ini, and generate the certificates for the hosts and the yggdrasil session keypair. Also the entries of the *.127.0.0.1.in-addr.arpa domain should be replaced, there are python scripts to do this in the root of the repository.

Additional Information

Information about Minecraft protocols: wiki.vg

minecraft_server_emulator's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

gaz492

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.