DiscordBans
带有 Discord 链接和灵活配置的管理插件
配置
启动服务器后,config.yml 将位于 plugins/DiscordBansN 中。
要开始使用此插件,必须填写以下字段:
discord-bot-id(非 Webhook ID)
discord-channel-id(发布处罚消息的频道)
您可以编辑插件配置文件中的每一行内容。
处罚类型
封禁 (Ban)
/ban player reason

示例:
/ban yokixq grief
临时封禁 (Tempban)
/tempban player time reason
示例:
/tempban yokixq 1d grief

警告 (Warns)
/warn type player time(optional) reason
插件中有三种类型的警告:
红色、橙色、黄色
红色 - 此警告只能由管理员移除,没有自动移除时间。
/warn red yokixq grief

黄色 - 此警告可以由管理员移除,也可以随时间自动移除。当黄色警告结束时,玩家将获得一个红色警告,且黄色警告会重新开始,直到管理员将其移除为止。
/warn yellow yokixq 1d grief

橙色 - 此警告可以由管理员移除,也可以随时间自动移除。如果玩家有 3 个橙色警告,他们将获得一个红色警告,且所有橙色警告将被清除。
/warn orange yokixq 1d grief

禁言 (Mute)
/mute player time reason
示例:
/mute yokixq 1d toxic

命令
| 命令 | 权限节点 | 说明 | DiscordSRV 挂钩 | 斜杠命令 |
|---|---|---|---|---|
| /ban | discordbansn.ban | 封禁玩家 | ✅ | ✅ |
| /unban | discordbansn.unban | 解除玩家封禁 | ✅ | ✅ |
| /tempban | discordbansn.tempban | 限时封禁玩家 | ✅ | ✅ |
| /discordbans | discordbansn.reload | 重载配置 / 显示版本 | ❌ | |
| /warn | discordbansn.warn | 警告玩家 | ✅ | ✅ |
| /unwarn | discordbansn.unwarn | 解除玩家警告 | ✅ | ✅ |
| /warns | discordbansn.warns | 查看你的警告(或查看其他玩家的警告) | ❌ | |
| /mute | discordbansn.mute | 禁言玩家 | ✅ | ✅ |
| /unmute | discordbansn.unmute | 解除玩家禁言 | ✅ | ✅ |
| /banlist | discordbansn.banlist | 显示封禁列表 | ❌ |
DiscordSRV 挂钩
如果你的服务器上安装了 DiscordSRV,该插件将在发送包含处罚的消息时 @提及玩家(前提是已开启链接功能)。
发现 Bug 或需要帮助?
想要了解未来更新或报告问题 => Discord
DiscordBans
Punishment plugin with discord link and flexible config
Configuration
After starting the server, config.yml will be in plugins/DiscordBansN.
To start working with the plugin you must fill the fields:
discord-bot-id (not webhook)
discord-channel-id (chanell where will publish punishments)
You can edit every string in plugin config
Type of punishments
Ban
/ban player reason

Example:
/ban yokixq grief
Tempban
/tempban player time reason
Example:
/tempban yokixq 1d grief

Warns
/warn type player time(optional) reason
In the plugin there is 3 types of warns
Red, Orange, Yellow
Red - This warn can only be removed by a moderator, no time to remove
/warn red yokixq grief

Yellow - This warn can be removed by the moderator and can be removed over time, when the yellow warning ends the player will be given a red warn, and the yellow warn will start again while moderator don't remove it
/warn yellow yokixq 1d grief

Orange - This warning can be removed by a moderator and can be removed over time. If a player has 3 orange warnings, they will receive a red warning and the orange warnings will be removed.
/warn orange yokixq 1d grief

Mute
/mute player time reason
Example:
/mute yokixq 1d toxic

Commands
| Command | Permission | Information | DiscordSRV Hook | Slash Command |
|---|---|---|---|---|
| /ban | discordbansn.ban | Ban a player | ✅ | ✅ |
| /unban | discordbansn.unban | Unban a player | ✅ | ✅ |
| /tempban | discordbansn.tempban | Ban a player for time | ✅ | ✅ |
| /discordbans | discordbansn.reload | Reload config / Show version | ❌ | |
| /warn | discordbansn.warn | Warn a player | ✅ | ✅ |
| /unwarn | discordbansn.unwarn | Unwarn a player | ✅ | ✅ |
| /warns | discordbansn.warns | See your warns (or another player) | ❌ | |
| /mute | discordbansn.mute | Mute a player | ✅ | ✅ |
| /unmute | discordbansn.unmute | Unmute a player | ✅ | ✅ |
| /banlist | discordbansn.banlist | Shows a list of bans | ❌ |
DiscordSRV Hook
If you have DiscordSRV on your server, the plugin will ping players in message with punishment (if linking turn on)
Find bug or need help?
Do you want to know about future updates or report a problem => Discord
下载 DiscordBans
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 DiscordBans
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 DiscordBans
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 DiscordBans
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 DiscordBans
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 DiscordBans
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 DiscordBans
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 DiscordBans
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 DiscordBans
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 DiscordBans
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
修复了插件使用 MySQL 时负载过高的问题
优化了部分命令
如发现 bug,请在我的 Discord 中报告
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
ExyliaPlugins 的库。
插件
通过对话框或铁砧界面帮助你的 Anthme
插件
自定义你的Minecraft头像!
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
评论 0
登录后参与评分
还没有评论,来抢沙发吧