作者:rebot | 分类:模组
Minecraft 版本: 1.21.1
平台: neoforge
标签: economy game-mechanics utility
SG Economy 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 persistent numeric balance, 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.
Allows configuration to use integer 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.
Provides documented classes and methods for:
The GitHub repository includes practical examples and implementation guides.
Includes commands for in-game economy management, allowing:
These commands can be enabled or disabled according to server needs.
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 allow customization of the economic system’s behavior, including currency format, balance retention rules, available commands, and interface display options.
请登录后举报
暂无评论,抢个沙发吧~