aboutsummaryrefslogtreecommitdiff
path: root/readme.md
blob: 4d7abfd7b2ae9948823491852b338d3839c490cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# trash-proxy

A really bad minecraft reverse proxy for authentification of offline clients.

Supported version: 1.19.2

Whenever a client connects, the username is checked against all tokens in the
whitelist, the first match will determine the username you log in as.

## Usage

- Install with `cargo install --path .`
- Write configuration to `./proxy.yaml`
- Run `trash-proxy`

## Example configuration

```
protocol: 760
backend: 127.0.0.1:25567
bind: 0.0.0.0:25565
whitelist:
  - username: Steve
    token: veryverysecret
  - username: Alex
    token: hunter2
```