经过一番努力,我们成功制作了这款插件。目前仅在 1.14.4 版本上进行了测试。
这是一款功能丰富的私信插件,提供了高度自定义的消息系统。你可以自定义插件前缀、各类拒绝发送时的提示信息(例如目标玩家不在线等),以及消息发送方和接收方的消息格式布局。
请注意,在配置文件中,布局(lay-out)和前缀(prefixes)部分的消息末尾可能包含一些空格。这是有意为之的,如果删除这些空格,可能会导致你的消息、前缀和布局格式粘连在一起。
/msg <player> <message> - 发送私信的主要命令。/tell <player> <message> - 功能与 /msg 相同的另一个命令。/t <player> <message> - /tell 命令的快捷别名。/reply <message> - 回复最后一位给你发消息的玩家。/r <message> - /reply 命令的快捷别名。/msgreload - 重载插件配置(需要权限 msg.reload,默认玩家无权使用)。/msgr - 重载命令的别名。%t - 代表目标玩家。适用于 deny-messages 中的 msg-send、messages 中的 reply-success 以及 lay-out 中的 sender 部分。%s - 代表命令使用者(发送者)。适用于 lay-out 中的 receiver 部分。& - 颜色代码前缀(例如 &a 代表绿色)。# better-msg plugin for 1.14.4
# Made by (IGN) YungChazzie
prefixes:
msg: "&7[&amsg&7]: &r"
no-permission: "&8[&cERROR&8] &r"
deny-messages:
permission: "&cNo permission to do /msg or /reply"
reload: "&cYou cant use the reload"
# %t is the player you tried to send to but is not online
msg-send: "&cPlayer &r%t &cis not &aonline&c!"
# after usage of the reply command and you have no one that have messaged you
reply: "&cThere's no one to reply to!"
# after reply to a offline player you get this message:
reply-send: "&cThe player you send to is not &aonline"
# after trying to send yourself a message you get this:
self-message: "&cWhy are you trying to send yourself a message?"
no-console: "&cThis command is only for players"
messages:
reload: "&aThe &creload &awas successfull"
# after reply you get this message: (%t is the player you sended to)
reply-success: "&aYour reply has been send to: &f%t"
lay-out:
# %s = sender (player who sends the message).
receiver: "&a%s &7=> &aYou&8: &f"
# %t = target (player who receive the message)
sender: "&aYou &7=> &a%t&8: &f"
usage:
command: "&cUsage: /msg <player> <message>"
reply: "&cUsage: /reply <message>"
# to get the sounds of 1.14.4
# go to: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Sound.html
sounds:
msg: "ENTITY_ARROW_SHOOT"
reply: "ENTITY_ARROW_SHOOT"
# the pitch of the sound
pitch:
msg: 1
reply: 1
# the volume of the sound
volume:
msg: 10
reply: 10
# Duration is in seconds
duration:
msg-actionbar: 1
reply-actionbar: 1
# actionbar messages for the player who gets the message.
actionbar:
msg: "&cSomeone just &ctexted &ayou"
reply: "&aThere's a &cnew reply"msg.reloadfalse(操作者OP)msg.use/msg 和 /reply 命令。false(操作者OP)msg.*false(操作者OP)- `msg.use: true`- `msg.reload: true`友情链接: 网易我的世界 | 泰拉瑞亚 | ocent云计算 | 米饭Minecraft插件文档 | 友链合作
历史访问人数:197,978 | 历史访问人次:303,377
今日访问人数:4,699 | 今日访问人次:5,128
昨日访问人数:30,537 | 昨日访问人次:36,142
Copyright © 2019-2026 我的世界服务器列表站. All rights reserved.
❤ Powered by GermMC 京ICP备17023959号-6