Skip to content
This repository has been archived by the owner on Feb 28, 2024. It is now read-only.

surftimer/SurfTimer-Web-Stats

Repository files navigation

Surftimer-Web-Stats v2

GitHub Repo stars GitHub forks GitHub contributors GitHub repo size GitHub release (latest by date including pre-releases) GitHub release (latest by date including pre-releases) GitHub Docker Pulls

Surftimer-Web-Stats is Official Web with statistics for Surftimer-Official.

Features:

  • Dashboard with TOP players and recent Records
  • Top Players, Recent Records & Most Active Section
  • Maps Section (Complete Statistics)
  • Player Profiles (Complete Statistics)
  • !!Bootwatch Themes (Beta Version)
  • Languages (Czech, Danish, English, French, German, Hindi, Hungarian, Korean, Portuguese, Slovak, Spanish, Turkish)
  • Player Flags (Requires surftimer version: 1.1.2 or above)

Demos:

Installation and Requirements

Surftimer-Web-Stats works on latest Release of Surftimer-Official. (May be problems on Pre-Release versions).

General Requirements

  • Maps must have selected tier and be added to server with sm_addnewmap(!addnewmap) command on server
  • A MySQL Database with Surftimer-Official data (MySQL 5.7, MySQL 8+, MariaDB supported)
  • DB user with permissions to SELECT, ALTER TABLE, UPDATE AND INSERT.

Docker (Recommended)

Requirements

Installation

Start by pulling docker image

Docker Hub Packages

docker pull kristianp26/surftimer-web-stats:latest

Github Packages

docker pull ghcr.io/surftimer/surftimer-web-stats:latest

Next step: Run Docker container

docker run -d \
-e DB_HOST=database_host \
-e DB_PORT=database_port \
-e DB_USER=database_user \
-e DB_PASS=database_pass \
-e DB_NAME=database_name \
-e "NAVBAR_TITLE=My Surf Server" \
-p 8080:80 \
kristianp26/surftimer-web-stats:latest

Standalone

Requirements

  • Web Server
  • PHP 8+ (PHP extensions: mysqli, bcmath)

Installation

  • Download the latest version from the release page here
  • Copy unziped files into your website directory
  • Edit /inc/config.php

You can find more info on wiki page: Installation Guide

Wiki

Wiki & Installation Guide

Project Goals

Show all statistics on one place on the website and create best surf web statistics extension.

Credits

Coded & Designed with love by KristianP26 and Contributors.
Demo site provided by Bara.

Translations

  • Czech Translation by KristianP26
  • Slovak Translation by KristianP26
  • Portuguese Translation by shipyy
  • German Translation by Bara
  • French Translation by Sarrus1
  • Turkish Translation by pReLiTinqq^^
  • Danish Translation by Nubbe#0405
  • Korean Translation by Tsukasa-Nefren
  • Swedish Translation by Vanheden
  • Spanish Translation by Atomik0#5399

CSS & JS

Other