9 releases, newest first.
roulette.yml key hidden-worlds (default []): world names, case-insensitive, where players do not see or hear the roulette (no wheel, no spin sounds, no result title), for example a PvP world.actions and player-actions, /weekend toggle./weekend toggle (permission snweekends.toggle, default true): a player turns the roulette off for themselves, and back on with the same command.
player-actions still reach them.data.yml (roulette-hidden), so it survives restarts.messages.players-only, messages.roulette-hidden, messages.roulette-shown./weekend roulette force <segment> <now|next> (permission snweekends.admin.roulette):
now spins the roulette onto that segment right away (weekend active only).next makes the next automatic spin land on that segment. The force is kept in data.yml, survives restarts and the end of a weekend, and is used up by the first automatic spin that starts. A manual /weekend roulette spin leaves it in place./weekend roulette unforce: drops a pending next force, so the next automatic spin is random again.roulette.yml no longer defines is dropped with one console warning and that spin is random.messages.roulette-forced-next, roulette-forced-next-unscheduled, roulette-unforced, roulette-unforce-none.wheel.frame-resolution (2 by default; 1 keeps them as sharp as the slices).wheel.sparkles is now false by default and also covers the glints of light and the dots on the rim. The rim is one flat color all the way round.wheel.shadow (false by default) removes the shadow Minecraft draws under every title, which showed as a dark crescent along the lower right edge of the wheel. It works for players on 1.21.4 or newer on a 1.21.4 or newer server; older clients keep the shadow.wheel.sparkles: false in roulette.yml for the clean wheel: a 1.4.0 server wrote true there. The other new keys are added by themselves./weekend reload, merge the rewritten SnWeekEnds-Roulette.zip into your server pack and send it again. This is needed even if you change nothing: the 1.5.0 wheel does not draw with a 1.4.0 pack.wheel.glyph-height is now 56, the largest wheel that still fits the screen of a player on GUI Scale Auto (the wheel is a title, so it scales with each player's GUI Scale).roulette.yml keys: spin.intro, spin.result-fill, spin.flash, wheel.gem-color, wheel.separator-color, wheel.sparkles, wheel.motion-blur.roulette.spinning-subtitle is empty by default: a wheel this big leaves no room for a subtitle.wheel.texture-size is capped at 256 (a Minecraft font cannot draw a larger picture) and wheel.repeat at 120 slices in all. Each logs one warning when it lowers your value.wheel.motion-blur: false halves it.Your roulette.yml and lang file keep their values, so the new wheel is drawn with your old colors, size and timing until you set the new defaults:
# roulette.yml
spin:
duration: 8.5s
rotations: 12
reveal-delay: 0.9s
wheel:
glyph-height: 56
glyph-ascent: 26
rim-color: "#F2B01E"
light-color: "#FFF3B8"
pointer-color: "#F7B924"
hub-color: "#E8A91C"# lang/messages_en.yml
roulette:
spinning-subtitle: ""Then run /weekend reload, merge the rewritten SnWeekEnds-Roulette.zip into your server pack and send it again. The new keys are added by themselves.
guis/weekend.yml accept {roulette} (the name of the segment the wheel landed on) and {multiplier} (the weekend multiplier it set); the default active template now has a roulette line. Existing menus keep their own lore: add the two placeholders where you want them.%snweekends_percent_<n>% and %snweekends_scaled_<n>% return the number n times the current multiplier (%snweekends_percent_15% reads 22.5% under x1.5 and 15% before the wheel lands), so the static items of the menu, a scoreboard or a hologram can show what each boost is worth right now. Requires PlaceholderAPI.guis/weekend.yml can now be a single picture from your pack instead of a grid of icons.status region fills every cell of its letter (it used to fill one), so the picture of the status can span a block of cells and all of them show the countdown tooltip.title resolves {state} (active or inactive) and {status} (the lang state word). Put {state} in the name of your glyph to show a different picture while the weekend is active. If the weekend starts or ends with the menu open, the window is reopened once so the picture follows.weekend.yml explain the recipe (an existing file keeps its own comments).roulette.yml). While the weekend is active a game-show wheel spins on every player's screen with the DEDsafio roulette sound, slows down and lands on a weighted segment. The segment sets the weekend multiplier every boost reads as {roulette-multiplier} (red x0.5 nerfs, gold x3 triples), runs its own actions once (a key all, for example) and player-actions for every online player, and is broadcast. It spins start-delay after the weekend starts, optionally every interval, and on /weekend roulette spin [segment]. The result survives restarts and goes back to x1 when the weekend ends.plugins/SnWeekEnds/resourcepack/SnWeekEnds-Roulette.zip (own snweekends namespace: wheel glyph frames + sounds) on boot, on reload and on /weekend roulette pack. Merge it into your server pack (SnTexturePack: texturepack/merge/). Every .ogg in resourcepack/sounds/ becomes snweekends:roulette.<name>.config.yml bossbar). Shown to every player while the weekend is active: countdown, roulette result, a moving MiniMessage gradient ({phase}), cycling bar colors and the time left as progress.{roulette} and {roulette-multiplier}, and an optional on-roulette list that runs after every result while the boost is applied. The shipped EdTools examples now scale with the roulette and dungeons-souls.yml restarts its event at 1 + 0.2 * {roulette-multiplier} (examples are seeded on first install only)./weekend roulette spin [segment] | clear | pack (snweekends.admin.roulette), %snweekends_roulette%, %snweekends_roulette_id%, %snweekends_roulette_multiplier%.boosts/*.yml (expressions, action language, event listener binding).boosts/ is owner content copied once: servers that already have the folder keep their own copy of the example boosts.player-start runs on every join while the weekend is active, and player-end reaches only players online at the end. Boost lines you write must be safe to repeat.presentation: block in config.yml, and /weekend validate diagnostics are English literals.