NosGrammar

插件

· 作者 breadaise

用语法提升你的沟通技巧!

0 本站下载 0 关注 更新于 1 年前

最新 1.5 · 1.21.8 · Paper / Purpur

一键开服(送7天)

警告: 你需要在服务器上安装 Java 17,插件才能正常工作!

注意: 本插件兼容从 1.18 到最新版本的所有 Minecraft 版本。仅在检测到错误或插件与新版本的 Minecraft 不兼容时才会发布更新。该插件使用基本聊天功能,这些功能保持不变,确保其在较新版本中无需频繁更新即可使用。因此,如果你发现此页面很久未更新,并不代表插件已无法使用。

"ABOUT" Section

NosGrammar 是一款简单、强大且轻量级的插件,旨在通过提供实时语法纠正和拼写建议来改善你 Minecraft 服务器中的交流体验。无论你是与朋友交谈还是管理一个来自世界各地的玩家的服务器,使用此插件时你总能保持清晰的表达。

"FEATURES" Section

  • 实时语法纠正: 自动纠正玩家输入时的语法错误,帮助维持高水平的交流标准。
  • 拼写建议: 为常见拼写错误的单词提供拼写纠正,确保你的信息准确易懂。
  • 可自定义设置: 管理员可以轻松为单个玩家开启或关闭语法纠正,提供良好的体验。
  • 用户友好的命令: 简单的命令允许玩家自行开启或关闭语法纠正并查看当前状态。

"EXAMPLES" Section

以下是一些展示插件功能的示例:

语法 启用 Grammar Enabled Showcase

语法 禁用 Grammar Disabled Showcase

拼写纠正: 禁用 vs 启用语法时的对比 Spelling Correction Showcase

"COMMANDS" Section

以下是目前可用的命令:

  1. /grammartoggle: 为自己开启或关闭语法纠正。
  2. /grammarforce: 强制为其他玩家开启或关闭语法纠正。(特殊权限)
  3. /grammar: 查看自己的语法纠正是否开启。
  4. /grammarcheck: 检查或查看任何玩家的语法纠正状态(无论开启或禁用)。(特殊权限)
  5. /grammarreload: 重新加载插件以更新其配置。(特殊权限)

"PERMISSIONS" Section

  • nosrp.grammartoggle - 允许玩家切换自己的语法纠正。
  • nosrp.grammarforce - 允许玩家强制为其他玩家开启或关闭语法纠正。
  • nosrp.grammarstatus - 让玩家查看自己当前的语法纠正状态。
  • nosrp.grammarcheck - 提供玩家查看其他玩家语法纠正状态的能力,无论其是否启用。
  • nosrp.reload - 允许玩家重新加载插件以进行更新或更改。

"FILES" Section

注意: 以下文件不包含常见拼写错误的单词列表,如需获取预设列表,请加入 Discord 服务器,可选但推荐。

默认: spellings.txt
# If you want to add more spellings you have to use the following example
# exmple:example - Do not capitalize the first letter of the word

recieve:receive
definately:definitely
occured:occurred
默认: messages.yml
togglegrammar_enabled: "&cGrammar correction has been &7Enabled&c."
togglegrammar_disabled: "&cGrammar correction has been &7Disabled&c."
no_permission: "&cYou do not have the appropriate permission to use this command."
player_not_found: "&cPlayer IGN (In-game name) was not found."
usage_forcegrammar: "Usage: /grammarforce <player> <true|false>"
usage_grammarcheck: "Usage: /grammarcheck <player>"
grammarforce_torf: "&cInvalid Input, use True or False."
grammar_status: "&bGrammar correction is currently &7%s&b."
grammarcheck_status: "&bGrammar correction is currently &7{status} &bfor &7{player}"
reload_success: "&bPlugin configuration has been reloaded."
authorized_player: "&cOnly authorized players with permissions can use this command."
grammarcheck_status_informed: "&7A staff member has updated your grammar status."
默认: 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)

最后,如果你在我的插件中发现任何 bug,请随时加入我们的 Discord 服务器获取免费支持。目前我们还计划发布 GitHub 页面并公开源代码。

你是这个资源的作者?登录后可认领此资源。

评论 0

0.0
暂无评分
5 星
0
4 星
0
3 星
0
2 星
0
1 星
0
我的评分

登录后参与评分

还没有评论,来抢沙发吧

评论配图

相似资源