通用描述
命令
该插件仅有一个命令:/advancedmute reload。
与许多其他插件一样,此命令允许您在无需重启服务器的情况下重新加载配置文件。
封禁机制
该插件本身不执行封禁操作。
如果在配置文件中将 AdvancedBans 或 LiteBans 的选项设置为 true:
AdvancedBans:
enabled: true # 如果您使用的是 AdvancedBans,请将其设为 true
command: "tempmute %player% %duration% %reason%"
LiteBans:
enabled: false # 如果您使用的是 LiteBans,请将其设为 true
command: "mute %player% %duration% %reason%"
插件将在控制台中运行 command: 下方指定的命令。
Webhook 系统
每当插件执行一次封禁时,它会向您在此处设置的 Discord webhook 发送一条消息:
discord-log-webhook-url: "PUT_WEBHOOK_HERE"
通过将封禁操作记录到 Discord,这使得管理变得更加便捷。
配置文件
discord-log-webhook-url: "PUT_WEBHOOK_HERE" # 当玩家被禁言时发送 Discord 通知
AdvancedBans:
enabled: false # 如果您使用的是 AdvancedBans,请将其设为 true
command: "mute %player% %duration% %reason%" # 请勿在开头添加 "/"!
LiteBans:
enabled: false # 如果您使用的是 LiteBans,请将其设为 true
command: "mute %player% %duration% %reason%" # 请勿在开头添加 "/"!
BannedWords:
Ailevi:
Words:
- "examplebadword1"
- "examplebadword2"
Duration:
Value: 2
Unit: h # 时间单位:m = 分钟, h = 小时, d = 天
Color: 16711680
Reason: "涉及家庭的粗俗用语"
Slang:
Words:
- "exampleslang1"
Duration:
Value: 30
Unit: m # m = 分钟, h = 小时, d = 天
Color: 16776960
Reason: "使用俚语词汇"
正如前面所述,Discord 日志、AdvancedBans 和 LiteBans 部分非常简单明了。
现在我们来谈谈 BannedWords 部分——这是插件最重要的部分。
在此部分中,您可以为违禁词组创建分类。
例如:
Family:
Words:
- "examplebadword1"
- "examplebadword2"
Duration:
Value: 2
Unit: h
Color: 16711680
Reason: "涉及家庭的粗俗用语"
在这里,创建了一个名为 Family 的分类,并将该分类下的违禁词列在 Words: 下。
每当玩家输入列表中的任何单词时,插件就会触发并根据持续时间设置应用封禁。
权限
advancedmute.bypass -> 允许玩家使用违禁词而不被禁言
advancedmute.reload -> 允许玩家使用重载命令
如果您有任何问题、建议或需要报告错误,可以通过 Discord 联系我:nadir_aksolotl
这是我的第二个插件——非常感谢您的反馈!
通用描述
- AdvancedMute 是一款 Minecraft Bukkit/Paper 插件。其目的是:
- 过滤玩家的聊天消息。
- 自动禁言使用违禁词的玩家。
- 向 Discord 发送日志。
- 与 AdvancedBans 或 LiteBans 等其他禁言系统兼容工作。
命令
- 插件中仅有 /advancedmute reload 命令,该命令与其他大多数插件一样,允许您在无需重启服务器的情况下重新加载配置文件。
禁言处理
插件本身不执行禁言操作。
如果配置文件中 AdvancedBans 或 LiteBans 选项设置为 true:
AdvancedBans:
enabled: true # 如果您使用 AdvancedBans,请设为 true
command: "tempmute %player% %duration% %reason%"
LiteBans:
enabled: false # 如果您使用 LiteBans,请设为 true
command: "mute %player% %duration% %reason%"
它会在控制台中执行 command: 下方编写的命令。
WebHook 系统
插件对每次发出的禁言,都会通过您在此处配置的 webhook 以消息形式发送到 Discord:
discord-log-webhook-url: "PUT_WEBHOOK_HERE"
这通过将禁言操作记录到 Discord 来简化管理工作。
配置文件
discord-log-webhook-url: "PUT_WEBHOOK_HERE" # 当玩家被禁言时作为通知发送到 Discord
AdvancedBans:
enabled: false # 如果您使用 AdvancedBans,请设为 true
command: "mute %player% %duration% %reason%" # 不要在开头加上 "/"!
LiteBans:
enabled: false # 如果您使用 LiteBans,请设为 true
command: "mute %player% %duration% %reason%" # 不要在开头加上 "/"!
BannedWords:
Ailevi:
Words:
- "examplebadword1"
- "examplebadword2"
Duration:
Value: 2
Unit: h # 时间单位 m = 分钟 h = 小时 d = 天
Color: 16711680
Reason: "使用家庭相关脏话"
Slang:
Words:
- "exampleslang1"
Duration:
Value: 30
Unit: m # 时间单位 m = 分钟 h = 小时 d = 天
Color: 16776960
Reason: "使用俚语词汇"
之前我已经解释过 Discord 日志、AdvancedBans 和 LiteBans 部分,现在让我们看看其他部分,
BannedWords 部分是插件最重要的地方之一。在这里,您首先创建一个违禁词类别,就像配置文件中那样;
Ailevi:
Words:
- "examplebadword1"
- "examplebadword2"
Duration:
Value: 2
Unit: h # 时间单位 m = 分钟 h = 小时 d = 天
Color: 16711680
Reason: "使用家庭相关脏话"
例如这里创建了“家庭”类别,并将属于该类别的词语写在 Words 部分。当玩家输入这些 words 中列出的词语时,插件会被触发,并根据 duration 部分的信息进行禁言。
权限
advancedmute.bypass -> 允许使用违禁词
advancedmute.reload -> 允许使用 reload 命令
如有疑问、建议或需报告错误,请联系我的 Discord:nadir_aksolotl。
这是我制作的第二款插件,如果您能发表意见我将不胜感激。
General Description
-
AdvancedMute is a Minecraft Bukkit/Paper plugin. Its purpose is:
-
Filtering players’ chat messages
-
Automatically muting players who use banned words
-
Sending logs to Discord
-
Working compatibly with other mute systems such as AdvancedBans or LiteBans
Command
The plugin has only one command: /advancedmute reload.
Just like in many other plugins, this command allows you to reload the config without restarting the server.
Mute System
The plugin does not handle the mute by itself.
If the option for AdvancedBans or LiteBans is set to true in the config:
AdvancedBans:
enabled: true # Set to true if you are using AdvancedBans
command: "tempmute %player% %duration% %reason%"
LiteBans:
enabled: false # Set to true if you are using LiteBans
command: "mute %player% %duration% %reason%"
The plugin will run the command written under command: in the console.
WebHook System
For each mute the plugin issues, it sends a message to the Discord webhook you set here:
discord-log-webhook-url: "PUT_WEBHOOK_HERE"
This makes moderation easier by logging mute actions to Discord.
Config File
discord-log-webhook-url: "PUT_WEBHOOK_HERE" # Sends a Discord notification when a player is muted
AdvancedBans:
enabled: false # Set to true if you are using AdvancedBans
command: "mute %player% %duration% %reason%" # Do NOT put "/" at the beginning!
LiteBans:
enabled: false # Set to true if you are using LiteBans
command: "mute %player% %duration% %reason%" # Do NOT put "/" at the beginning!
BannedWords:
Ailevi:
Words:
- "examplebadword1"
- "examplebadword2"
Duration:
Value: 2
Unit: h # time units: m = minutes, h = hours, d = days
Color: 16711680
Reason: "Family-related profanity"
Slang:
Words:
- "exampleslang1"
Duration:
Value: 30
Unit: m # m = minutes, h = hours, d = days
Color: 16776960
Reason: "Use of slang word"
As already explained, the Discord log, AdvancedBans, and LiteBans parts are straightforward.
Now let’s talk about the BannedWords section — the most important part of the plugin.
In this section you create categories for banned-word groups.
For example:
Family:
Words:
- "examplebadword1"
- "examplebadword2"
Duration:
Value: 2
Unit: h
Color: 16711680
Reason: "Family-related profanity"
Here, a category named Family is created, and the banned words inside this category are listed under Words:.
Whenever a player types any of the words in this list, the plugin triggers and applies a mute based on the duration settings.
Permissions
advancedmute.bypass -> Allows the player to use banned words without being muted
advancedmute.reload -> Allows the player to use the reload command
If you want to ask something, suggest ideas, or report bugs, you can contact me on Discord: nadir_aksolotl
This is my second plugin — I’d appreciate hearing your thoughts!
Genel Tanım
- AdvancedMute bir Minecraft Bukkit/Paper pluginidir. Amacı:
- Oyuncuların chat mesajlarını filtrelemek.
- Yasaklı kelime kullanan oyuncuları otomatik olarak mute etmek.
- Discord’a log göndermek.
- AdvancedBans veya LiteBans gibi başka mutelerle uyumlu çalışmak.
Komut
- Pluginde sadece /advancedmute reload komutu bulunmaktadır bu komut diğer her pluginde olduğu gibi configi sunucuya restart atmanız gerekmeden yeniden yüklemenizi sağlar
Mute İşlemi
Plugin, mute işlemini kendi başına yapmaz.
Eğer configde AdvancedBans veya LiteBans seçeneği true ise
AdvancedBans:
enabled: true # Eğer AdvancedBans kullanıyorsanız true yapın
command: "tempmute %player% %duration% %reason%"
LiteBans:
enabled: false # Eğer LiteBans kullanıyorsanız true yapın
command: "mute %player% %duration% %reason%"
altında yazan command: kısmındaki komutu console da çalıştırır
WebHook Sistemi
Plugin, attığı her muteyi sizin
discord-log-webhook-url: "BURAYA_WEBHOOK"
configdeki bu kısma yazdığınız webhook ile mesaj olarak discorda gönderir böylece denetleme kolaylaşır
Config Dosyası
discord-log-webhook-url: "BURAYA_WEBHOOK" # Oyuncular mutelenince bildirim olarak discorda gönderir
AdvancedBans:
enabled: false # Eğer AdvancedBans kullanıyorsanız true yapın
command: "mute %player% %duration% %reason%" # başına "/" koyarsanız çalışmaz!
LiteBans:
enabled: false # Eğer LiteBans kullanıyorsanız true yapın
command: "mute %player% %duration% %reason%" # başına "/" koyarsanız çalışmaz!
BannedWords:
Ailevi:
Words:
- "örnekküfür1"
- "örnekküfür2"
Duration:
Value: 2
Unit: h # zaman birimi m = dakika h = saat d = gün
Color: 16711680
Reason: "Ailevi küfür kullanımı"
Argo:
Words:
- "örnekargo1"
Duration:
Value: 30
Unit: m # zaman birimi m = dakika h = saat d = gün
Color: 16776960
Reason: "Argo kelime kullanımı"
zaten discord log, advancedbans ve litebans kısmını anlatmıştım gelelim diğer kısımlara,
BannedWords kısmı işte pluginin en önemli yerlerinden. Burada önce bir yasaklı kelime sınıfı oluşturursunuz configde olduğu gibi;
Ailevi:
Words:
- "örnekküfür1"
- "örnekküfür2"
Duration:
Value: 2
Unit: h # zaman birimi m = dakika h = saat d = gün
Color: 16711680
Reason: "Ailevi küfür kullanımı"
mesela burada olduğu gibi ailevi sınıfı oluşturulmuş ve bu sınıfa giren kelimeler Words Kısmına yazılmış bu words de yazan kelimeleri oyuncular yazdığında plugin tetikleniyor ve duration kısmında yazan bilgilerle mute artar.
Permissionlar
advancedmute.bypass -> yasaklı kelimeleri kullanma izni verir
advancedmute.reload -> reload komutunu kullanma izni verir
Anlamadığınız yerleri sormak, öneride bulunmak ve ya hata bildirmek için discordum: nadir_aksolotl.
bu 2. yaptığım pluginim düşüncelerinizi belirtirseniz sevinirim.
评论 0
登录后参与评分
还没有评论,来抢沙发吧