SG-Economy API
Adds an extensible economic system to Minecraft, allowing mods to define, store, and synchronize currencies and player balances through a unified API.
Quick challenge
How far can you run before the mobs catch you?
Minecraft check
Confirm your run
Complete the quick check to get your code.
SG-Economy API
SG Economy API
Overview
Mod API adds a flexible, modern, and extensible economic system to Minecraft. It works as a Mod API, allowing players, modpack creators, developers, and server administrators to create and integrate custom economies in a simple and consistent way.
The economic system is based on a not represented by in-game items, directly associated with player data. This balance is not represented by in-game items, functioning as a “virtual wallet” whose name, meaning, and usage may vary depending on the implementation or integration with other mods.
Key Features
💰 Flexible Monetary System
Allows configuration to use decimal or decimal values, adapting the economy to different use cases (simple currencies, systems with cents, etc.). The configuration is done via a file and directly affects the format of the stored balance.
🔧 Developer API
Provides documented classes and methods for:
* Querying and modifying player balances * Native integration with other mods * Creating custom economic systems
The GitHub repository includes practical examples and implementation guides.
🛠️ Administrative Commands
Includes commands for in-game economy management, allowing:
* Balance checks * Adding, setting, or removing values * Transferring balance between players (optional)
These commands can be enabled or disabled according to server needs.
🖥️ Display Interface
Displays the player’s economic balance in the inventory interface and/or on-screen, in a visual and configurable way. The display reflects only the value stored in the player’s data, with no relation to physical items.
⚙️ Configuration Files
Configuration files allow customization of the economic system’s behavior, including currency format, balance retention rules, available commands, and interface display options.