!! !!

? 展开完整 config.yml
# ███╗ ███╗███████╗███╗ ██╗████████╗██╗ ██████╗ ███╗ ██╗███╗ ███╗███████╗
# ████╗ ████║██╔════╝████╗ ██║╚══██╔══╝██║██╔═══██╗████╗ ████║████╗ ████║██╔════╝
# ██╔████╔██║█████╗ ██╔██╗ ██║ ██║ ██║██║ ██║██╔████╔██║██╔████╔██║█████╗
# ██║╚██╔╝██║██╔══╝ ██║╚██╗██║ ██║ ██║██║ ██║██║╚██╔╝██║██║╚██╔╝██║██╔══╝
# ██║ ╚═╝ ██║███████╗██║ ╚████║ ██║ ██║╚██████╔╝██║ ╚═╝ ██║██║ ╚═╝ ██║███████╗
# ╚═╝ ╚═╝╚══════╝╚═╝ ╚═══╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝
#
# MentionMe
# Developed by NorthSift
#
# Version: 1.1.0
#
# Documentation:
# - MiniMessage formatting is supported in message and GUI text.
# - Reload configuration with /mentionme reload.
# - Group mentions are configured separately in groups.yml.
# - Keep YAML indentation consistent. Use spaces, never tabs.
#
# ---------------------------------------------------------------------------
# STARTUP
# ---------------------------------------------------------------------------
startup:
# Shows MentionMe startup information in console.
enabled: true
# ---------------------------------------------------------------------------
# PLAYER MENTIONS
# ---------------------------------------------------------------------------
mentions:
# Master switch for normal @player mentions.
enabled: true
# Character required before a player name.
# Example with "@": @Notch
symbol: "@"
# Allows players to mention themselves.
allow-self-mention: true
# Maximum unique player mentions allowed in one message.
# Players with mentionme.bypass.limit bypass this limit.
max-per-message: 5
# Cooldown between normal player mentions.
# Players with mentionme.bypass.cooldown bypass this cooldown.
cooldown-seconds: 3
# How mentioned player names appear in chat.
# Available placeholder:
# %player% - mentioned player's name
highlight-format: "<#FFD65A>@%player%</#FFD65A>"
# ---------------------------------------------------------------------------
# @EVERYONE
# ---------------------------------------------------------------------------
everyone:
# Enables the @everyone mention.
enabled: true
# Cooldown between @everyone uses.
cooldown-seconds: 30
# Chat appearance of @everyone.
highlight-format: "<#55FF7F>@everyone</#55FF7F>"
# ---------------------------------------------------------------------------
# @HERE
# ---------------------------------------------------------------------------
here:
# Enables the @here mention.
enabled: true
# Only players inside this radius are notified.
radius: 50.0
# Cooldown between @here uses.
cooldown-seconds: 15
# Chat appearance of @here.
highlight-format: "<#55FF7F>@here</#55FF7F>"
# ---------------------------------------------------------------------------
# CUSTOM GROUP MENTIONS
# ---------------------------------------------------------------------------
groups:
# Master switch for all custom groups from groups.yml.
#
# Example groups:
# @staff
# @admins
# @builders
#
# Group names, permissions, prefixes and cooldowns are configured
# inside groups.yml.
enabled: true
# ---------------------------------------------------------------------------
# NOTIFICATIONS
# ---------------------------------------------------------------------------
notifications:
sound:
# Plays a sound to the mentioned player.
enabled: true
# Bukkit/Paper sound name.
name: "BLOCK_NOTE_BLOCK_PLING"
volume: 1.0
pitch: 1.2
actionbar:
# Displays an actionbar notification when mentioned.
enabled: true
# Available placeholder:
# %sender% - player who mentioned the receiver
message: "<#FFD65A>⚡ <#E8E8E8>You were mentioned by <#FFD65A>%sender%</#FFD65A>!"
title:
# Allows title notifications globally.
# Players can still toggle titles individually through /msettings.
enabled: false
title: "<#FFD65A>MENTION"
subtitle: "<#E8E8E8>%sender% mentioned you"
# Times are measured in ticks.
# 20 ticks = 1 second.
fade-in: 5
stay: 40
fade-out: 10
# ---------------------------------------------------------------------------
# SETTINGS MENU
# ---------------------------------------------------------------------------
settings-menu:
# Inventory title.
title: "<dark_gray>Mention Settings"
# Inventory size.
# Must be a valid chest inventory size: 9, 18, 27, 36, 45 or 54.
size: 27
filler:
material: "GRAY_STAINED_GLASS_PANE"
name: " "
enabled:
lore: "<#55FF7F>Enabled"
# Adds an enchantment glow when the setting is enabled.
glow: true
disabled:
lore: "<#FF5555>Disabled"
glow: false
# Displayed underneath each setting.
action: "<#F0C75E><bold>CLICK</bold> <dark_gray>▶ <#E8E8E8>Toggle"
items:
mentions:
slot: 10
material: "NAME_TAG"
name: "<#FFD65A><bold>Mentions</bold>"
lore:
- "<#E8E8E8>Receive mention notifications."
sound:
slot: 12
material: "NOTE_BLOCK"
name: "<#55C7FF><bold>Sound</bold>"
lore:
- "<#E8E8E8>Play a sound when mentioned."
actionbar:
slot: 14
material: "PAPER"
name: "<#7FD8A6><bold>Actionbar</bold>"
lore:
- "<#E8E8E8>Show mention actionbars."
title:
slot: 16
material: "OAK_SIGN"
name: "<#C084FC><bold>Title</bold>"
lore:
- "<#E8E8E8>Show mention titles."
---------------------------------------------------------------------------
离线玩家处理
---------------------------------------------------------------------------
offline-player:
当有人尝试提及一个不在线的玩家时显示。
可用占位符:
%player% - 输入的玩家名称
actionbar: "<#FF5555>✖ <#E8E8E8>玩家 <#FF5555>%player%</#FF5555> 不在线!"
---------------------------------------------------------------------------
消息
---------------------------------------------------------------------------
messages:
可复用的前缀。
在下面的消息条目中使用 %prefix%。
prefix: "<#F0C75E>MentionMe <dark_gray>▶</dark_gray>"
no-permission: - "%prefix% <#FF5555>你没有权限。"
no-permission-everyone: - "%prefix% <#FF5555>你没有权限使用 <#FFD65A>@everyone<#FF5555>。"
no-permission-here: - "%prefix% <#FF5555>你没有权限使用 <#FFD65A>@here<#FF5555>。"
no-permission-group: - "%prefix% <#FF5555>你没有权限提及 <#FFD65A>%group%<#FF5555>。"
reload: - "%prefix% <#55FF7F>配置和组已重新加载。"
mentions-enabled: - "%prefix% <#55FF7F>提及通知已启用。"
mentions-disabled: - "%prefix% <#FF5555>提及通知已禁用。"
sound-enabled: - "%prefix% <#55FF7F>提及音效已启用。"
sound-disabled: - "%prefix% <#FF5555>提及音效已禁用。"
actionbar-enabled: - "%prefix% <#55FF7F>提及动作栏提示已启用。"
actionbar-disabled: - "%prefix% <#FF5555>提及动作栏提示已禁用。"
title-enabled: - "%prefix% <#55FF7F>提及标题提示已启用。"
title-disabled: - "%prefix% <#FF5555>提及标题提示已禁用。"
cooldown: # %seconds% - 剩余冷却时间 - "%prefix% <#FF5555>请等待 <#FFD65A>%seconds%s</#FFD65A> 后再进行提及。"
too-many: # %limit% - 配置的最大提及数量 - "%prefix% <#FF5555>每条消息最多只能提及 <#FFD65A>%limit%</#FFD65A> 名玩家。"
self-disabled: - "%prefix% <#FF5555>你不能提及你自己。"
loading: - "%prefix% <#FFD65A>你的提及设置仍在加载中。"
save-failed: - "%prefix% <#FF5555>无法保存你的提及设置。"
help: - "" - "<#F0C75E><bold>MentionMe</bold> <dark_gray>▶ <#E8E8E8>帮助" - "<#E8E8E8>/mentions toggle <dark_gray>▶ <#BDBDBD>切换提及通知" - "<#E8E8E8>/mentions sound <dark_gray>▶ <#BDBDBD>切换提及音效" - "<#E8E8E8>/mentions actionbar <dark_gray>▶ <#BDBDBD>切换提及动作栏提示" - "<#E8E8E8>/mentions title <dark_gray>▶ <#BDBDBD>切换提及标题提示" - "<#E8E8E8>/mentions settings <dark_gray>▶ <#BDBDBD>打开提及设置" - "<#E8E8E8>/msettings <dark_gray>▶ <#BDBDBD>打开提及设置" - ""
admin-help: - "<#E8E8E8>/mentionme reload <dark_gray>▶ <#BDBDBD>重新加载配置"
<details>
<summary><strong>? 展开完整 groups.yml</strong></summary>
```yaml
# ███╗ ███╗███████╗███╗ ██╗████████╗██╗ ██████╗ ███╗ ██╗███╗ ███╗███████╗
# ████╗ ████║██╔════╝████╗ ██║╚══██╔══╝██║██╔═══██╗████╗ ████║████╗ ████║██╔════╝
# ██╔████╔██║█████╗ ██╔██╗ ██║ ██║ ██║██║ ██║██╔████╔██║██╔████╔██║█████╗
# ██║╚██╔╝██║██╔══╝ ██║╚██╗██║ ██║ ██║██║ ██║██║╚██╔╝██║██║╚██╔╝██║██╔══╝
# ██║ ╚═╝ ██║███████╗██║ ╚████║ ██║ ██║╚██████╔╝██║ ╚═╝ ██║██║ ╚═╝ ██║███████╗
# ╚═╝ ╚═╝╚══════╝╚═╝ ╚═══╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝
#
# MentionMe
# Developed by NorthSift
#
# Version: 1.1.0
#
# ---------------------------------------------------------------------------
# 自定义组提及
# ---------------------------------------------------------------------------
#
# 在 "groups:" 下添加任意数量的自定义提及组。
#
# 示例:
#
# groups:
# builders:
# enabled: true
# name: "Builders"
# prefix: "@builders"
# sender-permission: "mentionme.group.builders"
# target-permission: "mentionme.group.builders.receive"
# cooldown-seconds: 20
# highlight-format: "<#55C7FF>@builders</#55C7FF>"
MentionMe
永不错过任何提及。保持连接,及时通知。
MentionMe 让玩家提及变得简单且引人注目,具备可配置的警报、组提及和个人设置,旨在提供流畅的服务器体验。
MentionMe — 更智能的提及
通过 @name 即时提及玩家,并通过音效、动作栏或标题警报通知他们。
功能 #1 — 玩家提及
通过 @name 即时提及玩家,并通过音效、动作栏或标题警报通知他们。
功能 #2 — 组提及
创建无限数量的自定义组,如 @staff 或 @admins,并拥有各自的权限和冷却时间。
功能 #3 — 个人设置
玩家可以通过 /msettings 控制提及、音效、动作栏和标题通知。
功能 #4 — 智能防垃圾
内置冷却时间、提及限制、权限检查和重复目标保护,确保聊天流畅。
功能 #5 — 轻量级且持久化
异步玩家偏好存储和高效的提及处理使 MentionMe 响应迅速,而不会增加不必要的服务器负载。
主要功能
- 自定义玩家提及
- 无限自定义组提及
- 个人玩家设置
- 音效通知
- 动作栏通知
- 标题通知
- 可配置的冷却时间
- 基于权限的组提及
- 异步玩家偏好存储
- 轻量级提及处理
命令
/mentions
/mentions toggle
/mentions sound
/mentions actionbar
/mentions title
/mentions settings
/msettings
/mentionme reload
自定义组
在 groups.yml 中创建任意数量的自定义提及组。
groups:
staff:
enabled: true
name: "Staff"
prefix: "@staff"
sender-permission: "mentionme.group.staff"
target-permission: "mentionme.group.staff.receive"
cooldown-seconds: 20
highlight-format: "<#F0C75E>@staff</#F0C75E>"
每个组都可以拥有自己的:
- 名称
- 前缀
- 发送者权限
- 接收者权限
- 冷却时间
- 高亮格式
玩家设置
玩家可以通过以下方式打开设置菜单:
/msettings
或者:
/mentions settings
该菜单允许玩家切换以下选项:
- 提及通知
- 声音提示
- 动作栏提示
- 标题提示
注意事项
MentionMe 专为注重性能的现代 Paper 服务器而设计。
玩家设置以异步方式存储,运行时数据会被缓存,以避免在聊天处理过程中进行不必要的文件或数据库访问。
如需帮助、更新或提问,请通过 Discord 联系我们。
由 NorthSift 开发
你是这个资源的作者?登录后可认领此资源。
相似资源
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
ExyliaPlugins 的库。
通过对话框或铁砧界面帮助你的 Anthme
自定义你的Minecraft头像!
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
评论 0
登录后参与评分
还没有评论,来抢沙发吧