Tags
Creators
Details
1.4
Compatibility
Changes
Implemented:
1. Configuration system that tracks how many subcommands each command has before the actual message content.
2. Command aliases for /grammar and /grammartoggle - grammartoggle: togglegrammar, enablegrammar, disablegrammar - grammar: viewgrammar
Fixed:
- Unable to uppercase/capitalize the first letter of the word for commands that require a subcommand. - (/msg player hello. → /msg player Hello.)
Update your current commands.yml format:
Updated: commands.yml
# List of commands that should have grammar correction applied
whitelisted-commands:
- say
- msg
- tell
- whisper
- me
# Do not include "/" before the command to avoid any potential issues
# Specifies how many subcommands each command has before the actual message part
# For example: '/msg player hello world' has 1 subcommand ('player') before the message ('hello world')
command-structures:
say: 0 # /say <message> (no subcommands)
msg: 1 # /msg <player> <message>
tell: 1 # /tell <player> <message>
whisper: 1 # /whisper <player> <message>
me: 0 # /me <message> (no subcommands)
# Add other commands with their subcommand counts
# mail: 2 # Example: /mail send <player> <message> (2 subcommands)
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:JfNGnspl:yEpql4Sb"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:JfNGnspl:yEpql4Sb"
}

