MCPChecker is a simple tool to check if MCP mappings is out for a specific Minecraft version and send you email alerts if it finds mappings for a specified Mineraft version. Note: This tool is made to run on Unix based systems.
First download the MCPChecker.php file then setup a cronjob to run the php script every X minutes.
This tool requires PEAR mail to work, so let's install PHP7, Pear Mail and Curl:
$ sudo apt-get install php7.0
$ sudo apt-get install curl
$ sudo apt-get install php7.0-curl
$ sudo apt-get install php-pear
$ sudo pear install mail
$ sudo pear install Net_SMTP
$ sudo pear install Auth_SASL
$ sudo pear install mail_mimeNow let's install the MCPChecker
$ mkdir MCPChecker
$ cd MCPChecker
$ wget https://raw.githubusercontent.com/Moudoux/MCPChecker/master/MCPChecker.phpNow add the MCPChecker.php to your crontab using $ sudo crontab -e, i recommend running the script every 10 minutes.
After you've installed the tool you need to set it up. Go into the MCPChecker.php and edit the email server settings:
$from = '';
$host = '';
$port = 587;
$username = '';
$password = '';You also need to change $EMAIL_TO = '<Your email address>'; to your own email address.
Now we can choose what Minecraft version we want it to look for, we can do this by setting this variable: $MCP_VERSION = '1.11.1';