Giter Club home page Giter Club logo

mcrandomproxy's Introduction

Minecraft Random Proxy

dinglenut.mp4

Why & How?

First choose a port to expose the app, e.g 25565. Then make a file named servers.txt containing different Minecraft servers in this format:

IPv4:port
IPv4:port
IPv4:port
...

(servers.txt must be at the same level, or next to the binary.)

When that is ready, run the app, and you are able to connect to it from your Minecraft client. Let's say you're running it on the same machine as your client: connect to 127.0.0.1:<the_port_you_chose_earlier>. At each new connection, you'll connect to a random server on the specified file servers.txt.

And for the how, the program uses Asio (a networking library in C++) to route all the incoming packets from you (the client) to some server chosen at random, and forward all packets coming from the random server to the client (you).

This also means that every packet exchanged can be read and also modified by the program ๐Ÿ˜‰๐Ÿ˜‰๐Ÿ˜‰๐Ÿ˜‰๐Ÿ˜‰, although currently that is not the case.

Installation

Linux ๐Ÿง

There is a prebuilt binary for x64 systems.

As for other architectures, you must build it yourself:

  1. Clone
git clone https://github.com/Urpagin/MCRandomProxy && cd MCRandomProxy
  1. Make Build Directory
mkdir build && cd build
  1. Build
cmake -DCMAKE_BUILD_TYPE=Release .. && cmake --build . --config Release -- -j 16

The program is compiled and ready to be executed (./MCRandomProxy). Now make the servers.txt file next to the binary.

  1. Make & Populate servers.txt
vim servers.txt

Windows ๐ŸชŸ

There is a prebuilt binary for x64 systems.

Requires Microsoft Visual C++ Redistributable (vcredist) to be installed:

Useful links:

MacOS ๐ŸŽ

There is no prebuilt binary yet. You must build it yourself.

Docker ๐Ÿณ

Yet to be done.

mcrandomproxy's People

Contributors

urpagin avatar

Watchers

 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.