Home›Java›Mods›MiningFlares
MiningFlares
ModsJava

MiningFlares

Java mod listed for Minecraft 1.8–1.12. Downloads from the MC Java Mods app on Android.

⬇ Download on Spigot
Do leave some reviews as to what you think and what features you would like too see!

infoback.png
MiningFlares is a plugin that gives your players a random item that can be redeemed for a prize. Everything in the plugin is fully customizable meaning you can edit it too how your server will use it! From the rewards too the error messages, everything is easy to read/use and wont clutter the screen.

For a more in depth showcase and tutorial on the plugin go check out my video that explains it all!
1.0 Showcase -

1.1 Showcase -

Channel - https://www.youtube.com/channel/UCFARI1eUnLgUl5TgwdQ9lfw

Functions:
- /Mflare <command> - now controls entire plugin
- /Mflare Give <Tier1-5> <Player> <Amount> - Give a flare directly to a player with a specified amount. Great for events!

- /Mflare Help - Shows all commands that you can do with the permissions you have
- /Mflare Reload <All/Flares/Tier1-5> - Reload all configs or specific ones
- /Mflare Rewards - Open the rewards menu to check all rewards

- Broadcasting messages for highest tiers of flares! Show off your achievement.
- Messaging players to notify of you receiving a lower tier flare.

Coming soon:
- Ability to send commands as a reward. Eg: /pay %player% 5000
- NPC's and Crates as a way to redeem - toggleable
- Ability too add items to and remove items from the rewards list from in game


Here you can see the rewards GUI's that display all possible rewards from the flares (split into the 5 tiers):
mainmenu.png
This has 5 tiers of flares with 18 possible rewards for each one, this image shows the highest tier GUI with some random items for testing purposes.
View attachment 260720 View attachment 260719
There are a few permissions that need too be assigned for certain functions.
Spoiler: Permissions
Code (Text):
permissions:
    flare.menu:
        description: Permission to open the rewards menu
        default: true
    flare.give:
        description: Permission to use /flaregive to give flares to players
        default: op
    flare.reload:
        description: Permission to reload the MiningFlares config
        default: op

installation.png
The installation and setup of this plugin is very simple. To install the plugin all you need is any version of spigot running on your server, no dependencies are needed so simply download the plugin and drop it in the plugins folder.
When you first run the server with it installed the config will be generated and from there on you can edit and customize to your hearts content. At the current time it will not reset if done wrong but that will be added very soon.
config.png
When setting up the rewards for each tier, you need too make sure that the percentages are done in the correct order. This is because of the way I setup the giving out and will be rectified in a later version, when I am more comfortable with it.
You need too make sure that the lowest percentage chance items are the first in the list. Then getting higher percentages as you work your way down the list.
Spoiler: Config Example
Code (Text):
 MiningFlares:
  commonflare:
    Enabled: true
    Item: FIREWORK
    Name: '&a&lCommon Flare'
    Lore:
    - ' '
    - '&aThe easiest Flare to find!'
    - '&aClick to receive some peasant loot!'
    Enchantments:
      Enchant: LUCK
      Level: 10
    Chance: 2
    Message: '&7You found a &a&lCommon Flare'
  uncommonflare:
    Enabled: true
    Item: FIREWORK
    Name: '&6&lUn-Common Flare'
    Lore:
    - ' '
    - '&6Slightly better than before!'
    - '&6Click to receive some cool loots!'
    Enchantments:
      Enchant: LUCK
      Level: 10
    Chance: 1
    Message: '&7You found a &6&lUn-Common Flare'
  rareflare:
    Enabled: true
    Item: FIREWORK
    Name: '&9&lRare Flare'
    Lore:
    - ' '
    - '&9Rare find!'
    - '&9The rarity of these is unknown!'
    Enchantments:
      Enchant: LUCK
      Level: 10
    Chance: 0.1
    Message: '&7You found a &9&lRare Flare'
  legendaryflare:
    Enabled: true
    Item: FIREWORK
    Name: '&c&lLegendary Flare'
    Lore:
    - ' '
    - '&cLegends only speak of these!'
    - '&cYou never know what you''ll get!'
    Enchantments:
      Enchant: LUCK
      Level: 10
    Chance: 0.01
    BroadcastNameColor: '&7&l' # The color of the players name that recieves the Flare
    MiddleColor: '&7' # The color of the message inbetween the players name and the message
    Message: ' found a &c&lLegendary Flare' # The color of the end message
  mysticalflare:
    Enabled: true
    Item: FIREWORK
    Name: '&5&lMystical Flare'
    Lore:
    - ' '
    - '&5The mystery never ends!'
    - '&5Only the luckiest prisoners find these!'
    Enchantments:
      Enchant: LUCK
      Level: 10
    Chance: 0.001
    BroadcastNameColor: '&7&l' # The color of the players name that recieves the Flare
    MiddleColor: '&7' # The color of the message inbetween the players name and the message
    Message: ' found a &5&lMystical Flare' # The color of the end message

