promotional bannermobile promotional banner

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.
Back to Files

sg_economy-26.1.0.jar

File namesg_economy-26.1.0.jar
Uploader
SirGrantdSirGrantd
Uploaded
Aug 4, 2026
Downloads
22
Size
67.5 KB
Mod Loaders
NeoForge
File ID
8573142
Type
R
Release
Supported game versions
  • 26.1.2

Curse Maven Snippet

NeoForge

implementation "curse.maven:sg-economy-api-1446971:8573142"

Learn more about Curse Maven

What's new

Changelog: SG-Economy API v26.1.0 (NeoForge - Minecraft 26.1.2)

Overview

Initial release of the SG-Economy for NeoForge. This core mod introduces a robust, highly synchronized economy system with seamless server-to-client communication.

Features

Core API (SG-Economy API)

  • Introduced a centralized API for developers to manage entity balances safely.
  • Supported methods include balance checking, depositing, withdrawing, setting exact values, and safe transfers between entities.

Dual Currency System

  • Implemented a flexible currency format.
  • Server administrators can toggle between a decimal system and a non-decimal, whole-number system via the server configuration.
  • The internal storage strictly uses long integer values to prevent floating-point inaccuracies, formatting to double only when requested by the API.

Persistent Data Storage

  • Implemented secure player balance storage using NeoForge Attachments.

Integrated Commands

  • Added the /coins command for in-game economy management.
  • Admin Subcommands: /coins add, /coins set, and /coins remove require Gamemaster permissions.
  • Player Subcommands: /coins get, /coins pay, and /coins rank are accessible to all players.
  • The pay command can be entirely disabled via server config.

Client-Side HUD and GUI

  • Added a visual currency display that renders the player's current balance inside inventory and creative screens.
  • Integrated native compatibility checks for external mods like Curios API and Magic Coins.
  • Provided a client-side configuration file allowing players to toggle the HUD and adjust its X/Y screen coordinates.

Synchronization

  • Integrated automatic server-to-client synchronization for configurations and player balances.
  • Relies on CelesthydLib for safe payload handling and automatic sync event management.

This mod has no additional files