This is a fork from Minetrack. Check it out.
- 🚀 Real time SAMP 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.
You can find a list of community hosted instances below. Want to be listed here? Add yourself in a pull request!
- Node 12.4.0+ is required (you can check your version using
node -v
) - Make sure everything is correct in
config.json
. - Add/remove servers by editing the
servers.json
file - Run
npm install
- Run
npm run build
(this bundlesassets/
intodist/
) - 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.
# build and start service
docker-compose up --build
# stop service and remove artifacts
docker-compose down
The following configuration enables Nginx to act as reverse proxy for a samptrack instance that is available at port 8080 on localhost:
server {
server_name samp.danieldimbarre.pl;
listen 80;
location / {
proxy_pass http://localhost:8080;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
}
}