▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Моды/Cobblemon MiniGames
Cobblemon MiniGames

Cobblemon MiniGames

Bring a Game Corner-style casino to Cobblemon! Gamble for coins in arcade games, hit jackpots, and spend your winnings on rare items and Pokémon. Fully configurable rewards, odds, rarities, and shop prizes.

Оцените первым
1.7K
8

!logo

Turn your Cobblemon world into a place players want to visit between adventures.

Cobblemon MiniGames adds a fully playable arcade experience with a craftable machine, six minigames, Arcade Coins, a Coin Case, and a reward shop. Win coins from Roulette, Slot Machine, Flappy Bird, Block Stacker, Snake, and Derby, then spend them on configurable rewards for your server.

!Home image

Minigames

Roulette

!Roulette image

Roulette is inspired by the Pokemon Emerald roulette table. When the player enters, they pick a table wager first. The left table uses the normal low wager, the right table uses a higher wager, and every seventh Minecraft day the right table becomes the service-day table with its own configured wager.

After choosing a table, the player bets on a Pokemon column, a color row, or an exact square. A spin consumes the table wager and drops one ball onto the wheel. Winning pays wager * multiplier, and the round keeps the landed balls until six balls have been placed or no valid squares remain. If the player leaves mid-round and comes back later, the active roulette round is resumed.

Payouts are based on the selected area:

  • Column bets pay x6, x4, or x3 depending on how many balls in that column are already occupied.
  • Row bets pay x4 or x3 depending on how many balls in that row are already occupied.
  • Exact square bets pay x12 if the ball lands on that square.
  • When the board is cleared, the next entry returns to table selection.

Slot Machine

!Slot Machine image

Slot Machine is inspired by the Pokemon Emerald slot machine. The player inserts one to three coins, starts the reels, then stops each reel with the action button. One coin activates the middle line, two coins activate top, middle, and bottom, and three coins activate all five lines including the diagonals.

Bet Max inserts up to three coins and starts the spin when all three have been accepted. Wins pay Arcade Coins immediately. Replay and power matches count as wins for the machine flow, but replay pays zero coins and power builds Pika Power. Pika Power can trigger Reel Time, which gives a short special sequence and may grant slower bonus spins.

Current symbol payouts:

  • Cherry pays 2 coins on the middle line, or 4 coins on top/bottom cherry lines.
  • Lotad pays 6 coins.
  • Azurill pays 12 coins.
  • Power pays 3 coins and adds Pika Power.
  • Mixed 7 pays 90 coins.
  • Red 7 pays 300 coins.
  • Blue 7 pays 300 coins and marks the next Reel Time as lucky.
  • Replay counts as a match but pays no coins.

Flappy Bird

!Flappy Bird image

Flappy Bird spends the configured entry cost, then starts a countdown. The player flaps Butterfree through the obstacle gaps. Each cleared obstacle gives one point and increases the speed by 0.05x, starting at 2.00x and capped at 7.00x. On crash, the run pays score * 2 Arcade Coins.

Block Stacker

!Block Stacker image

Block Stacker spends the configured entry cost, then asks the player to stop moving blocks row by row. Missing every block ends the run. Reaching row 6 offers a 50-coin cash-out, row 7 offers 250 coins, and row 8 pays the 1000-coin top prize. At each cash-out prompt, the player can take the current reward or keep going.

Snake

!Snake image

Snake spends the configured entry cost, then lets the player guide Onix around the field. Every berry adds one point and grows the snake. Hitting a wall or the snake body ends the run and pays score * 2 Arcade Coins.

Derby

!Derby image

Derby generates six racers, then lets the player choose one and place a bet in 10-coin steps. The maximum bet is the amount of Arcade Coins the player currently has, rounded down by the 10-coin step. A selected racer must finish first to win. Payout depends on the racer odds shown on the bet slip.

The bet slip can show these odds:

  • Payout 1: x1.1, so a 10-coin bet returns 11.
  • Payout 2: x1.2, so a 10-coin bet returns 12.
  • Payout 3: x1.3, so a 10-coin bet returns 13.
  • Payout 4: x1.5, so a 10-coin bet returns 15.
  • Payout 5: x2, so a 10-coin bet returns 20.
  • Payout 6: x3, so a 10-coin bet returns 30.
  • Payout 7: special Feebas jackpot, capped by the global coin limit.