Spoiler: Rewards Config Example
Code (Text):
 FlareRewards:
  commonflarerewards:
    1:
      item:
        Item: BARRIER
        Name: '&f&ltest'
        Lore:
        - '&ftest'
        Enchantments:
          Enchant: PROTECTION_ENVIRONMENTAL
          Level: 1
        Chance: 50
    2:
      item:
        Item: BARRIER
        Name: '&f&ltest'
        Lore:
        - '&ftest'
        Enchantments:
          Enchant: PROTECTION_ENVIRONMENTAL
          Level: 1
        Chance: 50
    3:
      item:
        Item: BARRIER
        Name: '&f&ltest'
        Lore:
        - '&ftest'
        Enchantments:
          Enchant: PROTECTION_ENVIRONMENTAL
          Level: 1
        Chance: 50
    4:
      item:
        Item: BARRIER
        Name: '&f&ltest'
        Lore:
        - '&ftest'
        Enchantments:
          Enchant: PROTECTION_ENVIRONMENTAL
          Level: 1
        Chance: 50
    5:
      item:
        Item: BARRIER
        Name: '&f&ltest'
        Lore:
        - '&ftest'
        Enchantments:
          Enchant: PROTECTION_ENVIRONMENTAL
          Level: 1
        Chance: 50
    6:
      item:
        Item: BARRIER
        Name: '&f&ltest'
        Lore:
        - '&ftest'
        Enchantments:
          Enchant: PROTECTION_ENVIRONMENTAL
          Level: 1
        Chance: 50
    7:
      item:
        Item: BARRIER
        Name: '&f&ltest'
        Lore:
        - '&ftest'
        Enchantments:
          Enchant: PROTECTION_ENVIRONMENTAL
          Level: 1
        Chance: 50
    8:
      item:
        Item: BARRIER
        Name: '&f&ltest'
        Lore:
        - '&ftest'
        Enchantments:
          Enchant: PROTECTION_ENVIRONMENTAL
          Level: 1
        Chance: 50
    9:
      item:
        Item: BARRIER
        Name: '&f&ltest'
        Lore:
        - '&ftest'
        Enchantments:
          Enchant: PROTECTION_ENVIRONMENTAL
          Level: 1
        Chance: 50
    10:
      item:
        Item: BARRIER
        Name: '&f&ltest'
        Lore:
        - '&ftest'
        Enchantments:
          Enchant: PROTECTION_ENVIRONMENTAL
          Level: 1
        Chance: 50
    11:
      item:
        Item: BARRIER
        Name: '&f&ltest'
        Lore:
        - '&ftest'
        Enchantments:
          Enchant: PROTECTION_ENVIRONMENTAL
          Level: 1
        Chance: 50
    12:
      item:
        Item: BARRIER
        Name: '&f&ltest'
        Lore:
        - '&ftest'
        Enchantments:
          Enchant: PROTECTION_ENVIRONMENTAL
          Level: 1
        Chance: 50
    13:
      item:
        Item: BARRIER
        Name: '&f&ltest'
        Lore:
        - '&ftest'
        Enchantments:
          Enchant: PROTECTION_ENVIRONMENTAL
          Level: 1
        Chance: 50
    14:
      item:
        Item: BARRIER
        Name: '&f&ltest'
        Lore:
        - '&ftest'
        Enchantments:
          Enchant: PROTECTION_ENVIRONMENTAL
          Level: 1
        Chance: 50
    15:
      item:
        Item: BARRIER
        Name: '&f&ltest'
        Lore:
        - '&ftest'
        Enchantments:
          Enchant: PROTECTION_ENVIRONMENTAL
          Level: 1
        Chance: 50
    16:
      item:
        Item: BARRIER
        Name: '&f&ltest'
        Lore:
        - '&ftest'
        Enchantments:
          Enchant: PROTECTION_ENVIRONMENTAL
          Level: 1
        Chance: 50
    17:
      item:
        Item: BARRIER
        Name: '&f&ltest'
        Lore:
        - '&ftest'
        Enchantments:
          Enchant: PROTECTION_ENVIRONMENTAL
          Level: 1
        Chance: 50
    18:
      item:
        Item: BARRIER
        Name: '&f&ltest'
        Lore:
        - '&ftest'
        Enchantments:
          Enchant: PROTECTION_ENVIRONMENTAL
          Level: 1
        Chance: 50

Any questions don't hesitate too message me or ask in the discussion!

Do NOT decompile and use this plugin as your own work! If you do want to decompile it, send me a message with your intentions and then I will give you permission or not! Thanks

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.

MiningFlares is a free Minecraft Java mod. Compatible with Minecraft 1.8, 1.9, 1.10, 1.11 and newer. Downloaded 288 times (via Spigot). Download it and open it directly in the game.

Explore more