Minetrack makes it easy to keep an eye on your favorite Minecraft servers. https://mc.fascinated.cc/
Go to file
2022-04-03 19:53:29 -07:00
assets fix: remove Mojang service status tracker (fixes #274) 2021-10-12 18:55:48 -05:00
docs fix: remove Mojang service status tracker (fixes #274) 2021-10-12 18:55:48 -05:00
lib fix: remove Mojang service status tracker (fixes #274) 2021-10-12 18:55:48 -05:00
scripts Backend cleanup (#146) 2020-04-21 17:59:53 -05:00
.babelrc Minetrack 5 (#143) 2020-04-19 19:27:59 -05:00
.dockerignore docker (#225) 2021-02-26 00:20:41 -06:00
.eslintrc.json inline #isArrayUtil, remove jQuery 2020-05-11 04:25:30 -05:00
.gitignore enh: update to parcel2 (#237) 2021-03-30 19:04:03 -05:00
config.json fix: remove Mojang service status tracker (fixes #274) 2021-10-12 18:55:48 -05:00
docker-compose.yml docker (#225) 2021-02-26 00:20:41 -06:00
Dockerfile docker (#225) 2021-02-26 00:20:41 -06:00
LICENSE First commit, most of the backend system! :) 2015-11-01 22:56:08 -06:00
main.js Merge branch 'master' of https://github.com/Cryptkeeper/Minetrack into uplot 2020-05-14 20:50:51 -05:00
minecraft_versions.json Added 1.18.2 to versions 2022-03-04 14:30:57 +01:00
package-lock.json Bump minimist from 1.2.5 to 1.2.6 2022-03-26 10:45:22 +00:00
package.json fix: remove Mojang service status tracker (fixes #274) 2021-10-12 18:55:48 -05:00
README.md Add https://pvp-factions.fr 2022-03-08 14:24:45 +01:00
servers.json Removed HiveMC from default servers.json 2022-01-17 18:01:16 +01:00

Minetrack

Minetrack makes it easy to keep an eye on your favorite Minecraft servers. Simple and hackable, Minetrack easily runs on any hardware. Use it for monitoring, analytics, or just for fun. Check it out.

This project is not actively supported!

This project is not actively supported. Pull requests will be reviewed and merged (if accepted), but issues might not be addressed outside of fixes provided by community members. Please share any improvements or fixes you've made so everyone can benefit from them.

Features

  • 🚀 Real time Minecraft server player count tracking with customizable update speed.
  • 📝 Historical player count logging with 24 hour peak and player count record tracking.
  • 📈 Historical graph with customizable time frame.
  • 📦 Out of the box included dashboard with various customizable sorting and viewing options.
  • 📱(Decent) mobile support.
  • 🕹 Supports both Minecraft Java Edition and Minecraft Bedrock Edition.

Community Showcase

You can find a list of community hosted instances below. Want to be listed here? Add yourself in a pull request!

Updates

For updates and release notes, please read the CHANGELOG.

Migrating to Minetrack 5? See the migration guide.

Installation

  1. Node 12.4.0+ is required (you can check your version using node -v)
  2. Make sure everything is correct in config.json.
  3. Add/remove servers by editing the servers.json file
  4. Run npm install
  5. Run npm run build (this bundles assets/ into dist/)
  6. Run node main.js to boot the system (may need sudo!)

(There's also install.sh and start.sh, but they may not work for your OS.)

Database logging is disabled by default. You can enable it in config.json by setting logToDatabase to true. This requires sqlite3 drivers to be installed.

Docker

Minetrack can be built and run with Docker from this repository in several ways:

Build and deploy directly with Docker

# build image with name minetrack and tag latest
docker build . --tag minetrack:latest

# start container, delete on exit
# publish container port 8080 on host port 80
docker run --rm --publish 80:8080 minetrack:latest

The published port can be changed by modifying the parameter argument, e.g.:

  • Publish to host port 8080: --publish 8080:8080
  • Publish to localhost (thus prohibiting external access): --publish 127.0.0.1:8080:8080

Build and deploy with docker-compose

# build and start service
docker-compose up --build

# stop service and remove artifacts
docker-compose down

Nginx reverse proxy

The following configuration enables Nginx to act as reverse proxy for a Minetrack instance that is available at port 8080 on localhost:

server {
    server_name minetrack.example.net;
    listen 80;
    location / {
        proxy_pass http://localhost:8080;
        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection 'upgrade';
    }
}