Coin Case

The Coin Case stores virtual Arcade Coins in the item data. If the player has a Coin Case in their inventory, game payouts go into it first. Players can also use the Coin Case screen to deposit physical coins from the inventory or withdraw stored coins back into item stacks.

Important details:

  • The shared coin cap is 999999.
  • Payouts are stored in the Coin Case first when one is present.
  • Withdrawals only create as many physical coins as the inventory can hold.

Recipes

MiniGames Coin Case

!coin case recipe

Ingredients:

  • 1 Cobblemon Relic Coin
  • 4 Leather

MiniGames Coin

!coin recipe

Ingredients:

  • 1 Cobblemon Relic Coin
  • 4 Iron Nuggets

MiniGames Machine

!machine recipe

Ingredients:

  • 4 any Planks
  • 2 Gold Ingots
  • 2 Iron Ingots
  • 1 Emerald

Configuration

Server configuration lives in config/cobblemonminigames/config.yml.

KeyValueDescription
snake.coinToPlay1Arcade Coins consumed when a Snake run starts.
flappybird.coinToPlay1Arcade Coins consumed when a Flappy Bird run starts.
blockstacker.coinToPlay1Arcade Coins consumed when a Block Stacker run starts.
roulette.leftTableBet1Wager used by the normal left roulette table.
roulette.rightTableBet3Wager used by the normal right roulette table.
roulette.serviceDayBet6Wager used by the right roulette table every seventh Minecraft day.

Shop configuration lives in config/cobblemonminigames/shop/. Each shop file should be named after the mod id that provides the rewards inside it. For example, use cobblemon.yml for Cobblemon rewards, mega_showdown.yml for Mega Showdown rewards, or my_mod.yml for rewards from another mod.

Every shop file contains categories, each category contains subcategories, and each subcategory contains purchasable rewards. Item rewards use type: item; Pokemon rewards use type: pokemon.

Example:

categories:
  - id: supplies
    name: Supplies
    icon: minecraft:chest
    subcategories:
      - name: Pokeballs
        items:
          - type: item
            id: cobblemon:poke_ball
            quantity: 1
            price: 10
      - name: Starters
        items:
          - type: pokemon
            id: cobblemon:bulbasaur
            level: 5
            shiny: false
            price: 300

Useful fields:

  • id: category id, item id, or Pokemon id depending on where it appears.
  • name: display name for a category or subcategory.
  • icon: item id used as the category tab icon.
  • type: item or pokemon.
  • quantity: item stack size for item entries.
  • level, shiny, aspect: optional Pokemon entry settings.
  • price: Arcade Coin price.
  • rarity: optional reward rarity name; defaults to common.

Client Keybinds

Client keybinds live in config/cobblemonminigames/keybinds.yml. The file is generated with every action as a list of keys (one entry per line), like this:

  • /cobblemonminigames reloadkeybind reloads the keybinds from the file without restarting the game.
roulette:
  confirm:
  - KEY_SPACE
  - KEY_ENTER
  - KEY_A
  quit:
  - KEY_ESCAPE
  up:
  - KEY_UP
  down:
  - KEY_DOWN
  left:
  - KEY_LEFT
  right:
  - KEY_RIGHT
  bet_up:
  - KEY_KP_ADD
  - KEY_EQUAL
  bet_down:
  - KEY_KP_SUBTRACT
  - KEY_MINUS

When editing, an action may keep several keys (a list, as above) or be a single key written inline, e.g. up: KEY_W. Use familiar key names such as KEY_W, KEY_SPACE, KEY_ENTER, or KEY_F1. For convenience, KEY_W, GLFW_KEY_W, and W all resolve to the same key.

