Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/urpagin/mcrandomproxy
Routes your connection to some random server!
https://github.com/urpagin/mcrandomproxy
minecraft minecraft-server proxy routing server
Last synced: about 1 month ago
JSON representation
Routes your connection to some random server!
- Host: GitHub
- URL: https://github.com/urpagin/mcrandomproxy
- Owner: Urpagin
- Created: 2024-05-11T19:34:12.000Z (8 months ago)
- Default Branch: master
- Last Pushed: 2024-05-20T02:12:30.000Z (7 months ago)
- Last Synced: 2024-05-20T03:25:32.344Z (7 months ago)
- Topics: minecraft, minecraft-server, proxy, routing, server
- Language: C++
- Homepage:
- Size: 4.6 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Minecraft Random Proxy
https://github.com/Urpagin/MCRandomProxy/assets/72459611/47de9c00-a61d-49e8-aa8c-d7ce70481680
## 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:```txt
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:`.
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
```
2. Make Build Directory
```
mkdir build && cd build
```
3. 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.4. 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:
- [Download](https://aka.ms/vs/17/release/vc_redist.x86.exe)
- [Download Page](https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170#visual-studio-2015-2017-2019-and-2022)
### MacOS 🍎
There is **no** prebuilt binary yet. You must build it yourself.
### Docker 🐳
*Yet to be done.*