Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/urpagin/mcrandomproxy
Randomly routes your Minecraft connection to servers from a predefined list!
https://github.com/urpagin/mcrandomproxy
minecraft minecraft-server proxy routing server
Last synced: 15 days ago
JSON representation
Randomly routes your Minecraft connection to servers from a predefined list!
- Host: GitHub
- URL: https://github.com/urpagin/mcrandomproxy
- Owner: Urpagin
- Created: 2024-05-11T19:34:12.000Z (9 months ago)
- Default Branch: master
- Last Pushed: 2024-12-08T13:27:06.000Z (about 2 months ago)
- Last Synced: 2024-12-08T14:26:43.804Z (about 2 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
[Demo Video](https://github.com/Urpagin/MCRandomProxy/assets/72459611/47de9c00-a61d-49e8-aa8c-d7ce70481680
)## Why & How?
1. **Setup the Port and Server List**
- Choose a port to expose the app (e.g., `25565`).
- Create a file named `servers.txt` containing a list of Minecraft servers in the following format:
```txt
IPv4:port
IPv4:port
IPv4:port
...
```
> *(Ensure `servers.txt` is located next to the binary.)*2. **Run the App**
- Start the program, then connect to it via your Minecraft client.
- If the app is running on the same machine as your client, use the following address: `127.0.0.1:`.
- Each new connection will randomly route you to one of the servers listed in `servers.txt`.3. **How It Works**
- The program uses the Asio networking library (C++) to route incoming packets from your client to a randomly selected server and back.
- While the program has the potential to read or modify packets, it currently only forwards them without changes.---
## Installation
### Linux 🐧
- **Prebuilt Binary:** Available for x64 systems.
- **Other Architectures:** Build the application manually:
1. Clone the repository:
```bash
git clone https://github.com/Urpagin/MCRandomProxy && cd MCRandomProxy
```
2. Create a build directory:
```bash
mkdir build && cd build
```
3. Build the program:
```bash
cmake -DCMAKE_BUILD_TYPE=Release .. && cmake --build . --config Release -- -j 16
```
After building, run the program (`./MCRandomProxy`) and place the `servers.txt` file next to the binary.4. Create and populate `servers.txt`:
```bash
vim servers.txt
```### Windows 🪟
- **Prebuilt Binary:** Available for x64 systems.
- **Dependency:** Install Microsoft Visual C++ Redistributable (vcredist):
- [Direct Download](https://aka.ms/vs/17/release/vc_redist.x86.exe)
- [Microsoft VC++ Redistributable Page](https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170#visual-studio-2015-2017-2019-and-2022)### macOS 🍎
- No prebuilt binary available. You must build the program manually.### Docker 🐳
- *Perhaps in the distant future.*