SpaceServe Playtime

SpaceServe Playtime

Mod

A library for all things playtime

Server Library

113 downloads
2 followers
Created3 years ago
Updated3 years ago

Follow Save
Host your Minecraft server on BisectHosting - get 25% off your first month with code MODRINTH.

SpaceServe Playtime API

An easy to use api for all your playtime needs. Playtime Tracker is a simple implementation of this library that tracks playtime, has simple leaderboards, and more.

  • Track Playtime
    • All playtime
    • Improved afk detection
    • Afk time
    • Non-afk playtime
    • The above, but dimension specific
  • Playtime Triggers and Events
    • Playtime event on afk and on active
    • All playtime types as advancement triggers
    • All playtime types as scoreboard objectives
  • Simple playtime to Duration conversion

Add to your project

repositories {
    maven {
        name = "Modrinth"
        url = uri("https://api.modrinth.com/maven")
    }
}

dependencies {
    // Playtime
    modImplementation("maven.modrinth:playtime:0.1.0-rc1")
    include("maven.modrinth:playtime:0.1.0-rc1")
}

External resources



Project members

SpaceClouds42

Owner


Technical information

License
LGPL-3.0-only
Client side
unsupported
Server side
required
Project ID