Minesweeper ⚠ ☠ [for GameBox] 3.1.0

Minesweeper for Minecraft! Fully customisable!

  1. Nikl
    Tested Minecraft Versions:
    • 1.8
    • 1.9
    • 1.10
    • 1.11
    • 1.12
    • 1.13
    Source Code:
    https://github.com/NiklasEi/GameBox_Minesweeper
    This game depends on my plugin GameBox!

    minesweeper.png
    Identify the positions of the mines without clicking them!

    Fun inventory game. Take a look at the pictures below ;)







    This game depends on my plugin GameBox. It is one of many inventory games for which GameBox provides a neat GUI and lots of customization.
    Take a look at the GameBox page for the other games :)




    To start a game open the GameBox gui with /gb (/games, /gamebox) and click on Minesweeper. You can also use a hub item if you configured the hub mode in the GameBox configuration file. Or the minesweeper shortcut command (see GameBox page).


    Per default GameBox will give you access to an easy, normal, hard and a competition mode. You can change all that in the configuration file of Minesweeper.​


    • 4 Block types are used (Materials are customisable in the config)
      • Cover (default: Grey stained glass plane)
      • Flag (default: Sign)
      • Warning (default: Orange Wool)
      • Mine (default: Tnt)
    • Rules of the game
      • Right-click a covered slot to set a flag
      • Left-click a covered slot to uncover it
        • If it's a mine => you lost
        • Otherwise it can be empty, or a warning
      • Right-click a flag to unset it
      • You won, as soon as you uncovered everything exept the mines
    • Current state of the game is displayed
      • During the game the number of set flags and the number of mines are shown
      • The time you are already playing is displayed

    If you like inventory games, you could also take a look at Battleship and GemCrush ;) or express your happiness with a small donation [​IMG]


    Some pictures (outdated... I will update the description after my travels):
    start.png

    playing1.png

    playing2.png

    won.png


    default configuration file:
    Code (YAML):
    # ----------------------------------------------------------------------------#
    #                                                                             #
    #                             Minesweeper config                              #
    #                                                                             #
    # ----------------------------------------------------------------------------#

    # name of the language file (in the folder 'language')
    langFile
    : "default"

    gameBox
    :
      mainButton
    :
       # define the Material and data for the button (format: 'material:data')
        materialData
    : "TNT"
        # display name of the button
        displayName
    : "&3Minesweeper"
        # lore of the button
        lore
    :
       - ""
        - "&1Watch your step..."
      gameButtons
    :
        easy
    :
          materialData
    : "WOOL:13"
          displayName
    : "&aEasy"
          lore
    :
         - ""
          - "&1Mines
    : &r5"
          - "&1Cost
    : &45"
          - "&1Reward
    : &a7"
          mines
    : 5
          slot
    : 11
          cost
    : 5
          reward
    : 7
        normal
    :
          materialData
    : "WOOL:1"
          displayName
    : "&6Normal"
          lore
    :
         - ""
          - "&1Mines
    : &r8"
          - "&1Cost
    : &410"
          - "&1Reward
    : &a15"
          mines
    : 8
          cost
    : 10
          reward
    : 15
          slot
    : 20
        hard
    :
          materialData
    : "WOOL:14"
          displayName
    : "&cHard"
          lore
    :
         - ""
          - "&1Mines
    : &r10"
          - "&1Cost
    : &415"
          - "&1Reward
    : &a25"
          - "&1Tokens
    : &a1"
          mines
    : 10
          slot
    : 29
          cost
    : 15
          reward
    : 25
          tokens
    : 1
        saveStats
    :
          materialData
    : "diamond_block"
          displayName
    : "&c&lCompetition"
          lore
    :
         - ""
          - "&3&lThis is played on a big grid!"
          - "&1Mines
    : &r13"
          - "&cClimb up the &ltop list"
          - "&aGood luck!"
          - ""
          - "&1Cost
    : &450"
          - "&1Reward
    : &a75"
          - "&1Tokens
    : &a3"
          mines
    : 13
          big
    : true
          slot
    : 24
          cost
    : 50
          reward
    : 75
          # if true the best score of this button is saved
          saveStats
    : true
          tokens
    : 3
      topListButtons
    :
       # use the same key as the game you want to display the top list for
        #   for that button 'saveStats' must be true (see above)
        saveStats
    :
          materialData
    : "diamond_block"
          displayName
    : "&cTop list"
          lore
    :
         - ""
          - "&cCompetition &1top list"
          slot
    : 33
          # inventory title of the top list (%player% and %game%)
          inventoryTitle
    : '              Top List'
          # Lore of the skulls in the inventory. Use %rank% for the rank and %time% for the time in 'mm:ss'
          skullLore
    :
         - ''
          - '&6Rank:&1 %rank%'
          - '&6Time:&1 %time%'


    rules
    :
     # enable/disable sound
      playSounds
    : true
      # when you reveal an empty slot automatic revealing will uncover all attached empty slots until the first slot
      #   is not empty
      # change this to true if you DON'T want this option
      turnOffAutomaticRevealing
    : false


    # requires vault and an economy plugin
    #   to enable economy do not forget to enable it for GameBox too
    economy
    :
      enabled
    : false


    # use "Material:data" or "ID:data"
    materials
    :
      cover
    : "160:7"
      flag
    : "SIGN"
      mine
    : "TNT"
      warning
    : "WOOL:1"

    displaynames
    :
      cover
    : "&bCover"
      warning
    : "&cWarning"
      mine
    : "&4Mine"
      flag
    : "&1Flag"



    To come:
    Nothing planed for Minesweeper atm


    Please contact me with ideas


    Got any bugs or suggestions? Please tell me in the discussion.

