mirror of
https://github.com/horizon-rust/horizon-mods.git
synced 2026-12-03 21:04:04 +07:00
[PR #105] [MERGED] SMP 0.12.0: /shop menu, daily selling limits, no profitable recipe loop, /money and /eco give * #110
Closed
opened 2026-11-03 04:03:20 +07:00 by bsakaguchi
·
0 comments
No Branch/Tag specified
main
submit/inferium_lab-0.1.0
submit/aurora-5.9.3
submit/zoomify-1.1.0
submit/dynamiclights-1.0.0
submit/modmenu-1.1.0
submit/smoothswapping-1.1.0
submit/chunky-1.0.1
edit/blood_particles-1794175863
submit/tweakeroo-0.30.2-horizon.1
submit/meridian-0.1.0
submit/cinematic_interactions-0.12.1
submit/vivid_horizon-1.0.0
submit/atlas-0.2.0
submit/daybreak-0.2.0
submit/meteor_horizon-0.1.3
submit/worldmap-0.7.1
submit/worldmap-0.7.0
submit/ambience-0.1.2
submit/meteor_horizon-0.1.2
submit/astral_cruiser-0.2.0
submit/roughlyenoughitems-1.0.1
submit/jei-0.2.1
submit/roughlyenoughitems-1.0.0
submit/horizonmatica-0.3.2
submit/deepbore_quarry_native-0.1.2
submit/big_nukes_native-0.1.3
submit/wayfarer_stones_native-0.6.3
submit/horizonmatica-0.3.1
submit/justenoughitems-1.0.0
submit/mousetweaks-1.0.1
submit/clientsort-1.1.0
submit/trails-1.0.0
submit/context_tools-1.3.0
submit/hostilenetworks-7.0.1
submit/ironfurnaces-4.4.3
submit/elevatorid-1.16.7
submit/jade-26.3.8
submit/ae2-15.4.17
submit/horizonmatica-0.3.0
submit/volexstorm-2.0.1
submit/better_ping_display-0.1.0
submit/screenshot_clipboard-0.1.0
submit/freecam-0.1.1
submit/ai_chat-1.0.0
submit/fence_perch-1.0.0
submit/horizon_physics-0.20.5
submit/e4mc-0.1.0
submit/worldedit_horizon-0.6.2
submit/strangely_charming-0.2.11
submit/durability_tooltip-0.2.0
submit/horizon_essentials-0.2.1
submit/mobs_see_far-1.0.0
submit/strangely_charming-0.2.10
submit/ambience-0.1.0
submit/livingmotion-1.2.0
submit/vibe_physics-1.0.0
submit/zombies_are_running-1.1.0
submit/jei-0.2.0
submit/clh_rust-0.1.1
submit/structures-0.6.0
submit/sunset-1.0.0
submit/clh_rust-0.1.0
submit/big_nukes_native-0.1.2
agent/native-build
submit/deepbore_quarry_native-0.1.1
submit/wayfarer_stones_native-0.6.2
submit/big_nukes_native-0.1.1
submit/cinematic_interactions-0.12.0
submit/chat_animation-0.1.1
submit/connected_textures-0.1.5
submit/ayynoxs_map_pack-0.4.3
submit/big_nukes-0.1.0
submit/big_nukes_native-0.1.0
submit/players_info-1.0.0
submit/karak_house-0.2.0
submit/more_chat_history-0.1.1
submit/notenoughanimations-0.2.73
submit/rzero-0.1.1
submit/notenoughanimations-0.2.72
submit/atlas-0.1.0
submit/notenoughanimations-0.2.71
submit/more_chat_history-0.1.0
submit/abelha_skull-26.3.1
submit/mod_menu-0.3.4
submit/viahorizon-0.8.7-dev
submit/rzero-0.1.0
submit/lyricsplus-3.0.0
submit/worldmap-0.5.0
submit/photonic-1.1
submit/photonic-1.0.0
submit/holdmyitems-5.1.1
submit/ae2-15.4.13
submit/create-0.8.0-alpha.16
submit/chatgpt_blocks-1.0.2-neoforge-1.26.3
submit/chatgpt_blocks-1.0.2-neoforge-1.21.1
submit/horizon_essentials-0.2.0
submit/camerautils-1.1.1
submit/abelha_skull-26.3
submit/worldedit_horizon-0.6.0
submit/liasmediaplayer-4.0.0
edit/wisdom_horizon_lite-1793893651
submit/my_moda-1.0.0
submit/my_mod-1.0.0
edit/eatinganimation-1793889782
edit/customhud-1793885645
submit/one_shot_gun-0.1.0
submit/jade_ae2-15.4.12
submit/ae2_jei-1.2.1
submit/ae2-15.4.12
submit/server_browser-2.2.0
submit/ayynoxs_map_pack-0.4.1
submit/orbital-0.5.9
m3/revert-radiant
submit/unlimited_stacks_mod-1.2.7
submit/sodium_horizon-0.4.0
submit/shield_fixes-1.0.0
submit/chop-1.0.0
submit/speedrun_timer-1.0.0
deploy/r6-mods
submit/elytratrails-0.1.0
t3/remove-economy-sell-limits
submit/unlimited_stacks_mod-1.2.6
smp/remove-gameplay-limits
submit/musicpicker-0.1.0
submit/unlimited_stacks_mod-1.2.5
submit/crossversion-0.7.0
submit/horizon_voice-0.3.3
submit/tectonic_horizon-0.3.1
submit/crossversion-0.4.0
submit/horizon_voice-0.3.2
submit/simple_hud-0.1.0
submit/horizon_voice-0.3.1
submit/horizon_voice-0.3.0
feat/smp-casino-roulette
submit/redescreen_voice-0.4.0-beta.1
submit/low_fire-1.0.0
submit/crystal_optimizer-1.0.0
submit/horizon_ascension-0.1.0
submit/freecam-1.1.0
submit/pink_enhanced_vanilla-1.0.0
submit/server_pack_fixer-1.0.0
submit/dynamic_lights-1.0.0
submit/menu-panorama-1.0.0
submit/continuity_rust-1.0.0
submit/mouse_tweaks-1.0.0
submit/freecam-1.0.0
submit/proximity_voice-0.4.1
owner-updates
registry/releases-indexer
feat/smp-coinflip
feat/smp-trade
submit/russian_localization-1.0.0
submit/appleskin-0.1.0
submit/pixelmon-0.1.0
submit/simple_coords-0.1.0
feat/native-official-mods
submit/waypoints-0.1.0
blood_particles-1.2.0
rider_hud-0.1.0
nimbe-1.0.0
smoothie_capes-0.5.1
freecam_yannis-1.0.1
netherstarrecipe-1.0.0
minelights-2.4.0
right_click_crops-1.0.1
voltz_core-0.3.0
cpm-0.1.2
projecte_core-0.1.0
projecte-0.1.0
voltz-0.3.0
schematics-1.0.0
waymap-0.2.1
worldmap-0.6.0
spotify_hud-1.0.0
seedcrackerx-0.2.3
hud_plus-4
ayynoxs_map_pack-0.4.2
fast_trading-1.0.0
pvp_music-1.2.0
orbital-0.5.10
ae2-15.4.14
movement_status-0.1.0
lumen-2.1.0
chat_heads_rust-1.0.2
pastel_mystic-1.0.0
lumina-1.0.0
skins_3d-1.1.0
waypoints-1.1.0
customhud-1.7.0
eatinganimation-0.2.0
wayfarer_stones-0.6.1
flair-1.0.1
freecam_plus-1.0.1
wayfarer_stones_native-0.6.1
elytratrails-0.1.2
native-health
appleskin-0.1.3
server_browser-2.2.1
radiant-1.0.0
montarc-1.1.1
daybreak-0.1.1
baritone-1.1.38
fly_speed-0.2.0
jade-26.3.6
viahorizon-0.8.5-dev
spider_man-0.2.0
create-0.7.0-alpha.2
horizonmatica-0.2.0
wisdom_horizon_lite-1.3.7
wisdom_horizon-1.3.7
waymap-0.2.0
deepbore_quarry-0.1.0
deepbore_quarry_native-0.1.0
dynamic_fps_for_rust-0.1.0
mod_menu-0.3.3
elytratrails-0.1.1
skins_3d-1.0.1
horizon_physics-0.18.0
speedrun_timer-1.0.1
connected_textures-0.1.2
chat_animation-0.1.0
gyro-1.4.1
wisdom_horizon_lite-1.1.0
fast_items-0.1.0
tectonic_horizon-0.3.4
wayfarer_stones-0.6.0
wayfarer_stones_native-0.6.0
wisdom_horizon-1.1.0
resourcify-0.1.1
armorhud-1.0.0
jade-26.3.5
smoothie_capes-0.2.0
invisible_frames-0.1.1
visuality_horizon-1.0.2
held_item_info-0.1.0
basic_hud-0.5.0
customhud-1.6.0
flair-1.0.0
fullbright_nofog-1.0.0
hitbox_plus-1.3.0
voicechat-1.0.0
chop-1.0.1
chatheads-0.1.1
horizonmatica-0.1.1
waymap-0.1.4
blockscope-0.3.1
rmotd-1.0.0
waypoints-1.0.0
rightharvest-0.1.1
killc-5.1.0
basic_hud-0.4.1
right_click_crops-1.0.0
resourcify-0.1.0
accurate_block_placement-1.0.0
stuck-1.0.0
mod_menu-0.3.0
appleskin-0.1.2
horizon_physics-0.15.1
inventory_wizard-2.3.3
crossversion-0.8.0
crossversion-0.7.1
motion_blur-0.1.0
astral_cruiser-0.1.0
basic_hud-0.1.0
toggle_sprint-1.0.0
freelook-0.3.1
freecam_plus-1.0.0
freecam-0.1.0
menu_panorama-1.0.0
crosshair_indicator-1.0.0
fair_freecam-1.2.0
status_effect_hud-1.0.0
appleskin_horizon-1.0.0
armor_status-1.0.0
light_overlay-1.0.0
fullbright_horizon-1.0.0
inventory_profiles-1.0.0
worldedit-1.2.1
veinminer-0.3.2
blockscope-0.3.0
fly_speed-0.1.0
fullbright-1.0.0
jei-0.1.0
appleskin-0.1.1
serverify-0.1.0
eatinganimation-0.1.1
appleskin-1.0.0
rightharvest-0.1.0
chatheads-0.1.0
eatinganimation-0.1.0
shulker_peek-0.1.0
xtoxray-2026.29.0
distant_horizons-0.1.0
lookat-0.2.1
classic_zoom-2.0.0
coords_hud-2.0.0
recipes-2.0.0
enchantmenthints-0.1.0
classic_zoom-1.0.0
treefall-0.3.0
blockscope-0.2.0
biomecompass-0.2.2
itemnew-0.1.1
mousetricks-0.2.0
compass_bar-0.1.0
smartf3-0.1.0
carryblock-0.1.2
fps_overlay-2.0.0
minimap-2.0.0
keystrokes-2.0.0
zoom-2.0.0
lookat-0.1.0
mod_menu-0.1.1
blockscope-0.1.0
veinminer-0.3.0
recipes-1.0.0
minimap-1.0.0
zoom-1.0.0
fps_overlay-1.0.0
keystrokes-1.0.0
coords_hud-0.1.0
staging
No labels
pull-request
report
report
report
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".
No due date set.
Dependencies
No dependencies set.
Reference
horizon-rust/horizon-mods#110
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/horizon-rust/horizon-mods/pull/105
Author: @ludovic111
Created: 10/31/2026
Status: ✅ Merged
Merged: 10/31/2026
Merged by: @ludovic111
Base:
main← Head:feat/smp-shop📝 Commits (9)
dca26bfSMP: a sidebar of the richest players, /sidebar on|off, and the Tab list's header and footera11db16SMP 0.10.0: /back after a death or a teleport, /playtime, /claim show3cf1b6aSMP 0.11.0: first-join welcome, daily reward, AFK out of the sleep count, a command rate limitc1ce388WIP shopa301fccSMP: pinned to horizon main with #5390 (API 49)ddab3faMerge branch 'feat/smp-board' into feat/smp-polish238d9cdMerge branch 'feat/smp-polish' into feat/smp-presence455a8b8Merge branch 'feat/smp-presence' into feat/smp-shopf56752dSMP 0.12.0: /shop menu, daily selling limits, no profitable recipe loop, /money and /eco give *📊 Changes
16 files changed (+3468 additions, -143 deletions)
View changed files
📝
native/smp/Cargo.lock(+1 -1)📝
native/smp/Cargo.toml(+1 -1)📝
native/smp/README.md(+73 -8)📝
native/smp/compatibility.json(+2 -2)📝
native/smp/mixins/smp/glue.rs(+506 -18)📝
native/smp/mixins/smp/horizon-mixin.toml(+27 -3)➕
native/smp/mixins/smp/smp_board.rs(+439 -0)📝
native/smp/mixins/smp/smp_claims.rs(+47 -1)📝
native/smp/mixins/smp/smp_economy.rs(+161 -26)📝
native/smp/mixins/smp/smp_market.rs(+582 -66)📝
native/smp/mixins/smp/smp_places.rs(+93 -3)➕
native/smp/mixins/smp/smp_presence.rs(+382 -0)➕
native/smp/mixins/smp/smp_recipes.rs(+454 -0)➕
native/smp/mixins/smp/smp_shop.rs(+489 -0)📝
native/smp/proof.py(+203 -14)📝
native/smp/src/lib.rs(+8 -0)📄 Description
Stacked on #102 (presence), #101, #97 (pinned to horizon main
5272f3a, hooks 49). Ludovic's ask for the officialserver: a shop on the economy, and no way to get ultra rich from it.
What (SMP 0.12.0)
/shop: the market as a 6-row chest menu.config.json's newshopsection (an item in none goes under "Other").refusal. The items move by the console's
clearandgive(menu clicks run outside the player's swap), and aremeasured on the inventory before and after, so the money follows what really moved.
smp_recipes: the cheapest way to get each item from the market, through any chain of crafting, smelting,stonecutting or smithing (Bellman-Ford). An item the market would buy for more than that isn't bought. The
server checks the written chains (compression blocks, wheat/bread, logs/planks/sticks, food...) at each start.
The tests also walk all 1,700+ vanilla recipe files and the item tags when
SMP_VANILLA_DATApoints at them;CI has no Mojang data, so there only the chains run.
daily_sell_coins2,000 anddaily_sell_items640 of each item. Kept inthe new
market.json, shown in/worthand in the shop.MAX_AMOUNT,checked_mul), and item ids validated before theyreach a command line.
fee_percent0 by default), and the daily reward stays 50.README. A
config.jsonstill holding the 18 old defaults, never edited, gets them at the first start. The liveserver's config is exactly those 18, so it migrates. Balances are never touched.
/money give|take|set <player> <amount>(the same command as/eco), and/eco give * <amount>(and/money give * ...) for everyone on. The player given money is told. Every change islogged with the operator's UUID. On the live server luzW, lu4ovic and bunchy7s are level 4 in
ops.json(
/econeeds 3).Proof
native.py proof smp(dedicated server built with the mod, real clients):"ok": true. New stepshop, after therestart:
/money give Alex 2000,/eco give * 10→ "Gave 10 coins to 1 player(s) on.";/shop→ Mining → a click: "Bought 1 iron ingot for 30 coins."; Building → shift-click: 64 cobblestone;/worth diamondsays "You maysell 621 more diamond today.";
audit.logends with the twoeco_give, both buys and both sells;market.jsonholds the day's counts; themoney in the game adds up.
cargo test: 60 pass, 14 new:SMP_VANILLA_DATA);/moneyand/eco give *.clippy --all-targets -D warningsclean.Cost: no new per-tick work. The shop runs only on clicks,
market.jsonis written only after a sale, and the tickis unchanged.
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.