AutoToolReplacer icon

AutoToolReplacer -----

ツールが壊れた時に自動で予備に持ち替え



ツールが壊れた時に自動で予備に持ち替えします。

同ランク>上のランク>下のランク の優先順位。

MMOItemsの耐久値を使用したい場合は、 NBT-API を導入してください。


Code (YAML):

commands
:
  autotool
:
    description
: 自動ツール入れ替えの設定コマンド
    usage
: /autotool <enable|disable|reload|status>
    permission
: autotoolreplacer.admin

 

Code (YAML):

permissions
:
  autotoolreplacer.admin
:
    description
: 自動ツール入れ替えの管理権限
    default
: op
  autotoolreplacer.use
:
    description
: 自動ツール入れ替えの使用権限
    default
: true

 

Code (YAML):

# 自動ツール入れ替えプラグイン設定

# プラグインの有効/無効
enabled
: true

# デバッグモード
debug
: false

# メッセージ設定
messages
:
  tool-replaced
: "&a[自動ツール] %old_tool% が壊れたため、%new_tool% に入れ替えました。"
  no-replacement
: "&c[自動ツール] %tool% の代替品が見つかりませんでした。"
  plugin-enabled
: "&a[自動ツール] プラグインが有効になりました。"
  plugin-disabled
: "&c[自動ツール] プラグインが無効になりました。"
  config-reloaded
: "&a[自動ツール] 設定がリロードされました。"
  no-permission
: "&c権限がありません。"

# ツール置換設定
tool-replacement
:
  # 同ランクから探す
  prefer-same-rank
: true
  # 耐久値の最低値(これ以下は使わない)
  min-durability
: 10
  # 新品優先
  prefer-new-tools
: true

 

Resource Information
Author:
----------
Total Downloads: 5
First Release: Sep 6, 2025
Last Update: Sep 6, 2025
Category: ---------------
All-Time Rating:
0 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings