Coder Social home page Coder Social logo

games647 / minecraft-blocked-servers Goto Github PK

View Code? Open in Web Editor NEW
7.0 8.0 5.0 141 KB

Mojang blocked servers if they violate the EULA. A fork of https://git.aperture.lol/projects/MOJANG/repos/blockedservers

License: The Unlicense

Java 96.64% PHP 3.36%
minecraft eula banned-server blocked-server mojang

minecraft-blocked-servers's Introduction

Minecraft-Blocked-Servers

Description

Since Minecraft 1.9.3 r2 Mojang wants to ban servers if they don't comply with the Minecraft EULA. Mojang contacts these servers by email ("Mojang BrandEnforcement"). If they still not follow the EULA the server address will be added (hashed with SHA-1) to the list below. If the Minecraft client wants to connect to the banned server, they will just disconnect with the message: "java.net.SocketException: Network is unreachable" which actual means the server is down. (=>misleading message)

Update: Found out that they have also wildcard support. So for example *.server.com or 0.0.0.* can be banned too.

Update 2: Cracked/offline mode player will also receive this message

Update 3: Thanks to @DutchPlays for nearly completing the list of all servers (just one server is missing)

Update 4: All servers are found

List of all blocked servers

https://sessionserver.mojang.com/blockedservers

Reddit post

https://www.reddit.com/r/Minecraft/comments/4h3c6u/mojang_is_blocking_certain_servers_as_of_193_r2/

Minecraft related code

In Minecraft 1.9.3 r2

  • Disconnect: File: beg.class Line: 52-67 Method:
private void a(String, int)
  • Download the list and check every entry: File: bcd.class Line: 2968-3002 Method:
public boolean a(String)
  • Hash generate from address File: bcd.class Line: 3006 Method:
public boolean a(String)

In Minecraft 1.9.3 r3 and 1.9.3 official release

Implementation was re-added. Now with wildcards.

Mojang introduced a new library. This can be found in .minecraft/libraries/com/mojang/netty/1.4

There you can find the method

isBlockedServer(String)

, which is nearly equal to the one in 1.9.3 r2. This makes it possible to block these servers also for older Minecraft versions .

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.