mirror of
https://github.com/horizon-rust/horizon-mods.git
synced 2026-12-03 19:02:42 +07:00
Closed
opened 2026-11-03 04:03:33 +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#139
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/137
Author: @ludovic111
Created: 11/1/2026
Status: ✅ Merged
Merged: 11/1/2026
Merged by: @ludovic111
Base:
main← Head:feat/smp-casino📝 Commits (1)
6932050SMP 0.23.0: the casino (roulette, slots, crash, blackjack), paid from its own pot📊 Changes
14 files changed (+4704 additions, -10 deletions)
View changed files
📝
native/smp/Cargo.lock(+1 -1)📝
native/smp/Cargo.toml(+1 -1)📝
native/smp/README.md(+32 -1)➕
native/smp/mixins/smp/casino_glue.rs(+333 -0)📝
native/smp/mixins/smp/glue.rs(+65 -5)📝
native/smp/mixins/smp/horizon-mixin.toml(+37 -1)➕
native/smp/mixins/smp/smp_casino.rs(+1898 -0)➕
native/smp/mixins/smp/smp_casino_blackjack.rs(+657 -0)➕
native/smp/mixins/smp/smp_casino_crash.rs(+543 -0)➕
native/smp/mixins/smp/smp_casino_roulette.rs(+526 -0)➕
native/smp/mixins/smp/smp_casino_slots.rs(+298 -0)📝
native/smp/proof.py(+10 -1)➕
native/smp/proof_casino.py(+293 -0)📝
native/smp/src/lib.rs(+10 -0)📄 Description
SMP 0.23.0: a casino for the official server, played by stock 26.3 clients through chest menus.
What players get
/casino: a lobby menu (the four games, the pot, today's biggest wins, what you may still lose today)./casino helpshows every game's odds and house edge,/casino topand/casino stats.Money
hold-ed, then settled exactly once withsettle_pool(kind, uuid, stake, payout, "casino")(#127): wins come from the casino's own pot, a win larger than the pot is paid up to what it holds, coins are never minted.casino.float(20,000) goes to the Treasury (casino_profit); below it, the Treasury tops it up with what it holds (casino_float).casino): bets 10–1,000,daily_loss_cap10,000 a player a day (UTC, all games),cooldown_ms2,000. Draws: ChaCha20 keyed from the system (RFC 8439 test vector), rejection sampling, made before the animation starts.casino.jsonkeeps the day's ledger (per-player wagered/paid for the loss cap, the day's wins, per-game totals). The casino is off unlessgambling.enabled.Cost
twenty_players_playing_cost_per_tick(ignored test, release): 20 players playing at once without pause (8 slots, 6 roulette, 6 crash) cost 20.6 µs a tick on average, 0.69 ms at worst, 86 pictures a second for the 20 menus.tags_of(Target::Guest)is empty), so@a[tag=…]found nobody.Proof
SMP_PROOF=casino python3 native/tools/native.py proof --resources … smp(proof_casino.py): a dedicated server with the mod and two real clients (horizon-ctl, under Xvfb on playhorizon). Lobby → roulette (13–14 distinct pictures in a 3.6–3.9 s spin, result in the action bar), a spin with the menu closed mid-spin, slots with a double click (one pull), a pull closed mid-reel, blackjack, max bet, and crash with both players (Steve disconnects mid-flight, Alex cashes out). Checked after the stop: 7 rounds each settled exactly once in audit.log, nothing left held, balances + pools = the Treasury's starting 50,000, casino.json totals. Passed on the last head's code before the rebase onto 0.22.0; the rebase only merged glue.rs/README/version with #126/#128–#133.Not in this PR
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.