描述
此插件添加了向其他玩家发送私聊消息的功能。
命令
- /msg <player> <message> - 发送私聊消息
- /reply <message> - 回复上一条消息
- /msgtoggle - 切换接收私聊消息的状态
- /ignore <player> - 忽略某位玩家
- /ignore list - 查看你已忽略的玩家列表
- /pmspy - 切换监听私聊消息的状态
- /msgdeluxe help - 显示帮助命令
- /msgdeluxe reload - 重新加载插件配置
截图

配置
# MsgDeluxe 配置文件
prefix_main: "&8[&bMsgDeluxe&8] "
prefix_pmspy: "&8[&bPMSpy&8] "
format_send: "&8[&bYou &3-> &b%target%&8] &f%message%"
format_receive: "&8[&b%player% &3-> &bYou&8] &f%message%"
format_pmspy: "%prefix_pmspy%&8[&b%player% &3-> &b%target%&8] &f%message%"
sounds:
enabled: true
send:
sound: "ENTITY_EXPERIENCE_ORB_PICKUP"
volume: 1.0
pitch: 1.0
receive:
sound: "ENTITY_EXPERIENCE_ORB_PICKUP"
volume: 1.0
pitch: 1.0
messages:
no_permission: "&c你没有权限使用此命令。"
player_only: "&c此命令只能由玩家使用。"
usage_msg: "&c用法: /msg <player> <message>"
usage_reply: "&c用法: /reply <message>"
usage_ignore: "&c用法: /ignore <player>"
player_not_found: "&c未找到该玩家或当前离线。"
cannot_message_self: "&c你不能给自己发消息。"
target_messages_toggled: "&c该玩家当前不接收私聊消息。"
target_ignored_you: "&c你无法向该玩家发送消息,因为他已忽略了你。"
no_reply_target: "&c你没有可回复的对象。"
toggled_off: "&c你已禁用接收私聊消息。"
toggled_on: "&a你已启用接收私聊消息。"
cannot_ignore_self: "&c你不能忽略自己。"
player_unignored: "&a你不再忽略 %target%。"
player_ignored: "&c你已忽略 %target%。他再也无法给你发消息了。"
ignore_list_empty: "&a你没有忽略任何人!"
ignore_list_format: "&8[&b已忽略的玩家&8] &7%players%"
pmspy_disabled: "&cPMSpy 已禁用。你将不再看到私聊消息。"
pmspy_enabled: "&aPMSpy 已启用。你现在正在监听私聊消息。"
config_reloaded: "&a配置已成功重新加载。"
help_header: "&8[&bMsgDeluxe 帮助&8]"
help_msg: "&a/msg <player> <message> &7- 发送私聊消息"
help_reply: "&a/reply <message> &7- 回复上一条消息"
help_msgtoggle: "&a/msgtoggle &7- 切换接收私聊消息的状态"
help_ignore: "&a/ignore <player> &7- 忽略一位玩家"
help_ignore_list: "&a/ignore list &7- 查看你已忽略的玩家"
help_pmspy: "&a/pmspy &7- 切换监听私聊消息的状态"
help_reload: "&a/msgdeluxe reload &7- 重新加载插件配置"
管理员权限
1. msgdeluxe.bypass
这是最重要的管理权限。拥有此权限的玩家可以向任何其他人强制发送私聊消息,即使目标已关闭消息接收(/msgtoggle)或明确忽略了该玩家(/ignore)。这主要是为了让工作人员在紧急或必要的情况下能够联系到玩家,而不被拦截。
2. msgdeluxe.pmspy
这是间谍模式,允许工作人员秘密阅读服务器上发送的所有私聊消息。拥有此权限节点的玩家可以使用 /pmspy 命令来切换实时查看他人私聊对话的能力。
3. msgdeluxe.admin
这是插件的总管理员权限。拥有此权限的玩家可以使用 /msgdeluxe reload 命令,从而即时更新配置设置(如颜色、消息和声音),而无需重启整个服务器。(注意:服务器操作员(Server Operators)自动拥有此权限。)
Description
This plugin adds the ability to send private messages to other players.
Commands
- /msg <player> <message> - Send a private message
- /reply <message> - Reply to the last message
- /msgtoggle - Toggle receiving private message
- /ignore <player> - Ignore a player
- /ignore list - View your ignored players
- /pmspy - Toggle spying on private messages
- /msgdeluxe help - Shows the commands
- /msgdeluxe reload - Reload the plugin configuration
Screenshots

