-
Notifications
You must be signed in to change notification settings - Fork 1
Home EN
Bogdan edited this page Aug 5, 2026
·
1 revision
SDM Shop 2 is a component-based shop built around an ECS-style architecture. Shops and offers are assembled from components: costs, rewards, conditions, limits, promos, categories, rendering settings, and script-driven logic.
- JSON: Shop Components
- Java: ECS System
- Scripting: Modifying Logic with Scripts
- CONFIG: Configuration File
- The
sdm:condition_limitercomponent is now aConditionComponentand works withsdm:hide_render. - Multiple limiters on the same offer are supported through
limit_key. - The UI receives limiter sync through a dedicated packet and refreshes after purchases/resets.
- Cooldowns and resettable limiters can return a hidden offer to an open UI without reopening the shop.
- Script conditions are checked on the server, while the UI requests their state only when needed.
/sdm_shop create_shop <shop_id>
/sdm_shop open_shop <targets> <shop_id>
/sdm_shop reload shops/sdm_shop limiter sync
/sdm_shop limiter reset world <shop_id> <offer_id>
/sdm_shop limiter reset player <target> <shop_id> <offer_id>
/sdm_shop limiter reset offer <shop_id> <offer_id>After a successful reset, the server sends a sync packet to clients, so an open UI updates without reopening the shop.
- SDM Economy 2
- SDM Data Lib
- SDM Events
- KubeJS / CraftTweaker bridge for script components