Breaking Tools Drop Op Loot

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.0.0
本资源为搬运资源,原资源地址: https://modrinth.com/mod/breakingtoolsdropoploot
资源信息

Minecraft 版本: 1.21.4

平台: folia paper purpur

标签: game-mechanics minigame

资源介绍

OP Breaking Tools

All tools drop OP loot when they break. This plugin provides a way to change the OP loot that is dropped through a configurable config.yml file.

Features

  • Tools drop OP loot when they break.
  • Configurable loot items and enchantments.
  • Commands to start, stop, and reload the plugin.
  • Customizable messages through language files.

Commands

/opbreakingtools start

Use this command to start the plugin. This will enable the plugin to drop OP loot when tools break.

/opbreakingtools stop

Use this command to stop the plugin. This will disable the plugin from dropping OP loot when tools break.

/opbreakingtools reload

Use this command to reload the plugin. This will reload the config and language files.

/opbreakingtools help

Use this command to display the help message with available commands.

Configuration

The plugin uses a config.yml file to manage settings. Here is an example configuration:

loot:
  - material: ENDER_PEARL
    amount: 1-3
  - material: GOLDEN_APPLE
    amount: 3-5
  - material: GOLDEN_CARROT
    amount: 16-32
  - material: IRON_INGOT
    amount: 6-10
  - material: DIAMOND
    amount: 6-10
  - material: IRON_HELMET
    enchantments:
      - type: UNBREAKING
        level: 3
      - type: PROTECTION
        level: 1-6
  - material: DIAMOND_HELMET
    enchantments:
      - type: UNBREAKING
        level: 3
      - type: PROTECTION
        level: 1-6
  - material: IRON_CHESTPLATE
    enchantments:
      - type: UNBREAKING
        level: 3
      - type: PROTECTION
        level: 1-6
  - material: DIAMOND_CHESTPLATE
    enchantments:
      - type: UNBREAKING
        level: 3
      - type: PROTECTION
        level: 1-6
  - material: IRON_LEGGINGS
    enchantments:
      - type: UNBREAKING
        level: 3
      - type: PROTECTION
        level: 1-6
  - material: DIAMOND_LEGGINGS
    enchantments:
      - type: UNBREAKING
        level: 3
      - type: PROTECTION
        level: 1-6
  - material: IRON_BOOTS
    enchantments:
      - type: UNBREAKING
        level: 3
      - type: PROTECTION
        level: 1-6
  - material: DIAMOND_BOOTS
    enchantments:
      - type: UNBREAKING
        level: 3
      - type: PROTECTION
        level: 1-6
  - material: IRON_AXE
    enchantments:
      - type: SHARPNESS
        level: 1-6
  - material: DIAMOND_AXE
    enchantments:
      - type: SHARPNESS
        level: 1-6
  - material: IRON_SWORD
    enchantments:
      - type: SHARPNESS
        level: 1-6
  - material: DIAMOND_SWORD
    enchantments:
      - type: SHARPNESS
        level: 1-6
  - material: TRIDENT
    enchantments:
      - type: RIPTIDE
        level: 3
      - type: UNBREAKING
        level: 3
  - material: DIAMOND_PICKAXE
    enchantments:
      - type: EFFICIENCY
        level: 5-10
      - type: UNBREAKING
        level: 3
  - material: NETHERITE_SWORD
    enchantments:
      - type: SHARPNESS
        level: 1-6
      - type: UNBREAKING
        level: 3
  - material: NETHERITE_AXE
    enchantments:
      - type: SHARPNESS
        level: 1-6
      - type: UNBREAKING
        level: 3
  - material: NETHERITE_PICKAXE
    enchantments:
      - type: EFFICIENCY
        level: 5-10
      - type: UNBREAKING
        level: 3
  - material: ELYTRA
  - material: ENCHANTED_GOLDEN_APPLE
    amount: 1-2
  - material: TOTEM_OF_UNDYING
  - material: MACE
    enchantments:
      - type: DENSITY
        level: 0-4
      - type: FIRE_ASPECT
        level: 0-1

Language

Customizable messages are stored in

en_us.lang.yml

. Here is an example:

# Prefix which will be shown before all the messages.
prefix: "<gold>OP Break Tools <gray>»<white>"
help-title: "<gold>Help: <b>%command%"
# Messages for commands:
commands:
  # /opbreakingtools reload
  reload: "<green>Configurations and languages reloaded."
  # /opbreakingtools start
  start:
    # Message when the game is started.
    started: "<green>Game started."
    # Message when the game is already running.
    already-running: "<red>Game is already running."
  # /opbreakingtools stop
  stop:
    # Message when the game is stopped.
    stopped: "<green>Game stopped."
    # Message when the game is not running.
    not-running: "<red>Game is not running."
  # /opbreakingtools help
  help: |-
    <yellow>/opbreakingtools start <gray>- <white>Use this command to start the plugin. This will enable the plugin to drop OP loot when tools break.
    <yellow>/opbreakingtools stop <gray>- <white>Use this command to stop the plugin. This will disable the plugin from dropping OP loot when tools break.
    <yellow>/opbreakingtools reload <gray>- <white>Use this command to reload the plugin's configurations and languages.
    <yellow>/opbreakingtools help <gray>- <white>Show this help message.

Permissions

The plugin uses the following permissions:

  • opbreakingtools: Permission to use the /opbreakingtools command.

Installation

  1. Download the plugin jar file.
  2. Place the jar file in your server's plugins directory.
  3. Start or restart your server.
  4. Configure the plugin by editing the

config.yml

and

en_us.lang.yml

files in the plugins/opbreakingtools directory.
5. Use the /opbreakingtools commands to manage the plugin.

Authors

  • TejasLamba2006

Dependencies

  • BlueSlimeCore (required)
  • PlaceholderAPI (optional)
下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Easier Armor Trim Duplication

价格:0 墨喵币
下载量:0

查看详情
The Broken Script: Lost Geometry

价格:0 墨喵币
下载量:0

查看详情
Railway Decoration Blocks

价格:0 墨喵币
下载量:0

查看详情
yakut

价格:0 墨喵币
下载量:0

查看详情