Auto Grammar

About this module

The Auto Grammar module converts players' messages to use proper capitalization, periods, and correct typos in chat and configured or all commands.
To bypass this module, op or the permission: "chatsentry.autogrammar.bypass" is required.
Players with this permission can join even if the joins per minute limit is reached. In addition, their joins won't count against the joins per minute counter.

Config guide

You can access the below settings in the auto-grammar.yml file within the modules folder of the plugin's root folder.
Config excerpts taken from v3.6.0 and may not be completely up-to-date with the latest changes. To see the most up-to-date file, see below:

capitalize

Should the first word of every sentence of players' messages be capitalized?
1
capitalize: true
Copied!

add-periods

Should a period be added at the end of players' sentences?
1
add-periods: true
Copied!

fix-typos

Should typos on the below list be fixed with their replacements?
1
fix-typos: true
Copied!

corrections

These words will be corrected to the word after the " -> " Case doesn't matter in the words on the left side
If one of the words on the left side is typed in all caps by the player, the right side translation will be converted to uppercase as well
1
corrections:
2
- "alot -> a lot"
3
- "cant -> can't"
4
- "wont -> won't"
5
- "wouldnt -> wouldn't"
6
- "shouldnt -> shouldn't"
7
- "couldnt -> couldn't"
8
- "youre -> you're"
9
- "ill -> I'll"
10
- "ive -> I've"
11
- "im -> I'm"
12
- "id -> I'd"
13
- "its -> it's"
14
- "doesnt -> doesn't"
15
- "dont -> don't"
16
- "shes -> she's"
17
- "hes -> he's"
18
- "theres -> there's"
19
- "theyre -> they're"
Copied!

affected-commands

The below list will only work if "process-commands" is true in config.yml
The below list is which commands the module will apply to. It's recommended to only set these to your private messaging commands.
Set the list to "affected-commands: []" to apply the module to ALL commands (highly not recommended!)
Make sure to only include base commands; don't add any command arguments. (spaces)
1
affected-commands:
2
- "/tell"
3
- "/t"
4
- "/msg"
5
- "/w"
6
- "/r"
7
- "/whisper"
8
- "/w"
9
- "/pm"
Copied!