1.4.1
Compatibility
Changes
CeraEconomy 1.4.1
Added
- Added a new Playtime Rewards system.
- Players can now earn money based on their total playtime.
- Added configurable playtime reward milestones:
- 30 minutes → $10
- 1 hour → $25
- 6 hours → $50
- 12 hours → $100
- 18 hours → $250
- 1 day → $500
- 1 week → $1,000
- Added a configurable reward message with "{time}" and "{reward}" placeholders.
- Added an "enabled" option to easily enable or disable the Playtime Rewards system.
Configuration
play-time: enabled: true message: "&aYou have played for &e{time} &aand received &f{reward}$!" rewards: 30m: 10 1h: 25 6h: 50 12h: 100 18h: 250 1d: 500 1w: 1000
Notes
- Playtime rewards are fully configurable through the main configuration file.
- Reward amounts and milestones can be changed without modifying the plugin.
- The Playtime Rewards feature can be disabled by setting "enabled" to "false".
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:lfNCaCGD:yCySyHdO"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:lfNCaCGD:yCySyHdO"
}
