旧形式のBottledExp(経験値ボトル)をCMI互換形式に変換するBukkitプラグインです。
{
count: 1,
id: "minecraft:experience_bottle",
components: {
"minecraft:custom_data": {
StoredBottledExp: 4339720L,
PublicBukkitValues: {
"cmistoredbottledexp": 4339720L
}
},
"minecraft:custom_name": '...',
"minecraft:lore": ['Stored Exp: 4339720']
}
}
{
count: 1,
id: "minecraft:experience_bottle",
components: {
"minecraft:custom_data": {
PublicBukkitValues: {
"cmilib:storedbottledexp": 4339720
}
},
"minecraft:custom_name": '...',
"minecraft:lore": ['Stored Exp: 4339720']
}
}
| 項目 | 変換前 | 変換後 |
|---|---|---|
| キー名 | cmistoredbottledexp |
cmilib:storedbottledexp |
| データ型 | Long (L付き) |
Integer |
| 不要キー | StoredBottledExp |
削除 |
| コマンド | 説明 | 権限 |
|---|---|---|
/bexpconvert convert |
手持ちのBottledExpを変換 | bottledexpconverter.convert |
/bexpconvert reload |
設定を再読み込み | bottledexpconverter.reload |
/bexpconvert status |
ステータスを表示 | bottledexpconverter.convert |
エイリアス: /bexpc
# 自動変換を有効にするかどうか
# true: 以下のタイミングで自動変換
# - プレイヤーがログインした時(インベントリ全体)
# - エンダーチェストを開いた時(中身を全スキャン)
# - アイテムを拾った時
# - インベントリでアイテムをクリックした時
# - 旧形式のBottledExpを投げようとした時(投擲をキャンセルして変換)
# false: /bexpconvert convert コマンドでのみ変換
# デフォルト: false(安全のため手動変換推奨)
auto-convert: false
# デバッグモード(詳細なログを出力)
debug: false
# 変換時にプレイヤーにメッセージを送信するかどうか
notify-player: true- Releases から最新のJARをダウンロード
pluginsフォルダに配置- サーバーを再起動
- Minecraft 1.21+
- Paper/Spigot サーバー
./gradlew buildJARファイルは build/libs/ に生成されます。
MIT License