It's a plugin for a Spigot Minecraft server to log the time players spend on the server and returns it to them.
Go to file
Augusto Dwenger cfd61f6245 fix error that the jar could not be started because it was referenced by the wrong version number hamburghammer/playtime#13 2019-12-29 17:29:17 +01:00
gradle/wrapper Initial commit 2019-12-26 17:01:27 +01:00
src change version number to met Semantic Versioning hamburghammer/playtime#6 2019-12-29 15:45:29 +01:00
.gitattributes Initial commit 2019-12-26 17:01:27 +01:00
.gitignore Player time 2019-12-28 00:02:19 +00:00
.gitlab-ci.yml add build artifacts job for tags hamburghammer/playtime#10 2019-12-29 16:27:19 +01:00
LICENSE Add LICENSE 2019-12-29 02:22:58 +00:00
README.md update the README.md with a developer section and with links hamburghammer/playtime#9 2019-12-29 16:11:42 +01:00
build.gradle.kts change version number to met Semantic Versioning hamburghammer/playtime#6 2019-12-29 15:45:29 +01:00
gradle.properties Initial commit 2019-12-26 17:01:27 +01:00
gradlew Initial commit 2019-12-26 17:01:27 +01:00
gradlew.bat Initial commit 2019-12-26 17:01:27 +01:00
settings.gradle.kts Initial commit 2019-12-26 17:01:27 +01:00
start_minecraft.sh fix error that the jar could not be started because it was referenced by the wrong version number hamburghammer/playtime#13 2019-12-29 17:29:17 +01:00

README.md

PlayTime

It's a plugin for a Spigot Minecraft server to log the time players spend on the server and returns it to them.

Features

  • Simple usage
  • No external DB needed
  • No config
  • Plug and Play
  • Scheduled saving to prevent data loses by a crash
  • Written in Kotlin

Commands

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)

Development

The plugin gets build with gradle. It is important to run the shadowJar task to include all dependencies. It's entirely written in Kotlin and for testing it uses Mockk and Junit5.

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!