https://github.com/slne-development/surf-mojang-auth-server
https://github.com/slne-development/surf-mojang-auth-server
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/slne-development/surf-mojang-auth-server
- Owner: SLNE-Development
- License: gpl-3.0
- Created: 2025-03-10T19:15:04.000Z (8 months ago)
- Default Branch: master
- Last Pushed: 2025-03-10T19:18:05.000Z (8 months ago)
- Last Synced: 2025-03-19T21:59:22.715Z (8 months ago)
- Language: Java
- Size: 50.8 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Mojang Proxy Server
Configure the Mojang Proxy server by editing the configurationfile at `./proxy.properties`.
Defaults:
```
hostname=0.0.0.0
port=8000
logAllUnknownRequests=false
logKnownRequest=true
# gameProfileCacheClass=
authKey=
cacheCount=10000
cacheDuration=3600
```
- **hostname:** `` The ip/hostname to listen to. 0.0.0.0 is global
- **port:** `` The port to listen to
- **logAllUnknownRequests:** `` Whether to log unknown requests to a `./unknown-requests` folder. Mainly for debugging.
- **logKnownRequests:** `` Whether to announce requests in the console to known endpoints
- **gameProfileCacheClass:** `` Either empty/null or a full class identifier for a class to take over the GameProfile caching. The default is the internal `net.wouto.proxy.cache.GameProfileCache` which is assumed if nothing is provided.
- **authKey:** `` Either empty/null or a string of characters that the server requires for authentication. Needs to match the server's proxy key if the server has one.
- **cacheCount:** `` The maximum amount of GameProfiles to keep in the application memory (or other storage if a custom gameProfileCacheClass is defined)
- **cacheDuration:** `` The amount of seconds to cache a GameProfile.
You can also decide to route one type of requests through Mojang's API and the other through the proxy, although this prevents the proxy from being able to cache items.
### Spigot Plugin
See [mojang-proxy-plugin](https://github.com/WouterG/mojang-proxy-plugin)