Mobs To Eggs 捕捉生物并获得刷怪蛋

作者:Sugarfyi 发布时间:2019年7月17日 原生版本:未知 测试支持:1.17,1.18,1.19,1.20

一个抓暴徒的游戏,你向暴徒扔鸡蛋以获得抓到他们的机会!

点此下载

插件详细介绍

🥚 Mobs To Eggs 插件为你的 Minecraft 服务器带来一个有趣的新功能:玩家可以通过投掷自定义的捕捉弹(捕捉舱)来捕捉生物,从而合法地获得生物刷怪蛋。

🥚 Mobs To Eggs

✨ 特性:

  • 捕捉生物并给予玩家刷怪蛋。
  • 可以为每个生物单独开启或关闭捕捉功能。
  • 可以自定义捕捉生物的抛射物(雪球、鸡蛋、末影珍珠等)。
  • 可以为每个生物设置不同的捕捉几率。
  • 可以为捕捉生物设置物品或金钱成本。
  • 开箱即用。
  • 可自定义消息。
  • 支持所有 Minecraft 生物!
  • 支持末影人捕捉。
  • 支持捕捉没有原版刷怪蛋的生物(Boss 生物、傀儡、巨人)。
  • 允许或禁止刷怪笼更改。
  • 生物被捕捉或捕捉失败时,会有粒子效果和声音。
  • 可以为生物捕捉舱自定义名称和/或 Lore 描述。
  • 可以将生物数据保存到刷怪蛋中,并可以开启/关闭此功能。
  • 可以选择通过拳击或投掷捕捉舱来捕捉生物。
  • 支持捕捉舱和生物刷怪蛋的 CustomModelData。
  • 支持 WorldGuard 区域和单世界捕捉。
  • 支持 HEX 颜色代码 (例如:&#FFFFFF 代表白色)。

💡 用法:

向你想要捕捉的生物投掷配置文件中定义的捕捉舱抛射物,它将有一定的几率被封装到生物蛋中。

🛠️ 要求:

  • 权限插件 (仅在使用权限时需要)。
  • Vault (仅在使用经济功能时需要)。
  • NBTAPI (用于保存一些实体数据)。
  • 任何与 Vault 兼容的经济插件 (仅在使用经济功能时需要)。

📜 命令:

  • /mte | 显示插件信息 (无需权限)
  • /mte help | 显示插件帮助菜单 (无需权限)
  • /mte reload | 重新加载插件配置文件 (mobstoeggs.*)
  • /mte give <amount> <player> | 给予指定数量的生物捕捉舱给选定的玩家 (mobstoeggs.give)
  • /mte bulkupdate <chance|money|item> <value> | 更新 mobs.yml 文件,以更改所有生物的捕捉几率、金钱成本或物品成本值 (mobstoeggs.*)

🔑 权限:

所有插件权限节点列表可以在Wiki上找到。

默认情况下,权限是启用的,你需要使用权限插件来处理这些权限。如果你不想使用权限插件,可以在 config.yml 中关闭所有 mobstoeggs 权限检查。

⚙️ 配置:

你可以在 Wiki 上找到插件配置。首次加载插件时,插件将自动生成所需的配置文件。所有配置文件都有完整的注释,以便你了解每个值的含义。

示例配置 (config.yml):


# +-------------------------------------------------------------------------------------------------------------------+
# | MobsToEggs Config File                                                                                              |
# +-------------------------------------------------------------------------------------------------------------------+
# | This is the main configuration file for MobsToEggs.                                                                |
# | All values in this config are fully commented so you know what each value does.                                     |
# | Please report any issues or feature requests on our Discord: http://discord.sugar.fyi                               |
# +-------------------------------------------------------------------------------------------------------------------+

# Set the language of the plugin.
# Options: en, es, hu, zh_cn, zh_tw, pt_br
language: en

settings:
  # Should the plugin check for updates on startup?
  update-check: true

  # Should plugin metrics be enabled?
  metrics: true

  # Should debug messages be printed to the console?
  debug: false

  # Turn on/off all mobstoeggs permissions.
  # If set to false anyone can use the plugin without permissions.
  permissions: true

  # What item should be used as the mob catching projectile?
  # Options: SNOWBALL, EGG, ENDER_PEARL, SLIME_BALL
  projectile: SNOWBALL

  # How should the mob be caught?
  # Options: THROW, PUNCH
  catch-method: THROW

  # Should mobs be unspawned when players are too far away?
  # Requires Paper to be enabled.
  remove-mob-on-unload: false

  # Should mob data be saved to spawn eggs?
  # Requires NBTAPI plugin: https://www.spigotmc.org/resources/nbt-api.79/
  save-mob-data: true

  # Should the plugin allow players to change spawners with mob eggs?
  allow-spawner-changing: true

  # Should world catching be enabled?
  # Allows you to disable catching in certain worlds in the worlds.yml file
  world-catching: true

  # Should WorldGuard region catching be enabled?
  # Allows you to disable catching in certain regions in the regions.yml file
  region-catching: false

  # Prevent specific mobs from being caught in WorldGuard regions that allow catching
  # Useful for preventing players from exploiting mob farms in protected regions
  # Requires region-catching to be enabled
  region-blacklist:
    enabled: false
    mobs:
      - ZOMBIE
      - SKELETON

  # Should mobs with rideable passengers be prevented from being caught?
  # Useful for preventing players from duplicating rideable entities
  prevent-catching-rideable: true

  # Enable custom model data for the catch capsule and mob spawn eggs
  custom-model-data:
    enabled: false

    # Set the custom model data for the catch capsule
    capsule-model-data: 1

    # Set the custom model data for mob spawn eggs
    egg-model-data: 1

  # Catch Capsule Customization
  capsule:
    # Set the custom name of the catch capsule
    name: "&aCatch Capsule"

    # Set the custom lore of the catch capsule
    lore:
      - "&7Throw this at a mob to"
      - "&7catch it!"

    # Should the catch capsule be glowing?
    glowing: false

    # Should the catch capsule be unbreakable?
    unbreakable: true

    # Should the catch capsule have enchantments?
    enchantments: false

    # What enchantments should the catch capsule have?
    # Format: ENCHANTMENT,LEVEL
    # Example: DAMAGE_ALL,5
    enchantment-list:
      - DAMAGE_ALL,5

  # Particles and Sounds
  particles:
    # Enable particles
    enabled: true

    # What particle should be played when a mob is caught?
    # A list of particles can be found here: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Particle.html
    on-catch: VILLAGER_HAPPY

    # What particle should be played when a mob fails to be caught?
    on-fail: SMOKE_NORMAL

  sounds:
    # Enable sounds
    enabled: true

    # What sound should be played when a mob is caught?
    # A list of sounds can be found here: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Sound.html
    on-catch: ENTITY_EXPERIENCE_ORB_PICKUP

    # What sound should be played when a mob fails to be caught?
    on-fail: ENTITY_ITEM_BREAK