DiscordBans

插件

· 作者 yokixq

封禁、静音和警告功能,支持 Discord 日志记录、斜杠命令以及 DiscordSRV 集成。

0 本站下载 0 关注 更新于 3 小时前

最新 2.39 · 26.3 · Bukkit / Paper

一键开服(送7天)

DiscordBans

一款带有 Discord 链接和灵活配置选项的惩罚插件。

配置

启动服务器后,config.yml 将位于 plugins/DiscordBansN 目录下。 要开始使用此插件,必须填写以下字段:
discord-bot-id(非 webhook ID)
discord-channel-id(发布惩罚消息的频道 ID)

您可以编辑插件配置文件中的每一行内容。

惩罚类型

封禁 (Ban)

/ban player reason

ban embed

示例: /ban yokixq grief

临时封禁 (Tempban)

/tempban player time reason

示例: /tempban yokixq 1d grief

tempban embed

警告 (Warns)

/warn type player time(optional) reason

插件中有三种类型的警告:

红色、橙色、黄色

红色警告 - 此警告只能由管理员移除,没有自动解除时间。

/warn red yokixq grief

red warn embed

黄色警告 - 此警告可由管理员移除,也可随时间自动解除。当黄色警告结束时,玩家将获得一个红色警告,而黄色警告将重新开始计时,直到管理员将其移除。

/warn yellow yokixq 1d grief

yellow warn embed

橙色警告 - 此警告可由管理员移除,也可随时间自动解除。如果玩家拥有 3 个橙色警告,他们将获得一个红色警告,且所有橙色警告将被清除。

/warn orange yokixq 1d grief

orange warn embed

禁言 (Mute)

/mute player time reason

示例: /mute yokixq 1d toxic

mute embed

命令

命令 权限 描述 斜杠命令 DiscordSRV
/ban <player> <reason> discordbansn.ban 永久封禁玩家 ✅ ✅
/tempban <player> <time> <reason> discordbansn.tempban 临时封禁玩家一段时间 ✅ ✅
/unban <player> discordbansn.unban 解除玩家封禁 ✅ ✅
/mute <player> <time> <reason> discordbansn.mute 禁言玩家 ✅ ✅
/unmute <player> discordbansn.unmute 解除玩家禁言 ✅ ✅
/warn <type> <player> [time] <reason> discordbansn.warn 警告玩家 ✅ ✅
/unwarn <player> <id> discordbansn.unwarn 通过 ID 移除警告 ✅ ✅
/kick <player> <reason> discordbansn.kick 踢出玩家 ✅ ❌
/warns [player] discordbansn.warns 查看你的警告记录(查看他人需要 discordbansn.warnsother) ❌ ❌
/banlist [bans|tempbans|all] discordbansn.banlist 列出封禁名单 ❌ ❌
/discordbans [reload|version] discordbansn.reload 用于重载 重载配置或显示版本信息 ❌ ❌

DiscordSRV 挂钩

如果你的服务器上安装了 DiscordSRV,该插件将在带有惩罚的消息中 @提及玩家(如果启用了链接功能)。

发现 Bug 或需要帮助?

想了解未来更新或报告问题 => Discord

你是这个资源的作者?登录后可认领此资源。

评论 0

0.0
暂无评分
5 星
0
4 星
0
3 星
0
2 星
0
1 星
0
我的评分

登录后参与评分

还没有评论,来抢沙发吧

评论配图

相似资源