Diamond Economy

Diamond Economy

Simple diamond-based economy for fabric

by
21.0K Downloads
fabricforgeutility
Rent Server with this Mod

About this Mod

REQUIRES FABRIC API AND CLOTH CONFIG API

Currency is configurable from a diamond to any item.

Basic economy using diamonds. Uses the "/diamonds" (can be changed in config) command along with the following subcommands

  • balance [Optional: player] - tells user how many diamonds the player (defaults to self) has

  • buy price [item] - tells user buy price of item

  • buy [item] [Optional: int] - buys [int (default 1)] [item]

  • deposit [Optional: int] - deposits [int (defaults to no cap)] money from inventory

  • deposit hand [Optional: int] - deposits [int (defaults to unlimited)] money from inventory of the item in hand

  • deposit [item] [Optional: int] - deposits [int (defaults to unlimited)] money from inventory of [item]

  • sell price [item] - tells user sell price of item

  • sell hand [Optional: int] - sells [int (default 1)] of the item in hand

  • sell [item] [Optional: int] - sells [int (default 1)] [item]

  • send [player] [int] - takes [int] diamonds form your account and adds them to [player]'s account

  • top [Optional: int] - tells user current rank along with who has the most diamonds and how many

  • withdraw [int] - withdraws [int] from your account in the fewest items possible

  • withdraw [item] [int] - withdraws [int] from your account in the form of [item]

Operator only subcommands:

  • currency add [item] [int (sellValue)] [boolean (canSell)] [int (buyValue)] [boolean (canBuy)] [boolean inCurrencyList] - adds a currency of type item with the specified stats. sorts the currency list

  • currency remove [item] - removes [item] as a currency. sorts the currency list

  • currency sortList - sorts the currency list, run after manually changing the diamondeconomy.sqlite file

  • currency set buyValue [int] - sets the buy price to [int], and the sell price to [int] if inCurrencyList. sorts the currency list

  • currency set sellValue [int] - sets the sell price to [int], and the buy price to [int] if inCurrencyList. sorts the currency list

  • currency set canBuy [boolean] - if true, allows player to buy item. sorts the currency list

  • currency set canSell [boolean] - if true, allows player to sell item. sorts the currency list

  • currency set inCurrencyList [boolean] - if true, allows currency to be deposited, withdrawn, bought, and sold. also sets the buy price to the sell price. sorts the currency list

  • modify [players] [int] - modifies players money by [int]

  • set [players] [int] - sets players diamonds to [int]

Available Versions

Diamond Economy 1.6.1+1.21release
MC 1.21, 1.21.1fabric
December 30, 2024
Diamond Economy 1.6.0+1.21release
MC 1.21, 1.21.1fabric
August 26, 2024
Diamond Economy 1.5.6 for 1.20.2release
MC 1.20.2fabric
September 21, 2023
Diamond Economy 1.5.6 + 1.20release
MC 1.20, 1.20.1fabric
June 8, 2023
Diamond Economy 1.5.6 + 1.19.4release
MC 1.19.4fabric
March 23, 2023

How to Install Diamond Economy on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set fabric Loader

In the panel under "Egg", select the fabric loader and matching Minecraft version (1.21.1).

3

Install Mod

Open the mod browser in the dashboard and search for "Diamond Economy". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

fabricforge

Minecraft Versions

1.21.1, 1.21, 1.20.2 (+12 more)

Server-side

Required

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

Diamond Economy server crashes on startup – what to do?

Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.21.1). You can switch loaders with one click in the panel.

Is Diamond Economy compatible with fabric and forge?

Diamond Economy officially supports fabric, forge for Minecraft 1.21.1, 1.21, 1.20.2. Note: Forge and Fabric mods are NOT cross-compatible – pick one loader and stick with it. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with Diamond Economy – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Diamond Economy consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install Diamond Economy with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
MIT License
Server-side
Required

Supported Versions

1.21.11.211.20.21.20.11.201.19.41.19.31.19.21.19.11.19+5 more