? 概述
SimpleMsgPlugin 增加了向其他玩家发送私聊消息、设置通知音效、发送离线消息、管理黑名单以及创建群组的功能。
此处展示的所有技术设置和功能均针对该插件的最新版本,在旧版本中不一定适用。
? 命令
以下是该插件中可用的所有命令:
/helpmsg - 此命令用于显示所有可用的插件命令
/reloadmsg - 此命令用于重新加载插件配置文件
/propmsg <property> <args> - 此命令用于设置玩家属性
/msg <player> <message> - 此命令用于向指定玩家发送私聊消息
/reply <message> - 此命令用于回复最后给你发消息的玩家
/mail - 此命令用于查看未读消息
/acceptsend - 此命令用于接受发送离线消息
/notify <sound> <volume> - 此命令用于更改通知音效
/privatechat <action> <arg>(if required) - 此命令用于与私聊功能交互
/blacklist <action> <args> - 此命令用于管理黑名单
? 更改默认音效
默认情况下,音效处于关闭状态('false'),但你可以更改它。
你需要使用大写和下划线来指定音效名称。
示例 - default_sound: 'entity.player.levelup'
你可以在 这里 找到所有音效。
遗憾的是,并非所有这些音效都能正确播放。
因此,如果某个音效无法正常工作并报错,请更换其他音效。
? 更改默认音量
默认情况下,通知音效的音量设置为 default_volume: 50,但可以更改。
音量值必须指定在 0 到 100 的范围内。
? 更改消息样式
所有消息均使用 MiniMessage 格式。你可以在 这里 创建消息模板。
示例: <color:#ffff55>Message</color> - Message
⚙️ 开发者或管理员设置
你可以在配置文件中配置是否允许给自己发送消息 send_msg_yourself: false。
默认值为 false,但可以更改为 true
该插件拥有以下权限:
| Permissions |
Meaning |
simplemsgplugin.helpmsg |
使用命令 helpmsg 的权限 |
simplemsgplugin.reloadmsg |
使用命令 reloadmsg 的权限 |
simplemsgplugin.propertiesmsg |
使用命令 propmsg 的权限 |
simplemsgplugin.playermsg |
使用命令 msg 的权限 |
simplemsgplugin.replymsg |
使用命令 reply 的权限 |
simplemsgplugin.acceptsend |
使用命令 acceptsend 的权限 |
simplemsgplugin.mailmsg |
使用命令 mail 的权限 |
simplemsgplugin.notificationmsg |
使用命令 notify 的权限 |
simplemsgplugin.privatechat |
使用命令 privatechat 的权限 |
simplemsgplugin.blacklist |
使用命令 blacklist 的权限 |
simplemsgplugin.update_listener |
接收更新通知的权限 |
❗ 问题
请在 这里 或 Discord 上留下你发现的任何错误信息。
? 社交媒体
? 指标
? Overview
SimpleMsgPlugin adds the ability to send private messages to other players, set notification sounds, send offline messages, manage blacklists, and create groups.
All technical settings and features presented here are for the latest version of the plugin and will not always work on older versions.
? Commands
Here are all the commands that can be used in the plugin:
/helpmsg - This command allows you to display all possible plugin commands
/reloadmsg - This command allows you to reload the plugin config
/propmsg <property> <args> - This command allows you to set player properties
/msg <player> <message> - This command allows you to send private messages to the player
/reply <message> - This command allows you to send a private message to the last player who wrote to you
/mail - This command allows you to view unread messages
/acceptsend - This command allows you to accept sending an offline message
/notify <sound> <volume> - This command allows you to change the notification sound
/privatechat <action> <arg>(if required) - This command allows you to interact with private chats
/blacklist <action> <args> - This command allows you to manage the blacklist
? Change default sound
By default, the sound is turned off 'false', but you can change it.
It is necessary to indicate the name of the sound in uppercase and with underscores.
Example - default_sound: 'entity.player.levelup'
All sounds you can find here.
Unfortunately not all of these sounds can be reproduced correctly.
Therefore, if the sound doesn't work and gives an error, then you should change the sound.
? Change default volume
By default, the volume of notification sounds is set to default_volume: 50, but it can be changed.
The volume value must be specified in the range from 0 to 100.
? Change message style
All messages use the MiniMessage format. Here you can create a message template.
Example: <color:#ffff55>Message</color> - Message
⚙️ Settings for developers or administrators
In the config you can configure sending messages to yourself send_msg_yourself: false.
By default, the value is false, but can be changed to true
The plugin has permissions:
| Permissions |
Meaning |
simplemsgplugin.helpmsg |
Permission to use command helpmsg |
simplemsgplugin.reloadmsg |
Permission to use command reloadmsg |
simplemsgplugin.propertiesmsg |
Permission to use command propmsg |
simplemsgplugin.playermsg |
Permission to use command msg |
simplemsgplugin.replymsg |
Permission to use command reply |
simplemsgplugin.acceptsend |
Permission to use command acceptsend |
simplemsgplugin.mailmsg |
Permission to use command mail |
simplemsgplugin.notificationmsg |
Permission to use command notify |
simplemsgplugin.privatechat |
Permission to use command privatechat |
simplemsgplugin.blacklist |
Permission to use command blacklist |
simplemsgplugin.update_listener |
Permission to receive update notifications |
❗ Issues
Please leave messages about any errors you find here or on the Discord
? Social Media
? Metrics
评论 0
登录后参与评分
还没有评论,来抢沙发吧