Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

dkesberg/StarboundUserCount

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

StarboundUserCount

Displays a png of active users on a starbound server

Example

Server Status

Requirements

  • PHP5.4+
  • Composer

Installation

PHP

Clone github directory

git clone https://github.com/dkesberg/StarboundUserCount.git

change into project directory and run composer

cd StarboundUserCount
composer install

Cron

Create a cronjob to check network connections and update usercount.txt. Change filepath to match your system.

*/5 * * * * lsof -i TCP:21025|grep ESTABLISHED|wc -l > /var/www/starbound/app/storage/data/usercount.txt

About

Displays a png of active users on a starbound server

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors