Go to file
Rsl1122 c87f981d6a Rewrote TPSCounter Task
This commit is a squash of 8 optimization commits to TPSCounter.

1. Extracted duplicate code in TPSCounters to ServerSensors.

- TPSCounter tasks now live inside common module
  - ServerTPSCounter and ProxyTPSCounter
- Gathering methods are implemented with ServerSensor interface:
  Player count, TPS, Entity count, Chunk count
- ServerProperties#getOnlinePlayers was replaced with ServerSensor
- Fixed sonar smells: "Hiding field" in TPSStoreTransaction & NavLink

2. Optimizations down to 0.15ms / run

- Optimized entity+chunk count (same for loop)
- Added warm-up for system resource methods
- Removed Stream API usages
- Removed List copy operation
- Entities & chunks only count once per minute
- CPU & RAM averages now produced with Average class
- Maximum player count per minute now produced with Maximum class

Affects issues:
- Fixed #1289
2020-01-17 21:11:05 +02:00
.github Update gradle.yml 2019-12-17 09:22:48 +02:00
Plan Rewrote TPSCounter Task 2020-01-17 21:11:05 +02:00
scripts Parallel gradle execution where possible 2019-08-06 12:16:28 +03:00
.gitattributes
.gitignore Cleaning up some code: 2019-12-19 00:09:29 +02:00
.travis.yml Changed Travis JDK to openjdk8 2019-07-21 18:38:28 +03:00
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md 2017-10-09 13:07:37 +03:00
CONTRIBUTING.md Update CONTRIBUTING.md 2019-11-03 13:46:13 +02:00
Jenkinsfile Change sed command 2019-09-03 09:32:11 +03:00
LICENSE [Merge] Changing license from proprietary to LGPLv3 2018-10-28 08:59:38 +02:00
README.md Update README.md 2019-12-19 16:14:04 +02:00
versions.txt Update versions.txt 2020-01-14 21:40:56 +02:00

Player Analytics

Discord Quality Gate
Lines of Code Code coverage Duplicate lines

API, Documentation & Tutorials | Releases | Issues & Suggestions

Player Analytics is a fully fledged solution for the analytics needs of your minecraft server. A built in webserver displays insights into different aspects on the server such as Online activity, Playerbase and how these change over time.

Plan supports multiple different platforms and versions; Spigot, Paper, Sponge, SpongeForge, Bungeecord, Velocity, Cauldron & all derivatives; from 1.7 to 1.14 - One jar for all platforms.

Building

You can build the project by running the following in the repository root

cd Plan
./gradlew build

Used Libraries

License

Player Analytics is licensed under LGPL-3 (GNU Lesser General Public License)