Resolve "[FEATURE] "ranking" command" Closes #7 See merge request hamburghammer/playtime!14
|1 year ago|
|gradle/wrapper||2 years ago|
|src||1 year ago|
|.gitattributes||2 years ago|
|.gitignore||2 years ago|
|.gitlab-ci.yml||1 year ago|
|LICENSE||2 years ago|
|README.md||1 year ago|
|build.gradle.kts||1 year ago|
|gradle.properties||2 years ago|
|gradlew||2 years ago|
|gradlew.bat||2 years ago|
|settings.gradle.kts||2 years ago|
|start_minecraft.sh||2 years ago|
It's a plugin for a Spigot Minecraft server to log the time players spend on the server and returns it to them.
- Simple usage
- No external DB needed
- No config
- Plug and Play
- Scheduled saving to prevent data loses by a crash
- Written in Kotlin
uptime shows the current up time of the server. It's inspired by the linux tool returning the systems up time in DD:HH:MM format.
playtime shows the total play time on the server (Format DD:HH:MM)
playtimeof <player> shows the total play time of the player (Format DD:HH:MM)
toptime shows the top 5 player with the highest total playtime
The plugin gets build with gradle. It is important to run the shadowJar task to include all dependencies.
This plugin uses the linter from Pinterest for Kotlin
If you want to contribute make sure to include the test for your code and add Kotlin doc.
Feel free to create a merge request!