Перейти к содержимому
Mineforgian

Mob Money

A simple, configurable Fabric mod that awards players money for killing mobs. Economy support using the Common Economy API

Загрузки
948
Подписчики
3
Обновлён
17 августа 2026 г.
Лицензия
CC0-1.0

Опубликован 22 ноября 2025 г.

Mob Money

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

Features

  • Earn Money: Get paid for hunting down hostile mobs.
  • Configurable:
    • Set custom rewards 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 the .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",
  "spawnReasonFilterMode": "BLACKLIST",
  "spawnReasonFilter": ["SPAWNER", "TRIAL_SPAWNER"]
}

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.
  • spawnReasonFilterMode: Controls whether a mob's spawn reason affects payout. Options:
    • NONE: No filtering. All spawn reasons pay out.
    • BLACKLIST (Default): Reasons listed in spawnReasonFilter do not pay out; everything else does.
    • WHITELIST: Only reasons listed in spawnReasonFilter pay out.
  • spawnReasonFilter: A list of spawn reasons used by spawnReasonFilterMode (ignored when mode is NONE). Default: ["SPAWNER", "TRIAL_SPAWNER"] — blocks payouts from mob-spawner farms while still paying out for natural spawns, breeding, structures, etc. Valid values:
    • NATURAL, CHUNK_GENERATION, SPAWNER, STRUCTURE, BREEDING, MOB_SUMMONED, JOCKEY, EVENT, CONVERSION, REINFORCEMENT, TRIGGERED, BUCKET, SPAWN_ITEM_USE, COMMAND, DISPENSER, PATROL, TRIAL_SPAWNER, LOAD, DIMENSION_TRAVEL

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).

Ченджлог

1.2.0-26.2Бета26.2 · 17 августа 2026 г.

Mob Money v1.2.0-26.2 Release Notes

  • New: Configurable spawn-reason filtering. Payouts can now be blocked or allowed based on how a mob was spawned (spawner, natural, breeding, etc.). Spawner-farmed mobs no longer pay out by default; see the README for the full list of spawn reasons and how to configure a whitelist/blacklist.

Full Changelog: https://github.com/xSaVageAU/MobMoney/compare/v1.1.2-26.2...v1.2.0-26.2

1.1.2-26.2Бета26.2 · 19 июня 2026 г.

Update target version to 26.2

  • No other changes were made

Full Changelog: https://github.com/xSaVageAU/MobMoney/compare/v1.1.2...v1.1.2-26.2

1.0.4-1.21.11Бета1.21.10, 1.21.11 · 30 апреля 2026 г.

Mob Money v1.0.4 Release Notes

  • Backported configuration changes for currency symbol and location to 1.21.10/1.21.11.

Full Changelog: https://github.com/xSaVageAU/MobMoney/compare/v1.0.3...v1.0.4

Compatibility: Minecraft 1.21.10/1.21.11 (Fabric) Server-Side Only: No client installation required

1.1.2-26.1Бета26.1, 26.1.1, 26.1.2 · 30 апреля 2026 г.

Mob Money v1.1.2 Release Notes

  • Added configuration for currency symbol and location.

Full Changelog: https://github.com/xSaVageAU/MobMoney/compare/v1.1.1...v1.1.2

Compatibility: Minecraft 26.1 (Fabric) Server-Side Only: No client installation required

1.1.1-26.1Бета26.1, 26.1.1, 26.1.2 · 30 марта 2026 г.

Mob Money v1.1.1 Release Notes

  • Fixed an issue where players might receive 5 cents or $5 depending on the economy mod used. Reward values should now be consistent across all supported economies.

Full Changelog

View all changes from v1.1.0 to v1.1.1

Compatibility: Minecraft 26.1 (Fabric) Server-Side Only: No client installation required

1.1.0-26.1Бета26.1, 26.1.1, 26.1.2 · 27 марта 2026 г.

Mob Money v1.1.0 Release Notes

The mod has been updated for 26.1.

Full Changelog

View all changes from v1.0.3 to v1.1.0

Compatibility: Minecraft 26.1 (Fabric) Server-Side Only: No client installation required

1.0.3Бета1.21.10, 1.21.11 · 8 февраля 2026 г.

Mob Money v1.0.3 Release Notes

New Feature

Economy Balancing

This update introduces a new Economy Balancing system to prevent mob farms from destabilizing your server's economy.

  • Earning Caps: Admins can now limit the amount of money a player can earn within a specific time period.
    • Default: Max $100.00 every 20 minutes.
    • Configuration: Controlled via maxEarningsPerPeriod and earningPeriodDuration.
    • Note: Set maxEarningsPerPeriod to 0 to disable this feature.
  • Configurable Overflow: Choose how to handle kills that exceed the cap (DROP, PARTIAL, or ALLOW).
    • DROP (Default): Strict cap.
    • PARTIAL: Fills up to the cap.
    • ALLOW: Soft cap (allows one last kill to exceed the limit).

Full Changelog

View all changes from v1.0.2 to v1.0.3


Compatibility: Minecraft 1.21.10 & 1.21.11 (Fabric) Server-Side Only: No client installation required

1.0.2Бета1.21.10, 1.21.11 · 12 декабря 2025 г.

Mob Money v1.0.2 Release Notes

Updates

Minecraft 1.21.11 Support

  • Updated the mod to support Minecraft 1.21.11.
  • Verified compatibility with the latest fabric API updates for this version.

Full Changelog

View all changes from v1.0.1 to v1.0.2


Compatibility: Minecraft 1.21.11 (Fabric) Server-Side Only: No client installation required

Комментарии

Загружаем…