Coder Social home page Coder Social logo

juliensol / minestats Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nathan818fr/minestats

0.0 1.0 0.0 3.18 MB

A realtime Minecraft PC/PE servers list. Inspired by Minetrack (https://github.com/Cryptkeeper/Minetrack).

License: GNU Affero General Public License v3.0

PHP 69.58% JavaScript 14.01% ApacheConf 0.26% HTML 16.15%
laravel minecraft statistics server

minestats's Introduction

MINESTATS

MineStats is a realtime Minecraft PC/PE servers list. You can see the current status of servers and filter them according to your criteria. You can also view server statistics over several days (or months) and compare servers to each other.

Try it!

A demo of the latest release is available on https://minestats.info/.

If you like, you can install the same system to analyze your own network (Bungee, Spigot, ...).

Features

  • Servers list
    • Realtime status
    • Display favicon and supported versions
    • Filters (by languages, versions, ...)
    • Fully responsive
  • Admin UI
    • Manage users (with simple role system)
    • Manage servers

Use

Install

  • Clone this repository or download a release (https://github.com/nathan818fr/minestats/releases).

  • Install composer dependencies

    composer install
    
  • Allow write on storage/ and bootstrap/cache/

    chmod -R 770 storage bootstrap/cache
    
  • Copy .env.example to .env then update the configuration (you can generate an APP_KEY with php artisan key:generate)

  • Setup and populate the database

    php artisan migrate
    php artisan db:seed
    
  • Setup the tasks scheduler (used for ping and stats garbage collection)

    You must run php artisan schedule:run every minutes, by example with crontab add:

    * * * * * php /path/to/minstats/artisan schedule:run
    
  • You can access the site. The default credentials are admin / password!

Configure

You can change configuration in .env file.

Why PHP ?

I know that PHP is not the ideal language for this kind of site in real time. But I like PHP, I like Laravel and I especially wanted to make a site that can run on a shared hosting.

Currently pings are performed by a PHP script and the client performs regular ajax calls to retrieve the data.

Subsequently, I will probably add alternative options, like:

  • A node.js server to perform pings
  • The use of websockets

minestats's People

Contributors

nathan818fr avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.