sg_economy-26.1.0.jar
Curse Maven Snippet
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
/coinscommand for in-game economy management. - Admin Subcommands:
/coins add,/coins set, and/coins removerequire Gamemaster permissions. - Player Subcommands:
/coins get,/coins pay, and/coins rankare accessible to all players. - The
paycommand 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

