- 10,127 views, 0 today
- 305 downloads, 0 today
139
MyMineMin makes it possible to view chat logs, user activity and other data in an easy to understand format via your web browser. Designed to enable server admins to better understand what’s going on in their server.
The system exports log data from one or more servers to a central database. From there a web based user interface displays the data in a human readable format. The system can exist on one server or across multiple servers.
Demo (Build 2)
Official Page
Features
These instructions assume you know how to run php scripts, upload files to servers, manage mysql databases.
Database
Uploading
Single Server
If your web server and minecraft server are on the same server then copy all files across. Remove the install folder.
Multiple Servers
For web servers, remove the exporter and install folders.
Exporter
The script for exporting the data to the database is exporter/cron.php
For servers exporting data you will need to configure config/servers.php. This file contains the list of individual minecraft server installs to export. This does not need to be configured on the UI as details are read from the database.
UI (User Interface)
View the folder through a web browser after the export has run at least once.
Either $cfg['directory_minecraft'] is pointing to the wrong directory or the exporter doesn't have read access to the files. For Apache you can either add www-data to your minecraft user group, or allow the files in the minecraft server directory to be read by all users (0775)
It's really slow!!!
Speed depends on the size of the log files and the speed of your web server. Because we are parsing log files every line of the file must be read, so it can take a while with large files.
Where's the Auth?
Currently use a password protected directory which most web servers have. Windows web servers IIS password protect directory and Apache .htaccess. Auth integration is in the works.
The system exports log data from one or more servers to a central database. From there a web based user interface displays the data in a human readable format. The system can exist on one server or across multiple servers.
Demo (Build 2)
Official Page
Features
- Web Browser Responsive UI
- Overview, Multi server
- Analytical Graph
- Chat log
- Activity Log
- Player Login Location Map
- Easily view Whitelist, ban list and ops
Game Servers and Platforms
- Minecraft: Live Query and log passingMod Support: Spigot (Bukkit), griefPrevention, mineversechat (or similar chat log programs, try this one if there’s no chat)
- Terraria: Live Query and log passing
- TeamSpeak: Live Query
Whats New
See updates tabRequirements
- Minecraft, tested with vanilla and spigot/bukkit (looking for more logs)
- Web server (developed for Apache, but others should work too), can be on different server to minecraft
- MySQL database, can be on different server to minecraft
- PHP
- PHP - Zlib (default on most installs, required as old logs are compressed)
Installation
Extract the files from the zip. There are 2 programs to install, the exporter script, and the web UI (User Interface).These instructions assume you know how to run php scripts, upload files to servers, manage mysql databases.
Database
- Create the database and update the file config/db.php
- Run the SQL in the file install/install.sql on your mysql server, on many web servers you can use phpMyAdmin
- Remove the installation directory if it's web accessible
Uploading
Single Server
If your web server and minecraft server are on the same server then copy all files across. Remove the install folder.
Multiple Servers
For web servers, remove the exporter and install folders.
Exporter
The script for exporting the data to the database is exporter/cron.php
For servers exporting data you will need to configure config/servers.php. This file contains the list of individual minecraft server installs to export. This does not need to be configured on the UI as details are read from the database.
- First time, run at the command line with a user that has permission to read the minecraft log files. This will bulk load into the database and expose any errors. This process may take some time.
- Run again to get an idea of the time it takes to parse the daily logs, remember most your users will probably play at night so allow more time.
- Add exporter/cron.php to cron or other scheduling program at 10 - 60 intervals to suite your needs. Be careful to not have exports overlap, this will cause duplication issues. On many linux systems you can use a program called flock to force one instance only to run at a time.
UI (User Interface)
View the folder through a web browser after the export has run at least once.
Common Issues
Can not access/can not read errorsEither $cfg['directory_minecraft'] is pointing to the wrong directory or the exporter doesn't have read access to the files. For Apache you can either add www-data to your minecraft user group, or allow the files in the minecraft server directory to be read by all users (0775)
It's really slow!!!
Speed depends on the size of the log files and the speed of your web server. Because we are parsing log files every line of the file must be read, so it can take a while with large files.
Where's the Auth?
Currently use a password protected directory which most web servers have. Windows web servers IIS password protect directory and Apache .htaccess. Auth integration is in the works.
Progress | 100% complete |
Game Version | Minecraft 1.10 |
Tags |
15 Update Logs
Build #19 : by aamche 10/29/2016 6:19:44 amOct 29th, 2016
Added: Gamespy4 protocal for Minecraft
Added: Toggle different chat/activity messages
Added: Minecraft mod venturechat (replaces minecversechat)
Added: Last 50 chat messages on view user
Fixed: Navigation issues remember which server is being browsed
Fixed: Minecraft query versioning, defaulted to 1.8+
Fixed: Server selector for single server set-ups
Added: Toggle different chat/activity messages
Added: Minecraft mod venturechat (replaces minecversechat)
Added: Last 50 chat messages on view user
Fixed: Navigation issues remember which server is being browsed
Fixed: Minecraft query versioning, defaulted to 1.8+
Fixed: Server selector for single server set-ups
LOAD MORE LOGS
3090905
7
Create an account or sign in to comment.
Also it's bad to hide player names but show passwords in chat log - login time can be used to associate.
Using previous version is almost ok, but no chat messages, commands only displayed on web.
I've implemented some password filtering. Lot's of bug improvement. Keep posting areas for improvements so I can keep working on it.
I use a host for Spigot 1.9.2. They only give me Multicraft panel for my account. I don't know the exact address of my home directory (is it /home/userxyz? I don't know). So I don't know what to put in $servers[] 'directory'. Is it possible to manually upload my logs instead? So in the myMineMin I'll have a folder called logs and then I just upload my daily log there.
Can you please tell me whether it's possible? Would love to have the web based stats you offer :) Thanks!
Host A (Minecraft)
- Runs Spigot 1.9.2
- Multicraft control panel
- 1 MySQL Database with remote connection enabled (other webhost can connect & query to this db, not just from localhost)
- I don't know the full path to my home directory
Host B (Website)
- Runs PHP & unlimited MySQL Database
- MySQL Database only accepts localhost connection
- I have access to SSH and FTP there, and I know the full path to my home directory
So I put MyMineMin php files in Host B. In the config/server.php file, I put Host A's MySQL login info as the database used to store the chat. I want to run the exporter manually, so I create folder "logs" in Host B and copy the log files from Host A to Host B.
My question is, what should I type in the "directory" section of the config/server.php in Host B? Is it Host A's or Host B's full path directory?
Thanks!
/home/server/
the exporter will use the following to access the log files
/home/server/logs/
this is because it also uses
/home/server/ops.json
/home/server/banned-players.json
/home/server/ doesn't need to be the actual directory where minecraft runs, just where the exporter can find the files to read.
Thanks for sticking with this, it can be a bit tricky, especially as everyone's set-ups are slightly different.
As you are running 2 set-ups you'll need to have 2 servers set-up in config/server.php, both will have different directories as they are different log sets.
/home/hostA/
/home/hostB/
Some times permissions can be an issue.
Use chrome inspector to see if there a javascript error or a server error.