Plan - Player Analytics, Sponge/Bukkit/Bungee support


#1

This is a discussion topic for the Ore project, Plan. View the full project on Ore for downloads and more information.


Info

Player Analytics is the ultimate server staff tool to monitor how players are playing your server.
It includes a Web View for Player Activity Graphs, Information, Lists and much more!

The plugin gathers data to a local database (SQLite/MySQL) via Listeners.
This data is then analyzed on the spot and displayed via the WebServer.

Please report any issues here

This is a port of Spigot version of the plugin, and is a bit newer commit than the version available on Spigot. All of the Bukkit documentation on Github is valid for this version.

Links

External Connections

WebServer (Disabled by default):The plugin hosts a WebServer on configurable port (default 8804)
The WebServer can and should be secured with a login by installing HTTPS Certificate on the plugin.

Geolocations (Disabled by default): The plugin is capable of downloading MaxMinds GeoIP Database - This can be enabled in the config under Data.Geolocations

Version Check: The plugin will check for new version via Spiget and from Github on enable.

Installation

You can follow Bukkit Set-Up guide to install Plan on Sponge.

WebServer is disabled by default, enable it with WebServer.DisableWebServer: false
Geolocation is disabled by default, enable it with Data.Geolocations: true




#2

A new version has been released for Plan, it is available for download here.


Player Analytics by Rsl1122
Change log 4.2.1 (Sponge Release)

Bugfixes:

  • MySQL now available!
  • Fixed /plan reload command
  • Fixed other small things
    • Fixed Database open fail logging causing an exception that prevented seeing the actual error.
    • Fixed locale files not being shaded in the jar
    • Replaced deprecated StrSubstitutor with StringSubstitutor

#3

neato! I’ve been looking for something like this for ages. Thanks for giving sponge some love <3


#4

Awesome ! I might take inspiration from your html code :slight_smile:


#5

A new version has been released for Plan, it is available for download here.


Change log 4.3.0

IPs in the database will be anonymised!
Some Plan logs and inacative users may be deleted by the update.

  • Per day logs Error logs are now per day logs. Added a setting for automatic log removal after x days. (7 by default)

  • Clean inactive players Added an option to remove player’s data after they’ve been inactive for x days. (180 by default)

  • Database schema change: IPs now anonymised (last 16 bits) and hashed to keep same IPs from clogging up the db.


This update contains features that improve GDPR compliance.

In order to make your life easier, I decided to write down the data Plan gathers. This is just for disclosure to your users and is optional.


If you get any errors or have issues don’t be afraid to join the Support on Discord or report the issue (This one is easier for me). Cheers!


#6

bug that removed all data was present so update was removed


#7

A new version has been released for Plan, it is available for download here.


Fixed a critical bug that caused active players to be cleaned from the database


#8

A new version has been released for Plan, it is available for download here.


Change log 4.3.2

Improvements

  • Player retention calculation now takes into account when the player registered (Improves both month and week calculation for newer players)
  • Player retention prediction now compares new players to average values of all previous players, and determines stickiness from distance between averages of those that stuck around and those who didn’t. (Old compared values to other new players, checking if they’re like 50% of those players that were retained.)
  • Improved the performance impact on MySQL CPU of Bungee geolocation fetch
  • DeathListener now supports wider range of projectiles
  • Security: ConnectionSystem now uses TLSv1.2 instead of SSL
  • Removed “Removed data of x players” log when x = 0

Bugfixes:

  • Fixed IP table inserting rows every time a player joined
  • Fixed anonymisation of old IPs in IP table
  • Removed produced duplicates from IP table
  • Attempted to fix closed datasource issue on Sponge
  • Fixed Geolocation gathering on Sponge
  • Fixed Processing exceptions not being logged
  • Fixed afk time formatting on server accordion on Player page
  • Fixed wrong link to /players page on /network**/**-page
  • Fixed backup failing if the database contained duplicate sessions caused by old bugs
  • New backup db is now closed properly
  • Improved performance of server specific UUID fetch
  • Fixed /players page not sorting by last seen by default
  • Removed use of Bukkit ChatColor in Analyze and Inspect command (Fixes sponge)

If you get any errors or have issues don’t be afraid to join the Support on Discord or report the issue (This one is easier for me). Cheers!


#9

That’s some great features ! I can’t wait to try it :smiley: