适用于你的 Paper 服务器的聊天管理:包括聊天外观、玩家之间的交流方式,以及如何保持聊天环境的整洁。
它是 JP Plugins 的一部分,但也可以独立运行。
功能
聊天外观
- 基于权限组(Vault 或 LuckPerms)的聊天格式,支持 MiniMessage 和十六进制颜色
- 玩家自定义的名字颜色(
/namecolor)
- 提及功能、物品展示和表情符号
玩家交流
- 私聊、回复、屏蔽消息和消息开关切换
- 本地聊天
- 通过 MySQL 或 Redis 实现的跨服务器聊天
保持环境整洁
- 防刷屏、防大写和防广告
- 词语过滤器
- 员工社交间谍模式
保持活跃
- 加入和离开提示、广播以及公告员
- 带奖励的聊天小游戏
- 支持英语、西班牙语、葡萄牙语、法语和德语的消息,也可添加自定义语言
依赖
- Paper 26.3 或更高版本(Java 25)
可选依赖
- Vault: 用于权限组和聊天游戏奖励的经济系统
- LuckPerms: 用于权限组、前缀和后缀
- PlaceholderAPI: 用于文本中的占位符,以及 JPChat 自身的占位符
- JPStaff: 用于静音、隐身和员工数据
安装
- 将 jar 文件放入服务器的
plugins 文件夹中。
- 重启服务器。会自动创建
plugins/JPChat/ 目录,其中包含配置文件和消息文件。
- 根据需要修改文件内容,然后使用
/jpchat reload 命令或重启服务器生效。
以操作员身份输入 /jp 可查看你已安装的所有 JP 插件及其版本,以及检测到的可选插件。
命令
/jpchat <reload|announce>:JPChat 管理员命令。
/msg <player> <message>(也支持 /tell, /w, /whisper, /m, /pm, /message):发送私聊消息。
/r <message>(也支持 /r):回复上一条私聊消息。
/msgtoggle(也支持 /togglemsg, /tpm):切换接收私聊消息的状态。
/ignore <player|list>(也支持 /unignore):屏蔽或取消屏蔽某玩家。
/socialspy(也支持 /spy):切换社交间谍模式。
/broadcast <message>(也支持 /bc, /bcast):向所有人广播消息。
/namecolor [colour|reset](也支持 /nc, /namecolour, /chatcolor):设置你在聊天中的名字颜色。
/chatgame <start [type]|stop>(也支持 /chatgames):开始或停止聊天小游戏。
权限
jpchat.*(操作员):所有 JPChat 权限。
jpchat.admin(操作员):重载 JPChat 并触发广播。
jpchat.namecolor(所有人):打开 /namecolor 命令(每种颜色需要单独的 jpchat.namecolor.<colour> 权限)。
jpchat.chatgames.play(所有人):参与聊天小游戏。
jpchat.chatgames.admin(操作员):使用 /chatgame 命令开始或停止聊天小游戏。
jpchat.msg(所有人):发送私聊消息。
jpchat.msg.toggle(所有人):切换私聊消息接收状态。
jpchat.ignore(所有人):屏蔽其他玩家。
jpchat.emoji(所有人):使用表情符号快捷方式。
jpchat.item(所有人):使用 [item] 展示物品。
jpchat.link(所有人):发送可点击链接。
jpchat.socialspy(操作员):查看其他玩家的私聊消息。
jpchat.broadcast(操作员):广播消息。
jpchat.notify(操作员):查看被过滤的消息提醒。
jpchat.color(操作员):在聊天中使用 &0-&f 颜色代码。
jpchat.style(操作员):在聊天中使用 &l &o &n &m &k 样式代码。
jpchat.hex(操作员):在聊天中使用 &#RRGGBB 十六进制颜色。
jpchat.minimessage(操作员):在聊天中使用 MiniMessage 标签。
jpchat.bypass.cooldown(操作员):绕过聊天冷却时间和防刷屏限制。
jpchat.bypass.filter(操作员):绕过词语、大写和广告过滤器。
jpchat.bypass.ignore(操作员):无法被屏蔽。
jpchat.bypass.msgtoggle(操作员):给禁用了私聊消息的玩家发送消息。
jpchat.mention.everyone(操作员):使用 @everyone 提及所有人。
jpchat.announcer.hide(无任何人):不接收自动广播。
jpchat.format.vip(无任何人):使用 VIP 聊天格式。
jpchat.format.staff(无任何人):使用员工聊天格式。
占位符
需要 PlaceholderAPI。
%jpchat_name%:玩家以其 /namecolor 设置的颜色显示的名字
%jpchat_namecolor%:所选颜色的键值("" = 默认)
%jpchat_msgtoggle%:当玩家接受私聊消息时为 true
%jpchat_socialspy%:当开启社交间谍模式时为 true
支持
完整文档、默认配置和设置指南请访问 JP Plugins 网站的 JPChat 页面。
有问题、发现 Bug 或有建议?加入 JP Plugins Discord。
喜欢这些插件吗?你可以在 Ko-fi 上支持 JP Plugins。
统计信息
JPChat 使用 bStats 来统计运行它的服务器数量。它仅发送匿名数据,如服务器和 Java 版本、玩家数量和所在国家。如需关闭所有插件的统计功能,请编辑 plugins/bStats/config.yml。
许可证
JPChat 可免费用于任何服务器,包括营利性服务器,但它不是开源软件。请勿重新上传、出售或分享修改后的副本。完整条款见 jar 包内的 LICENSE.txt 文件。
Everything for your Paper server's chat: how it looks, how players talk to each other, and how you keep it clean.
Part of JP Plugins, but it works on its own.
Features
How chat looks
- Chat formats per rank (Vault or LuckPerms), with MiniMessage and hex colours
- Name colours players pick themselves (
/namecolor)
- Mentions, item showcase and emojis
Talking to each other
- Private messages, replies, ignore and message toggle
- Local chat
- Cross-server chat over MySQL or Redis
Keeping it clean
- Anti-spam, anti-caps and anti-advertising
- A word filter
- Social spy for staff
Keeping it active
- Join and quit messages, broadcasts and an announcer
- Chat games with rewards
- Messages in English, Spanish, Portuguese, French and German, or add your own language
Requirements
- Paper 26.3 or newer (Java 25)
Optional
- Vault: ranks, and money for chat game rewards
- LuckPerms: ranks, prefixes and suffixes
- PlaceholderAPI: placeholders in texts, and JPChat's own placeholders
- JPStaff: mutes, vanish and staff data
Installation
- Put the jar in your server's
plugins folder.
- Restart the server.
plugins/JPChat/ is created with the config and messages.
- Change what you want in the files, then use
/jpchat reload or restart.
Type /jp as an operator to see every JP plugin you have installed, its version and which optional plugins it found.
Commands
/jpchat <reload|announce>: JPChat admin command.
/msg <player> <message> (also /tell, /w, /whisper, /m, /pm, /message): Send a private message.
/r <message> (also /r): Reply to your last private message.
/msgtoggle (also /togglemsg, /tpm): Toggle receiving private messages.
/ignore <player|list> (also /unignore): Ignore or unignore a player.
/socialspy (also /spy): Toggle social spy.
/broadcast <message> (also /bc, /bcast): Broadcast a message to everyone.
/namecolor [colour|reset] (also /nc, /namecolour, /chatcolor): Pick the colour of your name in chat.
/chatgame <start [type]|stop> (also /chatgames): Start or stop a chat game.
Permissions
jpchat.* (operators): Every JPChat permission.
jpchat.admin (operators): Reload JPChat and trigger announcements.
jpchat.namecolor (everyone): Open /namecolor (each colour needs its own jpchat.namecolor.<colour>).
jpchat.chatgames.play (everyone): Take part in chat games.
jpchat.chatgames.admin (operators): Start and stop chat games with /chatgame.
jpchat.msg (everyone): Send private messages.
jpchat.msg.toggle (everyone): Toggle private messages.
jpchat.ignore (everyone): Ignore players.
jpchat.emoji (everyone): Use emoji shortcuts.
jpchat.item (everyone): Show items with [item].
jpchat.link (everyone): Send clickable links.
jpchat.socialspy (operators): See other players' private messages.
jpchat.broadcast (operators): Broadcast messages.
jpchat.notify (operators): See filtered message alerts.
jpchat.color (operators): Use &0-&f colours in chat.
jpchat.style (operators): Use &l &o &n &m &k in chat.
jpchat.hex (operators): Use &#RRGGBB colours in chat.
jpchat.minimessage (operators): Use MiniMessage tags in chat.
jpchat.bypass.cooldown (operators): Bypass the chat cooldown and anti-spam.
jpchat.bypass.filter (operators): Bypass word, caps and advertising filters.
jpchat.bypass.ignore (operators): Cannot be ignored.
jpchat.bypass.msgtoggle (operators): Message players who disabled private messages.
jpchat.mention.everyone (operators): Ping everyone with @everyone.
jpchat.announcer.hide (nobody): Do not receive automatic announcements.
jpchat.format.vip (nobody): Use the vip chat format.
jpchat.format.staff (nobody): Use the staff chat format.
Placeholders
Needs PlaceholderAPI.
%jpchat_name%: the player's name in their /namecolor colour
%jpchat_namecolor%: key of the chosen colour ("" = default)
%jpchat_msgtoggle%: true when they accept private messages
%jpchat_socialspy%: true when social spy is on
Support
Full docs, the default config and setup guides are on the JPChat page of the JP Plugins website.
Questions, bugs or ideas? Join the JP Plugins Discord.
Like the plugins? You can support JP Plugins on Ko-fi.
Statistics
JPChat uses bStats to count how many servers run it. It sends anonymous numbers only, like the server and Java version, the player count and the country. Turn it off for every plugin in plugins/bStats/config.yml.
License
JPChat is free to use on any server, including servers that make money, but it is not open source. Don't reupload, sell or share modified copies of it. The full terms are in LICENSE.txt inside the jar.
评论 0
登录后参与评分
还没有评论,来抢沙发吧