Recent Reviews

  1. SHUTUPANDUSECAPS
    SHUTUPANDUSECAPS
    4/5,
    Version: 3.1.0
    I really enjoy Minesweeper but it would be a good idea to standardize it by generating the array of mines after the first click to ensure the first click is on a 0 square, which is commonplace among minesweeper variants.
  2. BertMitPferd
    BertMitPferd
    5/5,
    Version: 1.7.0
    Best minigame for Lobbys :) Love it, simple but fun.
    Is there a way you can add an option that the player can choose between various modes Easy, Medium, Hard (config option include to set number of mines)? If so, it would be nice if the toplist also has the option to show a list per mode
    If you need, i can provide a german lang file
    1. Nikl
      Author's Response
      Yes, I'll add the three different modes.
      Thank you for the good review :)
  3. blue1
    blue1
    5/5,
    Version: 1.6.1
    Amazing plugin! Works beautifully and brings one of my favorite single-player games to Minecraft to pass the time in the Hub. :)
    1. Nikl
      Author's Response
      Thanks a lot :)
  4. DavAll
    DavAll
    5/5,
    Version: 1.6.1
    Very good plugin ! I love the system in the inventory ! Great job ! ;)
    If you want, I can give you a lang_fr.yml, I'm french :p
    1. Nikl
      Author's Response
      Thank you!
      That would be nice :)
  5. H_curt
    H_curt
    5/5,
    Version: 1.6.1
    Perfect plugin, amazing! You need to make more of these! They are so fun!
    100 words
    100 words
    100 words
    1. Nikl
      Author's Response
      Thank you :)
      I am working on it
  6. SirSwiftness
    SirSwiftness
    5/5,
    Version: 1.6.1
    Unique gamemode fun for my hub thanks man and will add a nice feature to my network much appreciated !!
    1. Nikl
      Author's Response
      No problem ^^
      Thanks for the review
  7. halowhoflungpoo
    halowhoflungpoo
    5/5,
    Version: 1.6
    love it works fantastic thank you very much for making this. will make a great addition to my server.
    1. Nikl
      Author's Response
      Thank you!
  8. supeljnh
    supeljnh
    5/5,
    Version: 1.6
    window xp lorder
    ggwp
    .
    .
    1. Nikl
      Author's Response
      Thanks ^^
  9. yapperyapps
    yapperyapps
    5/5,
    Version: 1.5.1
    Thanks for this plugin I love the customization aspect of it. And thank you for helping me figure out the issue I had.
    1. Nikl
      Author's Response
      Sure, no problem.
      Thanks for your review :)
  10. mat41997
    mat41997
    5/5,
    Version: 1.4.1
    ============================
    I like this plugin, for the quick support.
    ============================
    1. Nikl
      Author's Response
      Thanks for your review :)