KeyValueDescription
Printable keysKEY_A, KEY_1, KEY_SPACE, KEY_MINUS, KEY_EQUALNormal keyboard keys.
Function keysKEY_F1 to KEY_F25Function keys.
Navigation keysKEY_UP, KEY_DOWN, KEY_LEFT, KEY_RIGHT, KEY_HOME, KEY_ENDMovement and navigation keys.
Editing keysKEY_ENTER, KEY_TAB, KEY_BACKSPACE, KEY_DELETE, KEY_INSERTCommon menu/editing keys.
Keypad keysKEY_KP_0 to KEY_KP_9, KEY_KP_ADD, KEY_KP_SUBTRACTNumeric keypad keys.
Modifier keysKEY_LEFT_SHIFT, KEY_RIGHT_CONTROL, KEY_LEFT_ALTModifier keys if a server pack wants them as direct actions.

Keybind Actions

KeyValueDescription
roulette.confirmKEY_SPACE, KEY_ENTER, KEY_AConfirm table, place bet, or continue after a result.
roulette.quitKEY_ESCAPELeave the roulette screen. Active rounds are preserved.
roulette.upKEY_UPMove roulette selection up.
roulette.downKEY_DOWNMove roulette selection down.
roulette.leftKEY_LEFTMove roulette selection left.
roulette.rightKEY_RIGHTMove roulette selection right.
roulette.bet_upKEY_KP_ADD, KEY_EQUALMove to the next available roulette table wager before entering the table.
roulette.bet_downKEY_KP_SUBTRACT, KEY_MINUSMove to the previous available roulette table wager before entering the table.
slotmachine.primaryKEY_A, KEY_SPACE, KEY_ENTERStart reels, stop the current reel, or repeat a winning bet.
slotmachine.betKEY_DOWNInsert one coin.
slotmachine.max_betKEY_UPInsert up to three coins and start when max bet is reached.
slotmachine.infoKEY_IOpen or close the slot info screen.
slotmachine.quitKEY_ESCAPELeave the slot machine, or close info/Reel Time when that overlay is active.
flappybird.flapKEY_SPACE, KEY_A, KEY_UP, KEY_ENTERStart from ready/game-over states, or flap while playing.
flappybird.quitKEY_ESCAPELeave the Flappy Bird screen.
blockstacker.primaryKEY_SPACE, KEY_ENTER, KEY_AStart, drop blocks, or confirm the Keep Going prompt.
blockstacker.leftKEY_LEFTSelect Yes at the Keep Going prompt.
blockstacker.rightKEY_RIGHTSelect No at the Keep Going prompt.
blockstacker.backKEY_BCash out at the Keep Going prompt, or leave from regular states.
blockstacker.quitKEY_ESCAPELeave the Block Stacker screen.
snake.startKEY_SPACE, KEY_ENTER, KEY_AStart a Snake run from ready/game-over states.
snake.quitKEY_ESCAPELeave the Snake screen.
snake.upKEY_UPTurn up.
snake.downKEY_DOWNTurn down.
snake.leftKEY_LEFTTurn left.
snake.rightKEY_RIGHTTurn right.
derby.confirmKEY_SPACE, KEY_ENTER, KEY_APick racer, start race, or continue after a result.
derby.backKEY_B, KEY_BACKSPACEGo back from betting to racer select, or leave from racer select.
derby.quitKEY_ESCAPELeave Derby.
derby.upKEY_UPIncrease Derby bet by 10 coins.
derby.downKEY_DOWNDecrease Derby bet by 10 coins.
derby.leftKEY_LEFTPrevious racer.
derby.rightKEY_RIGHTNext racer.

Server Notes

  • /cobblemonminigames reload requires permission level 2 and reloads the server configs.
  • Game payouts are Arcade Coins. Shop contents and prices are controlled through the shop YAML files.
  • If a player has a Coin Case, payouts are stored there first.

Credits

  • Roulette and Slot Machine are inspired by the Pokemon Emerald Game Corner.
  • Flappy Bird, Block Stacker, Snake, and Derby are inspired by games from Pokemon Emerald GameCorner Expansion by heyopc.

Часто задаваемые вопросы

Совместимость

Minecraft: Java Edition

1.21.x

Платформы

Поддерживаемые окружения

Клиент и сервер

Зависимости

Ссылки

Создатели

Детали

Лицензия:
Опубликован:1 месяц назад
Обновлён:2 недели назад
Главная