A Grasscutter plugin that allows players to chat within the server.
Go to file
2023-01-11 22:19:26 +08:00
.idea Initial commit 2023-01-11 22:19:26 +08:00
gradle/wrapper Initial commit 2023-01-11 22:19:26 +08:00
src/main Initial commit 2023-01-11 22:19:26 +08:00
.gitignore Initial commit 2023-01-11 22:19:26 +08:00
build.gradle Initial commit 2023-01-11 22:19:26 +08:00
gradlew Initial commit 2023-01-11 22:19:26 +08:00
gradlew.bat Initial commit 2023-01-11 22:19:26 +08:00
LICENSE Initial commit 2023-01-11 22:19:26 +08:00
README-en-US.md Initial commit 2023-01-11 22:19:26 +08:00
README.md Initial commit 2023-01-11 22:19:26 +08:00
settings.gradle Initial commit 2023-01-11 22:19:26 +08:00

gc-openchat-plugin

English | 中文

让玩家在服务器内聊天

在游戏内与服务器账号对话,相当于发送到世界频道,服务器内所有玩家均可收到消息。

TODO List

  • 玩家间聊天
  • 发言间隔限制
  • 聊天内容审查
  • 控制台发言(运维用)
  • 聊天管理命令(禁言、解除禁言 /chat ban|unban
  • 聊天api (OneBot api)
  • ...

Install

  1. Release 下载jar
  2. 放入 plugins 文件夹即可

Config

{
  // 服务器聊天开关
  serverChatEnabled: true,
  
  // 服务器聊天消息格式
  // {nickName}   为玩家昵称
  // {uid}        为玩家UID
  // {message}    为消息内容
  serverChatFormat: "<color=#99CC99>{nickName}({uid})</color>: {message}",
  
  // 每分钟发言消息数限制
  messageFreLimitPerMinute: 20
}