Sueta

Minesweeper [1.12 - 1.15]

1.2.4

GUI Minigame With Rewards

·Plugin

Overview.png
• A simple GUI for players to use
• Easy to use
• Can give rewards
• Ability to open game from other plugins (using commands)

commands.png

• /minesweeper <mine amount>
• <mine amount> must be within 1 and 53

- To use signs, simply enter [MineSweeper] on the top line and exit out

config.png

config.yml
# MineSweeper

## Overview
- A simple GUI for players to use
- Easy to use
- Can give rewards
- Ability to open game from other plugins (using commands)

## Commands
- /minesweeper "<mine amount>"
- "<mine amount>" must be within 1 and 53
- if no mine amount specificed, default bomb value from config.yml will be used


## Default Configuration
```
# possible buy in types:
# - items
# - vault

buy-in:
  enable: true
  type: vault

# the default amount of bombs at the execution of "/minesweeper"

default-bombs: 5

#if 'give-rewards' are true, input what commands to execute when a player win a game
#use %player% to reference the player name

give-rewards: true
rewards:
  - give %player% diamond
  - give %player% emerald
 
#if 'buy-in' is true, input the item ID's of the items that the player can use to buy them in

cost:
  items:
    - 265
  vault:
    amount: 35
    currency: $
```

permissions.png

"minesweeper.use" - Allows a player to access the Minesweeper UI
"minesweeper.reward" - Allows the player to get rewards when completing the game
"minesweeper.sign.create" - Allows player to create a sign

demo.png

help.png
• If you have any issues with this plugin or find bugs, please let me know
• Any suggestions would be gladly accepted
• Contact me on either Spigot DM's or Discord: Rob#1609

• Also thankyou to @Shadow48402 for some fixes and suggestions

Similar projects

Plugin →