HomeJavaModsScratchOffs
ScratchOffs
ScratchOffs brings the fun of scratch tickets to your server economy. Players purchase tickets, scratch areas to reveal potential prizes, and can win rewards of varying values. The plugin features multiple ticket types, a jackpot system, and an interactive UI.

Features
Commands
Permissions
Configuration
Spoiler: Config.yml
Code (YAML):
# ScratchOffs Configuration

settings
:
  prefix
: '&8 [&6ScratchOffs&8 ] &r'
  scratch_mode
: 'ANIMATION'   # ANIMATION or INSTANT
  scratch_animation_speed
: 2   # 1-5, higher is faster
  win_sound_enabled
: true
  jackpot_broadcast_enabled
: true
  enable_statistics
: true
  game_cooldown
: 30   # Cooldown in seconds between games (0 to disable)
  confirm_expensive_purchases
: true   # Require confirmation for expensive tickets
  expensive_threshold
: 500.0   # Price threshold for confirmation
  auto_broadcast_jackpot
: true   # Broadcast jackpot amount periodically
  jackpot_broadcast_interval
: 30   # Minutes between jackpot broadcasts
  small_prizes_enabled
: true   # Enable small prizes based on gold patterns

small_prizes
:
  min_gold_for_prize
: 3   # Minimum gold areas to qualify for a small prize
  prize_multipliers
: # Multipliers for ticket cost based on gold areas
    3-4
: 0.5   # 3-4 gold areas gives 50% of ticket cost
    5-6
: 0.75   # 5-6 gold areas gives 75% of ticket cost
    7-8
: 1.0   # 7-8 gold areas gives 100% of ticket cost (break even)
    9
: 1.5   # All 9 areas gold gives 150% of ticket cost

games
:
  basic
:
    displayName
: '&6Basic Scratch-Off'
    description
: '&7A simple scratch-off game with small prizes.'
    cost
: 100.0
    min_win
: 50.0
    max_win
: 200.0
    win_chance
: 0.3   # 30% chance to win
 
  lucky
:
    displayName
: '&bLucky Scratch-Off'
    description
: '&7Try your luck with medium prizes.'
    cost
: 250.0
    min_win
: 100.0
    max_win
: 500.0
    win_chance
: 0.25   # 25% chance to win
 
  premium
:
    displayName
: '&dPremium Scratch-Off'
    description
: '&7High risk, high reward scratch-off.'
    cost
: 500.0
    min_win
: 200.0
    max_win
: 1000.0
    win_chance
: 0.2   # 20% chance to win
 
  jackpot
:
    displayName
: '&eJackpot Scratch-Off'
    description
: '&7Chance to win the progressive jackpot!'
    cost
: 1000.0
    min_win
: 500.0
    max_win
: 2000.0
    jackpot_chance
: 0.01   # 1% chance to win jackpot
    starting_jackpot
: 5000.0
    jackpot_increment
: 100.0   # Amount added to jackpot per play
    win_chance
: 0.15   # 15% chance to win (non-jackpot prize)
 
  bonus
:
    displayName
: '&aBonusRound Scratch-Off'
    description
: '&7Scratch for a chance at bonus rounds!'
    cost
: 750.0
    min_win
: 300.0
    max_win
: 1500.0
    bonus_chance
: 0.2   # 20% chance to get bonus round
    bonus_multiplier_min
: 1.5
    bonus_multiplier_max
: 3.0
    win_chance
: 0.22   # 22% chance to win initial prize

[​IMG]
[​IMG]

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

ScratchOffs is a free Minecraft Java mod. Compatible with Minecraft 1.20, 1.20.6, 1.21. Downloaded 141 times (via Spigot). Download it and open it directly in the game.

Explore more