Tags
Creators
Details
3.4.1
Compatibility
Changes
AFK Exclude (afk-exclude: true)
- The
salary.afk-excludeconfig was read but never used during payment - AFK verification is now done in
SalaryManager.pay()before any payment - Detection via Essentials (reflection, without compile-time dependency), with fallback PlaceholderAPI (
%essentials_afk%)
Deferred payment (offline-payment)
- The payment made upon reconnection did not take into account the boost nor the permission bonus
- The calculation is now identical to online payment:
base × missed periods × boost × bonus
Additions
Update Notifier
New UpdateChecker class that queries the GitHub API (/releases/latest) asynchronously at startup
- Controlled by three options in
config.yml(already present):update-notifier: enabled: true # enables/disables checking on-join: true # notify admins (salary.admin.
reload) at connection notify-console: true # displays a message in the console if an update is available
- Configurable message in `lang.yml`:
```yaml
update:
available: "..." # placeholders: %current%, %latest%
- Only players with
salary.admin.reloadpermission receive the in-game notification
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:7OzNCijI:9xf4TJdt"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:7OzNCijI:9xf4TJdt"
}

