1.1.0
Compatibility
Changes
TrimEffects 1.1.0: SMP controls and commands
Added
-
/trimeffect list lists every trim and its effect.
-
/trimeffect reload reloads the config and saved data.
-
/trimeffect restrict <player> [duration|perm] blocks a player’s trim effects, for example 30m, 2h or 1d12h. Leaving the duration off makes it permanent.
-
/trimeffect unrestrict <player> and /trimeffect restrictions lift a restriction and list who is restricted.
-
/trimeffect smp start turns trim effects on for everyone and announces the season has started.
-
/trimeffect smp end turns them off for everyone and announces “Season X has ended”.
-
/trimeffect smp restart starts the next season (season number goes up by one) and announces it.
-
/trimeffect smp pause and /trimeffect smp resume switch effects off and on temporarily.
-
/trimeffect smp status and /trimeffect smp season <n> show the SMP state and set the season number.
-
/trimeffect info [player] shows which effects you are getting, or why you are getting none.
-
/trimeffect toggle lets players turn their own effects on or off.
-
Announcements also show as an on-screen title, and all message text is editable in config.yml.
-
Season, SMP state, restrictions and toggles are saved in data.yml, so they survive restarts.
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:zEtX7CnB:ANVcs09u"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:zEtX7CnB:ANVcs09u"
}

