itHotL / PlayerStats

Adds a simple command to see any Minecraft statistic for all players on a server (individually, or in top 10 format)
MIT License
29 stars 7 forks source link
minecraft spigot-plugin statistics

About

PlayerStats is a Minecraft server plugin that adds a command to view player statistics in top-10 format or individually. Currently tested on all versions between 1.16.5 and 1.20.1 on platforms:

(It's possible PlayerStats works on other platforms too, but these are the ones I have explicitly tested.)

 

Features

 

API Usage

To import the PlayerStats API with Maven, add the following dependency and repository to your POM.xnl:

<repositories>
    <repository>
        <id>sonatype-oss-snapshots1</id> <!-- the OSSRH repository for snapshots -->
        <url>https://s01.oss.sonatype.org/content/repositories/snapshots/</url>
     </repository>
</repositories>

<dependencies>
    <dependency>
        <groupId>io.github.ithotl</groupId>
        <artifactId>PlayerStats</artifactId>
        <version>2.0-SNAPSHOT</version>
        <scope>provided</scope>
    </dependency>
</dependencies>

You can download the sources and Javadocs through your code editor, or visit the Javadocs here.
To get an instance of the API, you can do the following:

PlayerStats playerStats = PlayerStats.getAPI();

 

Author Info

I am a relatively new programmer, and this is one of my first projects. I greatly enjoyed making it, and I tried to make it as efficient as I could. If you have any questions, remarks, or suggestions, please let me know! You can find me here on GitHub.

 

Licence

PlayerStats is licenced under the MIT licence. Please see LICENCE for more information.