Config
# MsgDeluxe Configuration File
prefix_main: "&8[&bMsgDeluxe&8] "
prefix_pmspy: "&8[&bPMSpy&8] "
format_send: "&8[&bYou &3-> &b%target%&8] &f%message%"
format_receive: "&8[&b%player% &3-> &bYou&8] &f%message%"
format_pmspy: "%prefix_pmspy%&8[&b%player% &3-> &b%target%&8] &f%message%"
sounds:
enabled: true
send:
sound: "ENTITY_EXPERIENCE_ORB_PICKUP"
volume: 1.0
pitch: 1.0
receive:
sound: "ENTITY_EXPERIENCE_ORB_PICKUP"
volume: 1.0
pitch: 1.0
messages:
no_permission: "&cYou do not have permission to use this command."
player_only: "&cThis command can only be used by players."
usage_msg: "&cUsage: /msg <player> <message>"
usage_reply: "&cUsage: /reply <message>"
usage_ignore: "&cUsage: /ignore <player>"
player_not_found: "&cPlayer not found or is currently offline."
cannot_message_self: "&cYou cannot message yourself."
target_messages_toggled: "&cThat player is currently not accepting private messages."
target_ignored_you: "&cYou cannot send a message to this player because they have ignored you."
no_reply_target: "&cYou have nobody to reply to."
toggled_off: "&cYou have disabled receiving private messages."
toggled_on: "&aYou have enabled receiving private messages."
cannot_ignore_self: "&cYou cannot ignore yourself."
player_unignored: "&aYou are no longer ignoring %target%."
player_ignored: "&cYou have ignored %target%. They can no longer message you."
ignore_list_empty: "&aYou are not ignoring anyone!"
ignore_list_format: "&8[&bIgnored Players&8] &7%players%"
pmspy_disabled: "&cPMSpy disabled. You will no longer see private messages."
pmspy_enabled: "&aPMSpy enabled. You are now spying on private messages."
config_reloaded: "&aConfiguration has been successfully reloaded."
help_header: "&8[&bMsgDeluxe Help&8]"
help_msg: "&a/msg <player> <message> &7- Send a private message"
help_reply: "&a/reply <message> &7- Reply to the last message"
help_msgtoggle: "&a/msgtoggle &7- Toggle receiving private messages"
help_ignore: "&a/ignore <player> &7- Ignore a player"
help_ignore_list: "&a/ignore list &7- View your ignored players"
help_pmspy: "&a/pmspy &7- Toggle spying on private messages"
help_reload: "&a/msgdeluxe reload &7- Reload the plugin configuration"
Admin Permissions
1. msgdeluxe.bypass
This is the most crucial administrative permission. A player with this permission can force-send a private message to anyone, even if the target has toggled their messages off (/msgtoggle) or explicitly ignored them (/ignore). This is primarily designed so that staff members can reach players in urgent or necessary situations without being blocked.
2. msgdeluxe.pmspy
This is the spy mode that allows staff members to secretly read all private messages sent across the server. Players with this permission node can use the /pmspy command to toggle their ability to see everyone else's private conversations in real-time.
3. msgdeluxe.admin
This is the overarching administrator permission for the plugin. Players with this permission can use the /msgdeluxe reload command, which allows them to instantly update the configuration settings (like colors, messages, and sounds) without needing to restart the entire server. (Note: Server Operators automatically have access to this).
评论 0
登录后参与评分
还没有评论,来抢沙发吧