Viper Economy
ModA server-side Fabric economy mod featuring dynamic virtual or physical currency toggles, multi-database drivers, cross-server Redis syncing, and custom-category interactive /servershop container GUIs with zero client-side requirements.
Type
Mod
Modrinth Downloads
47
Modrinth ID
CbHYhwPO
Last Updated
Jul 25, 2026
Description
๐ฐ Viper Economy (1.21.x โ 26.x)
๐ฏ What Is Viper Economy?
Viper Economy is a server-side only Fabric economy mod that adds a complete virtual and physical currency system to Minecraft. Unlike clunky permission-based economy plugins, Viper Economy hooks directly into Minecraft's server internals via Fabric Mixins โ delivering atomic transactions, server shop GUIs, chest shops, daily rewards, tax mechanics, PvP balance loss, and scoreboard integration with zero client mods required.
Key differentiator: Vanilla clients connect normally. No resource packs, no client-side mods, no version mismatch errors. Drop the JAR in mods/ and go.
๐ต Core Economy Engine
Dual Currency Modes
Mode Name Behavior Best For VIRTUAL Digital Balance Balances stored in JSON files โ /bal, /pay, /baltop General survival, minigame servers PHYSICAL Item Currency Balances = items in inventory/ender chest (default: diamond) Hardcore, roleplay, anarchyHow It Works (Simplified)
Player Joins โ Starting Balance Assigned โ Daily Reward Check โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ Virtual Mode: storage.json โ /pay /bal โ โ Physical Mode: count items โ /topup /withdraw โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ Server Shop (/servershop) โ Buy/Sell โ Tax Applied Chest Shops โ Sign + Chest โ Auto-Detected PvP Death โ Balance Loss % โ Winner Gets Drop๐ก๏ธ Features
Feature Description ๐ต Dual Currency VIRTUAL (digital) or PHYSICAL (item-based) economy modes ๐ Server Shop GUI Paginated category shop with item lore, shift-click stacks, buy/sell ๐ฆ Chest Shops Sign-on-chest shops with auto-detection, buy/sell pricing, ownership protection ๐ Chest Protection Non-owners cannot open shop chests โ admin shift-click bypass ๐ Daily Rewards Configurable daily login bonus (UTC reset) ๐ซ Daily Sell Limit Per-player daily sell cap to prevent inflation ๐ธ Purchase Tax Automatic tax rate on server shop purchases (default 10%) โ๏ธ PvP Economics Optional % of victim's balance dropped on PvP death ๐ Scoreboard Real-time balance display on sidebar (toggleable) โ๏ธ Hot-Reload Edit configs and run โ no restart needed ๐ง Permissions Op-level based permission system๐ฎ Commands
Player Commands
Command Description /bal [player] Check your balance or another player's /pay <player> <amount> Transfer money to another player /baltop View top 10 balances leaderboard /withdraw <amount> Withdraw physical currency from balance (physical mode) /topup <amount> Deposit physical currency items into balance (physical mode) /worth Check buy/sell price of your held item /buy <item> [amount] Buy items from the server shop /sell <item> [amount] Sell items to the server shop /servershop Open the server shop GUIAdmin Commands (op only)
Command Description /givemoney <player> <amount> Give money to a player /takemoney <player> <amount> Take money from a player /setmoney <player> <amount> Set a player's exact balance /resetmoney <player> Reset a player's balance to starting amount /ecolog View economy configuration infoโ๏ธ Configuration
All configs live in config/viper-economy/ and are hot-reloadable.
config.json
{ "economyMode": "VIRTUAL", "physicalCurrencyItem": "minecraft:diamond", "startingBalance": 1000.0, "dailyAmount": 100.0, "dailySellLimit": 10000.0, "taxRate": 0.1, "pvpBalanceLossPercentage": 0.0, "serverShopEnabled": true } Field Description economyMode VIRTUAL (balances in storage) or PHYSICAL (currency items) physicalCurrencyItem Item ID used as currency when PHYSICAL mode active startingBalance Balance given to new players on first join dailyAmount Free money granted on first join each UTC day dailySellLimit Max total sell value per player per day taxRate Fraction (0.0โ1.0) taxed on server shop purchases pvpBalanceLossPercentage % of victim's balance dropped on PvP death serverShopEnabled Enable /servershop GUIprices.json
Defines all purchasable/sellable items organized by category:
{ "items": { "minecraft:diamond": { "category": "gems", "stack": 64, "unit_buy": 100.0, "unit_sell": 50.0 } }, "categories": { "gems": { "name": "ยง6Gems", "display_item": "minecraft:diamond" } } }A massive default prices.json (671 KB, 500+ items across 25+ categories) is bundled and auto-deployed on first run.
๐ก Usage Walkthrough
1. First Run (Auto-Setup):
- Drop the mod JAR in mods/, start server
- config/viper-economy/config.json and prices.json are generated from bundled defaults
- Edit config.json if you want PHYSICAL mode or different rates
- Changes apply immediately โ no restart needed
2. Virtual Economy (Default):
- Players join โ get startingBalance (1000)
- /servershop opens GUI with 25+ categories, 500+ items, pagination
- Buy with left-click, sell with right-click, shift-click for stacks
- Tax (taxRate) applied automatically on purchases
3. Chest Shops (Player-Run):
- Place a chest
- Place a sign on it
- Line 1: [Shop] (auto-detected)
- Line 2: B 10 (buy price) or S 5 (sell price) or B 10 S 5
- Line 3: Item name or ? (auto-detect from chest)
- Line 4: Optional owner name (defaults to placer)
- Fill chest with stock โ players interact with sign to buy/sell
4. Physical Economy (Hardcore/Roleplay):
- Set "economyMode": "PHYSICAL" in config.json
- Set "physicalCurrencyItem": "minecraft:gold_ingot" (or custom item)
- Balances stored as items in player inventory/ender chest
- /bal counts currency items; /pay moves items between players
5. PvP Server Economy:
- Set "pvpBalanceLossPercentage": 0.05 (5% loss on death)
- Winner picks up dropped balance as currency items (physical) or gets credited (virtual)
๐ Performance
- Zero external dependencies โ pure Fabric API + Mixins
- JSON file storage in world/viper-economy/ โ atomic writes, no DB required
- Server-side only โ zero client CPU/RAM impact
- Hot-reloadable โ edit configs at runtime, no restart
๐ ๏ธ Installation
Requirements
- Fabric Loader: 0.14.21+ (1.21.x) / 0.19.3+ (26.x)
- Java: 21 (1.21.x) or 25 (26.x)
- Fabric API: Matching your Minecraft version
Steps
- Download the correct JAR for your Minecraft version
- Place in mods/ folder (server only โ client not required)
- Start server once โ configs auto-generate
- Edit config/viper-economy/config.json to your liking
- Edit config/viper-economy/prices.json to customize shop prices
- Changes apply instantly โ no restart needed
โ FAQ
Q: Do players need to install anything?
A: No. Viper Economy is 100% server-side. Vanilla clients connect normally.
Q: How do I reset a player's balance?
A: /resetmoney <player> โ resets to the starting balance from config.
Q: Can I use custom items as currency?
A: Yes. Set physicalCurrencyItem to any valid item ID in config.json.
Q: How do I add new items to the shop?
A: Edit prices.json and add entries under items and categories. Changes apply instantly.
Q: What happens if the server crashes?
A: JSON storage uses atomic writes โ partial writes are discarded, lastๅฎๆด save is preserved.
๐ฆ Supported Versions
Version Java Status 1.21.x (1.21 โ 1.21.11) 21 โ Full support 26.1.x (26.1 โ 26.1.2) 25 โ Full support 26.2.x 25 โ Full supportBuilt with Fabric Loom 1.17.x โข Zero external dependencies โข ARR Licensed
Compatibility
Mod Loaders
Game Versions
Screenshots
Similar Mods
Create: Wings Plus
This mod adds new kinds of sails with functions of other blocks. The intent of these new blocks is to replace blocks in...
Mean Mobs
A very light-weight config-driven mod for modpack creators to change the targetting behaviors of mobs, including making...
CobbleLemon CobbleDollar Custom Shops
Custom Shop spawner using cobbledollars for my cobblemon server
Channel
Talk to your friends freely and easily.
BallStickersCompat
Makes the Ball Stickers mod for cobblemon work with set level mode.
Chipa
This mod add's Chipa to the game a typical Paraguayan snack