
DiscordBridgeJP
A plugin that bridges Minecraft chat and Discord chat. / マインクラフトチャットとディスコードチャットを連携するプラグイン
Список изменений
DiscordBridgeJP 1.1.3
Changes since the initial release (1.0.0).
🆕 New Features
Discord-Leave Detection Detects when a linked player leaves the Discord server and blocks their next login until they rejoin and re-verify. Also runs a bulk presence check whenever the Bot reconnects, so leaves that happen while the Bot is offline are still caught.
Stronger Account Link Management
/discordbridgejp timeout/removetimeout: manually block or unblock a player's login/discordbridgejp unlink <player>: admin can forcibly unlink another player's account (applies a timeout depending on their Discord presence)- New Discord command
!auth <player> <DiscordID>: force-link an account (admin, or a configured role) - Kick screens for Discord-leave / unlink now show the reason and a re-verification code
Per-Notification Maintenance Controls During maintenance mode, join/leave, first-join, advancement, death, server startup/shutdown, and chat relay can each be toggled independently.
Separated Bot Credentials
Bot token and channel IDs have been moved out of config.yml into a new bot.yml, to reduce the risk of accidentally leaking them.
Per-Command Permissions
Admin commands, previously bundled entirely under discordbridgejp.admin, now each have their own permission node. You can grant a moderator access to just one specific command via LuckPerms.
🔧 Fixes & Improvements
- Fixed Webhook breaking every time
/discordbridgejp reloadwas run - Fixed advancement/death notifications not being localized to Japanese correctly
- Role color now updates instantly instead of after a delay
- Link codes no longer use easily-confused characters (0/O, 1/I/L) and are no longer bold (better readability)
- Tab completion for timeout/removetimeout/unlink now prioritizes online players and excludes yourself
- Fixed a client crash on the kick screen for some players connecting via ViaVersion
- Various config.yml/messages.yml settings and comments cleaned up
📎 Bundled Update Guide & Reference Files
To make updating from 1.0.0 easier, this version bundles 5 files:
update-guide.txt/update-guide-en.txt: step-by-step guide for what to add/move where (Japanese/English)update-config.yml.txt/update-bot.yml.txt/update-messages.yml.txt: complete reference copies of each config file
These are only needed for the update process — once your config is updated and the server is confirmed working, feel free to delete them from plugins/DiscordBridgeJP/.
⚠️ Update Notes
Some config.yml settings, and the new bot.yml, are not migrated automatically. Please follow the bundled update guide to move your existing bot-token and channel IDs into bot.yml, and add the new config sections manually.
DiscordBridgeJP 1.1.3(日本語)
初回リリース(1.0.0)からの主な変更点です。
🆕 新機能
Discordサーバー離脱検知 連携済みプレイヤーがDiscordサーバーを抜けたことを検知し、再参加・再認証するまで次回ログインをブロックします。Botの接続断・再起動をまたいだ場合も、再接続時に自動で在籍状況を一括チェックします。
アカウント連携の管理強化
/discordbridgejp timeout/removetimeout: 管理者がプレイヤーのログインを手動でブロック/解除/discordbridgejp unlink <player>: 管理者による他プレイヤーの強制連携解除(在籍状況に応じてタイムアウト付与)- Discord側の新コマンド
!auth <player> <DiscordID>: 管理者または指定ロールによる強制連携 - 連携解除・Discord離脱時のキック画面に、理由と再連携用コードを表示するようになりました
メンテナンスモードの通知制御 メンテナンス中に、参加/退出/初参加/進捗/死亡/サーバー起動停止/チャット中継を、それぞれ個別にON/OFFできるようになりました。
Bot接続情報の分離
Botトークンや各チャンネルIDをconfig.ymlからbot.ymlという新しいファイルに分離し、漏洩リスクを減らしました。
権限の細分化
これまでdiscordbridgejp.admin1つに集約されていた管理コマンドに、コマンドごとの個別権限を追加しました。LuckPermsで、特定のコマンドだけを扱えるモデレーターを簡単に作成できます。
🔧 改善・修正
/discordbridgejp reloadのたびにWebhookが壊れる不具合を修正- 進捗達成・死亡通知が正しく日本語化されない不具合を修正
- ロール色の反映が遅延する場合があった問題を、即時反映に改善
- 連携コードから紛らわしい文字(0/O、1/I/L)を除外し、太字装飾を廃止して視認性を改善
- timeout/removetimeout/unlinkのタブ補完に、オンライン優先・自分自身を除外する挙動を追加
- ViaVersion経由の一部クライアントでキック画面がクラッシュする不具合を修正
- その他、config.yml/messages.ymlの各種設定項目とコメントを整理
📎 アップデート手順書・サンプルファイルの同梱
1.0.0からの移行を分かりやすくするため、以下5ファイルをjarに同梱しました。
update-guide.txt/update-guide-en.txt: 何をどこに追記・移動すればいいかの手順書(日本語/English)update-config.yml.txt/update-bot.yml.txt/update-messages.yml.txt: 各設定ファイルの完成形サンプル
これらは移行作業のためだけの参考資料です。設定変更後、サーバーが正常に動作することを確認できたら、plugins/DiscordBridgeJP/フォルダから削除して構いません。
⚠️ アップデート時の注意
config.ymlの一部項目、および新設のbot.ymlは、旧バージョンから自動移行されません。同梱の手順書に従って、既存のbot-tokenと各チャンネルIDをbot.ymlへ移し、新しいconfigセクションを手動で追記してください。
