Skip to content

Latest commit

 

History

History
38 lines (22 loc) · 2 KB

README.md

File metadata and controls

38 lines (22 loc) · 2 KB

BlacklistSRVBypass

This is a Minecraft SRV Record Automatic Updater created by DataPools. This is only compatible with Cloudflare and Cloudflare API v4. The program automatically changes the SRV record inside of a domain to an unblacklisted domain that is specified within domains.txt. I used Unirest as a Rest API and Gson to parse and process Json.

Click here to download

A tutorial is available here.

COMPILATION

This requires Java 8. Dependencies are Google Gson and Mashape Unirest.

CONFIGURATION

For Mac users, do not use TextEdit to edit config.json. It will cause errors in the program.

All configuration is done via the "config.json" file created on first startup. X-Auth-Email is the email used on your Cloudflare login. X-Auth-Key is the api key that you generated on your account.

This program is only for domains that use 25565 as their port.

If you want a full guide for configuring the guide, please check here.

The domains.txt file contains a list of domains that can be used inside of the SRV record. Example:

bypass1.ddns.net
bypass2.mc-srv.com

The program automatically gets the domain closest to the top of the file that is not blacklisted. It checks the blacklist through the blacklist api on http://use.gameapis.net. If it matches the current target, no changes will be made.

Make sure to load your domains.txt if you are frequently blacklisted by Mojang. If all domains inside the file are blacklisted, the program will error.

RUNNING

Run the program through the Terminal. It has NO GUI, so you won't be able to see what is going on without executing it through a terminal. A cron job would probably be the best choice if you want to constantly update your SRV records if your server is getting blacklisted.

DISTRIBUTION

Feel free to distribute the program. Just give credit. Screw Mojang!