Mob Money 图标

Mob Money

作者:rebot | 分类:模组

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

Minecraft 版本: 26.2

平台: fabric

标签: economy game-mechanics mobs

资源介绍

Mob Money

A simple, configurable Fabric mod that awards players money for killing mobs. Built to demonstrate integration with the Common Economy API made by Patbox.

Features

  • Earn Money: Get paid for hunting down hostile mobs.
  • Configurable:
    • Set custom reward amounts per mob type (e.g., Zombies, Creepers, Ender Dragon).
    • Economy Provider Support: Configure which economy mod to use (e.g., Savs Common Economy, Fuji, etc.).
  • Common Economy API: Works with any economy mod that implements the Common Economy API.

Installation

  1. Install Fabric Loader and Fabric API.
  2. Install an economy mod that supports the Common Economy API (e.g., Savs Common Economy).
  3. Drop mob-money-1.0.0.jar into your mods folder.

Configuration

The config file is located at config/mob-money.json. It will be generated upon first launch.

{
  "economyProvider": "savs_common_economy",
  "currencyId": "dollar",
  "notificationMode": "CHAT",
  "mobPrices": {
    "minecraft:zombie": 5.0,
    "minecraft:skeleton": 5.0,
    "minecraft:creeper": 10.0,
    "minecraft:spider": 5.0,
    "minecraft:ender_dragon": 1000.0,
    "minecraft:wither": 500.0
  },
  "maxEarningsPerPeriod": 100.0,
  "earningPeriodDuration": 1200,
  "overflowMode": "DROP"
}

Settings

  • economyProvider: The ID of the economy provider to use (e.g., savs_common_economy, fuji).
  • currencyId: The ID of the currency to award (e.g., dollar, gold).
  • notificationMode: How to notify players of earnings. Options: CHAT, ACTION_BAR, NONE (default: CHAT).
  • mobPrices: A whitelist of mobs and their reward values.
    • Only mobs listed here will award money.
    • Use the full entity ID (e.g., minecraft:zombie).
  • maxEarningsPerPeriod: The maximum amount a player can earn within the defined period. Set to 0 to disable. (Default: 100.0)
  • earningPeriodDuration: The length of the earning period in seconds. (Default: 1200 - 20 minutes)
  • overflowMode: Defines behavior when a kill exceeds the cap. Options:
    • DROP (Default): If a kill pushes you over the cap, you get $0 for that kill.
    • PARTIAL: You get the remaining amount up to the cap.
    • ALLOW: If you are under the cap, you get the full reward (even if it exceeds the limit). Future kills give $0.

Troubleshooting

If you are not receiving money:

  1. Check the server console/logs for messages starting with [mob-money].
  2. Ensure you have an economy mod installed.
  3. Verify that economyProvider and currencyId in the config match the provider you are using.
    • For Savs Common Economy: Provider savs_common_economy, Currency dollar.
    • For Fuji: Provider fuji, Currency gold (or whatever is configured).
下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Timely Rewards

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

查看详情
Cryptic

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

查看详情
Concurrent Chunk Management Engine for Forge

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

查看详情
Horrorgins

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

查看详情