
118
0
NosGrammar 1.4 - Improvements + Features
Release12 мес. назад
Список изменений
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)
Файлы
NosGrammar-1.4.jar(12.03 KiB)
ОсновнойМетаданные
Канал релиза
Release
Номер версии
1.4
Загрузчики
PaperPurpurSpigot
Версии игры
1.18–1.21.4
Загрузок
20
Дата публикации
12 мес. назад
