MCCache
Player caching script for Minecraft servers
Features
PHP 5.3.X, MySQL 5.6.X, crontab/schtasks
Optional: Apache 2, IIS 7
Getting Started
Installing Dependencies
Installing MySQL & PHP
On Red Hat-based distributions:
On Debian based systems such as Ubuntu:
On Windows bases systems:
I highly reccomend using either XAMP ( http://www.apachefriends.org/en/xampp.html)
or WAMP ( http://www.wampserver.com/)
Enabling MCCache
The simplest way to view cache data is in the web browser using Apache or IIS
However cach data can be viewed from console by typing the following (i reccomend having no_html set to true):
Player caching script for Minecraft servers
Features
- Cache multible servers
- MySQL Database backend
- Fully HTML Formatted, with option to render without html
- Easily view player caches
PHP 5.3.X, MySQL 5.6.X, crontab/schtasks
Optional: Apache 2, IIS 7
Getting Started
Installing Dependencies
Installing MySQL & PHP
On Red Hat-based distributions:
Code (Text):
yum install mysql-server mysql
yum install php php-mysql
yum install php php-mysql
Code (Text):
apt-get install mysql-server libapache2-mod-auth-mysql php5-mysql
sudo apt-get install php5 libapache2-mod-php5 php5-mcrypt
sudo apt-get install php5 libapache2-mod-php5 php5-mcrypt
I highly reccomend using either XAMP ( http://www.apachefriends.org/en/xampp.html)
or WAMP ( http://www.wampserver.com/)
Enabling MCCache
- Paste the script files into the directory they will be ran from
- Create a MySQL Database for the script and import structure.sql
- Edit the variables in includes/configuration.inc.php to suite your needs
- Edit crontab (Linux systems) As the server user you're running the script as:
Code (Text):crontab -e
Add these lines:
#m h dom mon dow command
*/5 * * * * php FAKEPATH/cache/cache.php ALL
0 0 * * * php FAKEPATH/cache/averages.php ALL - Edit schtasks (windows systems) Open CMD (Command Prompt) and type:
Code (Text):schtasks /create /sc minute /mo 5 /tn "MCCache" /tr "PHP_PATH FAKEPATH\cache\cache.php ALL"
schtasks /create /sc hourly /mo 23 /tn "MCCache" /tr "PHP_PATH FAKEPATH\cache\averages.php ALL"
The simplest way to view cache data is in the web browser using Apache or IIS
However cach data can be viewed from console by typing the following (i reccomend having no_html set to true):
- (Windows) PHP_PATH FAKEPATH\index.php SERVER_NAME
- (Linux) php FAKEPATH\index.php SERVER_NAME
Quick facts
- Edition: Minecraft Java
- File type: .jar
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
MCCache is a free Minecraft Java mod. Downloaded 261 times (via Spigot). Download it and open it directly in the game.