Mineuniverse
Log in Register
Mods

Diamond Economy

Simple diamond-based economy for fabric
by IAmTheSneak
Download Claim this project
2,330,665 downloads
0 likes
Updated Jun 30, 2026
0 hypes

Requires Fabric API and Cloth Config API

Only required serverside

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 addons:


Discord

diamondeconomy-1.6.1+1.21.jar
MC 1.21, Fabric, Client, 1.21.1, Server
Release 2024-12-30 Get
diamondeconomy-1.6.0+1.21.jar
MC 1.21, Fabric, Client, 1.21.1, Server
Release 2024-08-26 Get

More from IAmTheSneak

Easier Powdered Snow [Fabric]
9,994
Carnivorous Sponges
688
Renewable Spore Blossoms
616
Netherite Beacons [Forge]
6,135
Phantom Config [Forge]
409,023
Pigless Portals
3,446

You Might Also Like

APTweaks: Items (11.x Classic)
Item clustering (fallen blocks, experience orbs, ...) and garbage cleanup.
9,884,514
VanillaDeathChest (Fabric)
Places containers when players die that contain their items.
994,762
Styled Nicknames
Simple, but configurable nicknaming mod allowing your server's players (and admins) to change their nickname with full formatting support
989,499
Tiquality
Make server lag the problem of the source player.
99,489
Blame (Fabric)
Those gosh darn crashlogs not saying which worldgen feature is crashing!
99,012
Weathering with You
Forecast Minecraft weather with a radar or a hat!
98,579