NovaChat
NovaChat 是一款适用于 Paper 1.21 的聊天插件。支持频道、私聊、管理、反垃圾邮件过滤器、昵称,甚至带有奖金的小游戏。一个 jar 文件替代四个,一个配置文件替代十个,开箱即用即支持英文和俄文。
要求
需要 Paper 或 Purpur 1.21.x 以及 Java 21。不支持 Spigot,也不支持 Folia。
可选但推荐:LuckPerms、PlaceholderAPI 以及配合任意经济插件(如 XConomy 或类似)使用的 Vault。
功能
聊天
聊天分为本地和全局两种模式。默认情况下你只能与周围的人对话,而在消息前加上 !(或使用 /channel)则会将消息发送到整个服务器。这两种格式均可自定义编辑:支持 MiniMessage、十六进制颜色、旧版代码、LuckPerms 前缀、PlaceholderAPI 占位符等所有格式。
聊天中的名字不仅仅是文本。悬停名字即可看到其所属组别、余额和警告次数。点击名字会自动在客户端输入 /msg Name 以便快速私聊。
私聊
/msg 和 /reply 执行预期的功能。社交间谍模式允许管理员实时阅读私聊内容。静音状态同样适用于私聊,因此 /tempmute 确实意味着彻底禁言。所有私聊记录都会存入 SQLite 或 MySQL 数据库,并通过 /msghistory 随时调取查看。
管理
使用 /tempmute 1h30m 可让目标玩家停止发言。/unmute 甚至可以对离线玩家生效。当某玩家累计收到三次警告(由管理员设定数量和规则)时,插件会根据配置自动执行静音、踢出或封禁操作。此外,还支持全局聊天锁定、/clearchat 以及带颜色的 /broadcast。每条消息都会记录到日志文件中,包含时间、世界和频道信息。
过滤器
刷屏者会受到冷却时间和单窗口消息数量的限制。全大写用户的内容会被转换为小写。“heeeeeey” 会被简化为 “heey”,多余的空格会被删除,首字母会自动大写。脏话过滤器基于正则表达式运行,因此词库和替换内容完全由你自定义。
颜色、昵称和游戏
玩家可以在图形界面中选择纯色或渐变的昵称颜色,该颜色会显示在聊天和标签页列表中。/nick 用于设置自定义名称(可选择付费),并且拒绝复制他人的名字。偶尔会触发聊天小游戏:数学题、拼字游戏或速录比赛,获胜者将通过 Vault 获得奖励。在聊天中还可以使用标签:[item] 闪烁显示你的装备,[pos] 插入可点击的坐标,[ping] 显示你的网络延迟,而 @Name 则可以通过声音提示特定玩家。
面向管理员
/history 显示最近的聊天记录,/topchat 排名最活跃的玩家。公告、加入消息和登录提示可以按预定计划执行。/novachat 打开一个小型管理员图形界面,仅包含两个关键按钮。整个插件支持英文和俄文,只需更改一行配置即可切换语言。
命令
玩家命令(默认所有人可用)
| 命令 |
描述 |
权限 |
/msg <player> <message> |
私聊。别名:m, w, tell, pm |
novachat.msg |
/reply <message> |
回复上一条私聊。别名:r |
novachat.reply |
/channel <global|local> |
切换你的频道 |
novachat.channel |
/ignore <player> |
屏蔽来自某玩家的消息 |
novachat.ignore |
/me <action> |
动作消息 |
novachat.me |
/nick <nickname|off> |
设置或重置你的昵称 |
novachat.nick |
/chatcolor |
打开颜色选择器 GUI |
novachat.color |
/showitem |
在聊天中展示你手持的物品 |
novachat.showitem |
/history [count] |
最近的聊天消息 |
novachat.history |
/topchat [page] |
最活跃的玩家排行 |
novachat.topchat |
工作人员命令(默认 OP 可用)
| 命令 |
描述 |
权限 |
/novachat |
管理员面板 GUI |
novachat.admin |
/novachat reload |
重新加载配置和调度器 |
novachat.admin |
/tempmute <player> <time> <reason> |
静音某玩家 |
novachat.tempmute |
/unmute <player> |
解除静音,包括离线玩家 |
novachat.unmute |
/warn <player> <reason> |
给予警告 |
novachat.warn |
/kick <player> <reason> |
踢出玩家并附带理由 |
novachat.kick |
/mutechat |
锁定或解锁聊天 |
novachat.mutechat |
/clearchat [confirm] |
清除所有人的聊天内容 |
novachat.clearchat |
/broadcast <message> |
彩色公告 |
novachat.broadcast |
/socialspy |
切换私聊监控 |
novachat.socialspy |
/msghistory <player> [count] |
读取存储的私聊记录 |
novachat.msghistory |
便捷权限
novachat.bypass 跳过冷却时间、防大写功能和聊天锁定
novachat.censor.bypass 跳过脏话过滤器
novachat.economy.bypass 跳过命令收费
novachat.color.chat 和 novachat.color.nick 允许在聊天和昵称中使用颜色代码
novachat.mention 允许 @Name 提及,novachat.mention.everyone 允许 @everyone
安装
将 jar 文件放入 plugins 文件夹,重启服务器,编辑 plugins/NovaChat/config.yml,然后运行 /novachat reload。完成。
注意事项
正在使用 EssentialsX?它也拥有 /msg、/reply、/me、/nick、/ignore 和 /kick 命令的控制权,且一个命令只能被一个插件持有。请在一侧的 commands.yml 中移除重复项,以免出现冲突。
NovaChat
NovaChat is a chat plugin for Paper 1.21. Channels, private messages, moderation, spam filters, nicknames, even small chat games with money prizes. One jar instead of four, one config file instead of ten, and both English and Russian out of the box.
Requirements
Paper or Purpur 1.21.x and Java 21. Spigot won't work, Folia neither.
Optional but nice: LuckPerms, PlaceholderAPI, and Vault with any economy plugin (XConomy or similar).
What it does
Chat
Chat is split into local and global. By default you talk to people around you, and a ! before the message (or /channel) reaches the whole server. Both formats are yours to edit: MiniMessage, hex colors, legacy codes, LuckPerms prefixes, PlaceholderAPI placeholders, everything fits.
Names in chat aren't just text. Hover one and you see the group, balance and warnings. Click it and the client types /msg Name for you.
Private messages
/msg and /reply do what you expect. Social spy lets staff read PMs in real time. Mutes apply to private messages too, so /tempmute really means quiet. All PMs go into SQLite or MySQL, and /msghistory can pull them back up later.
Moderation
/tempmute 1h30m and the player stops talking. /unmute works even for offline players. Warn somebody three times (your number, your rules) and the plugin mutes, kicks or bans them on its own, whatever you picked in the config. On top of that there's a global chat lock, /clearchat and a colored /broadcast. Every message lands in a log file with time, world and channel.
Filters
Spammers hit a cooldown and a per-window message limit. Caps-lock heroes get their text lowered. "heeeeeey" turns into "heey", double spaces vanish, first letters capitalize themselves. The profanity filter runs on regex, so the word list and the replacement are fully yours.
Colors, nicknames and games
Players pick a nick color in a GUI, plain or gradient, and it shows up in chat and in the tab list. /nick sets a custom name, optionally for money, and refuses to copy somebody else's name. Now and then a chat game fires: math, anagram or speed typing, and the winner gets paid through Vault. In chat itself there are tags: [item] flashes your gear, [pos] drops clickable coordinates, [ping] shows your connection, and @Name pings a player with a sound.
For admins
/history shows the recent messages, /topchat ranks the chattiest players. Announcements, join messages and login tips can run on a schedule. /novachat opens a small admin GUI with the two buttons that matter. The whole plugin speaks English and Russian, switched by one config line.
Commands
Player commands (everyone by default)
| Command |
Description |
Permission |
/msg <player> <message> |
Private message. Aliases: m, w, tell, pm |
novachat.msg |
/reply <message> |
Reply to the last PM. Alias: r |
novachat.reply |
/channel <global|local> |
Switch your channel |
novachat.channel |
/ignore <player> |
Hide messages from a player |
novachat.ignore |
/me <action> |
Action message |
novachat.me |
/nick <nickname|off> |
Set or reset your nickname |
novachat.nick |
/chatcolor |
Open the color picker GUI |
novachat.color |
/showitem |
Show your held item in chat |
novachat.showitem |
/history [count] |
Recent chat messages |
novachat.history |
/topchat [page] |
Most active chatters |
novachat.topchat |
Staff commands (OP by default)
| Command |
Description |
Permission |
/novachat |
Admin panel GUI |
novachat.admin |
/novachat reload |
Reload configs and schedulers |
novachat.admin |
/tempmute <player> <time> <reason> |
Mute a player |
novachat.tempmute |
/unmute <player> |
Remove a mute, offline players included |
novachat.unmute |
/warn <player> <reason> |
Give a warning |
novachat.warn |
/kick <player> <reason> |
Kick with a reason |
novachat.kick |
/mutechat |
Lock or unlock the chat |
novachat.mutechat |
/clearchat [confirm] |
Clear the chat for everyone |
novachat.clearchat |
/broadcast <message> |
Colored announcement |
novachat.broadcast |
/socialspy |
Toggle PM monitoring |
novachat.socialspy |
/msghistory <player> [count] |
Read stored PMs |
novachat.msghistory |
Handy permissions
novachat.bypass skips cooldowns, anti-caps and the chat lock
novachat.censor.bypass skips the profanity filter
novachat.economy.bypass skips command prices
novachat.color.chat and novachat.color.nick allow color codes in chat and nicknames
novachat.mention allows @Name mentions, novachat.mention.everyone allows @everyone
Install
Drop the jar into plugins, restart the server, edit plugins/NovaChat/config.yml, then /novachat reload. Done.
Heads up
Using EssentialsX? It owns /msg, /reply, /me, /nick, /ignore and /kick too, and only one plugin can hold a command. Remove the duplicates in commands.yml on one side and there will be no surprises.
评论 0
登录后参与评分
还没有评论,来抢沙发吧