All versions
1.0.0
Release
Playtime rewards 1.0.010 months ago 31
Compatibility
Minecraft: Java Edition
1.21.1–1.21.11
Platform
NeoForge
Supported environments
Dedicated servers only
Changes
PlayTimeRewards
PlayTimeRewards is a lightweight NeoForge server-side mod that tracks player playtime and automatically rewards them at hourly milestones.
- Server-side only (no client install required)
- Global hour announcements
- Hourly reward command
- Configurable specific-hour rewards (e.g. 1h, 5h, 16h)
- JSON config with live reload
Features
- Playtime tracking: Tracks player playtime on the server in ticks, converted to hours.
- Hour announcements: Broadcasts a configurable message when a player reaches an hour milestone.
- Hourly rewards: Runs a configurable command every hour for each player.
- Specific-hour rewards: Extra commands for specific hour marks (e.g. 1 hour, 5 hours, 16 hours).
- Config-based: All behaviour controlled via
playtimerewards.json. - Config reload: Reload the config without restarting the server.
Installation
- Install NeoForge for your Minecraft version.
- Download the
PlayTimeRewardsmod JAR. - Place the JAR into your server’s
mods/folder. - Start the server once to generate the config:
config/playtimerewards.json
- Edit the config to your liking.
- Either restart the server or use the reload command:
/playtimerewards reload
Configuration
The config file is created at:
config/playtimerewards.json
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:kAF0EioI:WVhhkYDf"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:kAF0EioI:WVhhkYDf"
}

