Mogrul Economy - Economic System for Minecraft Servers
Mogrul Economy presents a universal economic system for Minecraft servers running on Forge and NeoForge. This mod was created to fill the gap in quality economic modifications, offering a comprehensive solution for managing in-game economy without the need for plugins.
Main System Components
Currency System
The central element of the mod is a full-fledged currency that allows players to track their funds, view other participants' balances, and make transfers. Administrators receive extended capabilities for managing the server's economy.
Player Commands:
- /currency - displays current balance
- /currency [player] - shows specified player's balance
- /currency send [player] [amount] - transfer funds to another player
Administrator Commands:
- /currency remove [player] [amount] - withdraw funds from player
- /currency set [player] [amount] - set specific amount

Trading System
Players can initiate deals by offering items from inventory for a set price. The process of accepting, rejecting, and canceling trade offers is handled through chat for maximum convenience.
Commands:
- /trade [quantity] [player] [price] - create trade offer

Mob Rewards
The reward system for eliminating mobs allows administrators to set monetary prizes for specific creatures. Players automatically receive rewards when killing corresponding mobs.
Administrator Commands:
- /mobrewards set [mob] [amount] - set reward for mob
- /mobrewards remove [mob] - remove reward
Bounty System
Players can set rewards for other participants. Upon successful elimination of the target, the reward goes to the killer, and the announcement is removed.
Player Commands:
- /bounty add [player] [price] - set or increase bounty
Administrator Commands:
- /bounty remove [player] - remove bounty
Shops
Administrators can create trading points in the form of villagers who sell items to players. The simple interaction system through right-click makes purchases intuitive.
Commands:
- /shops create [name] [item] [quantity] [price] - create shop
- /shops remove - remove shop

System Configuration
The configuration file "mogruleconomy-common.toml" is located in the server settings folder and allows customization of all aspects of the economic system:
[Currency]
#Command for using currency component in-game
currencyCommandName = "currency"
#Currency name in singular
currencyNameSingular = "Pound"
#Currency name in plural
currencyNamePlural = "Pounds"
#Currency symbol
currencySymbol = "£"
#Starting currency for new players
# Default: 100
# Range: > 0
startingCurrency = 100
[MobRewards]
#Activation of mob rewards component
mobRewardsEnabled = true
#Command for managing mob rewards
mobRewardsCommandName = "mobreward"
[Trade]
#Activation of trading component
tradeEnabled = true
#Command for trading
tradeCommandName = "trade"
[Shops]
#Activation of shops component
shopsEnabled = true
#Command for managing shops
shopsCommandName = "shops"
Data Storage
The system uses .json format files for data storage, ensuring easy editing and no dependencies on third-party libraries.