A simple BungeeCord reporting plugin that links to Discord BungeeCord用 Discord通報・処罰連携プラグイン
A Discord-integrated report and punishment plugin for BungeeCord.
config.yml.config.yml)# Discord Webhook Settings
channel_webhook: ""
mention: "<@userid>, <@&roleid>\n"
# Jail Settings
jail_server: "jail" # The name of the jail server
jail_bypass_permission: "jail.bypass" # Permission to bypass jail restrictions
# Report System Settings
min_valid_reporters_count: 2 # Minimum number of reporters required
min_reporter_playtime_hours: 2 # Minimum playtime (in hours) required for a reporter to be counted
required_playtime_multiplier: 3 # Playtime multiplier for punishment logic
report_cooldown_minutes: 5 # Cooldown between reports (0 for no cooldown)
# Punishment Settings
punishment_type: "jail" # Options: jail = Send to jail server, ban = ProxyBan
ban_message: "&cYou have been banned due to reports.\n&7If you wish to appeal, please contact the administrator."
# Punishment Log Webhook
punishment_log_webhook: "" # If empty, uses channel_webhook by default
# Execution Commands
send_command:
- "ban {player} Automated BAN based on reports"
# You can add multiple lines of commands here
The plugin automatically executes a punishment if the following conditions are met:
min_valid_reporters_count: There must be at least a reporters who satisfy the minimum playtime requirement.min_reporter_playtime_hours: Reporters with playtime less than b hours are recorded but not counted toward the automated punishment trigger.required_playtime_multiplier: The total playtime of all valid reporters must be equal to or greater than:report_cooldown_minutes.0 for no limit. If set to 5, players can only submit one report every 5 minutes.When a BAN or Jail occurs, the following details are sent via Webhook. If punishment_log_webhook is empty, it defaults to the channel_webhook URL.
**Type**: BAN
**Target**: playerName
**Reason**: Cheating
**Executor**: staffName
BungeeCord用 Discord通報・処罰連携プラグイン
# Discord Webhook設定
channel_webhook: ""
mention: "<@userid>, <@&roleid>\n"
# 監獄サーバー設定
jail_server: "jail" # 監獄サーバー名
jail_bypass_permission: "jail.bypass" # 監獄制限を無効化する権限
# 通報システム設定
min_valid_reporters_count: 2 # 最低通報人数
min_reporter_playtime_hours: 2 # 通報に必要な最低プレイ時間(時間)
required_playtime_multiplier: 3 # 必要プレイ時間倍率
report_cooldown_minutes: 5 # 通報のクールダウン(分)。0で無制限
# 処罰設定
punishment_type: "jail" # jail=投獄, ban=ProxyBan
ban_message: "&cあなたは通報によりBANされました。\n&7異議がある場合は管理者までご連絡ください。"
# 処罰ログWebhook送信設定
punishment_log_webhook: "" # 空ならchannel_webhookと同じWebhookを使う
# 実行コマンド
send_command:
- "ban {player} 通報による自動BAN"
# ここに複数行コマンドを追加可能
min_valid_reporters_count(最低通報人数)… プレイ時間b以上の通報者がa人以上必要min_reporter_playtime_hours(最低プレイ時間)… この時間未満の通報者はカウントしない(記録は残る)required_playtime_multiplier(必要プレイ時間倍率)… 有効通報者のプレイ時間合計が「対象プレイヤーのプレイ時間×倍率」以上で自動BAN/投獄A1(1時間), A2(5時間), A3(4時間), B(3時間)
a=2, b=2, c=3 のとき、
report_cooldown_minutesで通報の頻度を制限できますpunishment_log_webhookが空ならchannel_webhookと同じURLを使います**種類**: BAN
**対象**: playerName
**理由**: チート行為
**実行者**: staffName