G5Miner icon

G5Miner -----

plugin for a miner



functions:
- Skill Tree
[​IMG]
- Stats
[​IMG]
- Custom sub commands
[​IMG]
- very large configuration


Code (YAML):
# permissions:
# G5Miner.admin - for admin
# G5Miner.miner - for players
permission-error
: "&cYou don't have permission"

# CUSTOM sub commands!
# /miner = open menu
miner-command
:
  #example: /miner points
  points
:
    message
: "&bYou have &d%points% &bpoints."
  #example: /miner menu
  menu
:
    openGUI
: main
  stats
:
    openGUI
: Stats
#  GUI Settings:
gui
:
  name
: "&eG5&cMiner &7- &aMain Menu"
  empty-slot
:
    material
: black_stained_glass_pane
    name
: " "
    glow
: false
    onClick
:
      message
: "&cNothing... (you can remove onClick)"
    lore
:
     - " "
  slots
:
    11
:
      material
: jungle_sapling
      name
: "&aSkill Tree"
      glow
: true
      onClick
:
        openGUI
: SkillTree
      lore
:
       - "&7change &epoints &7for nice skill"
    15
:
      material
: paper
      name
: "&bStats"
      glow
: true
      onClick
:
        openGUI
: Stats
      lore
:
       - "&eClick here to view your stats"

# Skill Tree:
skillTreeGui
:
  name
: "&eG5&cMiner &7- &aSkillTree"
  empty-slot
:
    material
: black_stained_glass_pane
    name
: " "
    glow
: false
    onClick
:
      command
: "msg %player% nothing..."
    lore
:
     - " "
  slots
:
    0
:
      material
: gold_ingot
      name
: "&6Points"
      glow
: true
      lore
:
       - "&e1 point = 1 level up"
        - "&bYou have &d%points% &bpoints"
    11
:
      material
: diamond_pickaxe
      name
: "&a&bDouble Drops"
      glow
: true
      onClick
:
        upgradeSkill
:
          name
: DoubleDrops
          if-done
:
            sound
: ENTITY_EXPERIENCE_ORB_PICKUP
          if-deny
:
            sound
: ENTITY_VILLAGER_NO
      lore
:
        - "&bCurrent level
: &d%DoubleDropsLvl%"
        - "&bCurrent chance for Double Drop
: &d%DoubleDropsChance%%"
        - "&bNext chance for Double Drop
: &d%DoubleDropsNextChance%%"
        - "&cClick to upgrade!"
    15
:
      material
: lava_bucket
      name
: "&e&bAnti Lava"
      glow
: true
      onClick
:
        upgradeSkill
:
          name
: AntiLava
          if-done
:
            sound
: ENTITY_EXPERIENCE_ORB_PICKUP
          if-deny
:
            sound
: ENTITY_VILLAGER_NO
      lore
:
        - "&bCurrent level
: &d%AntiLavaLvl%"
        - "&bCurrent chance to avoid lava damage
: &d%AntiLavaChance%%"
        - "&bNext chance to avoid lava damage
: &d%AntiLavaNextChance%%"
        - "&cClick to upgrade!"
    26
:
      material
: barrier
      name
: "&cBack"
      glow
: true
      onClick
:
        openGUI
: Main
      lore
: [ ]
skills
:
  anti-lava
:
    levels
:
      1
:
        chance
: 0
      2
:
        chance
: 10
      3
:
        chance
: 15
      4
:
        chance
: 20
      5
:
        chance
: 25
      6
:
        chance
: 30
      7
:
        chance
: 35
      8
:
        chance
: 40
      9
:
        chance
: 45
      10
:
        chance
: 50
      11
:
        chance
: 55
      12
:
        chance
: 60
      13
:
        chance
: 65
      14
:
        chance
: 70
      15
:
        chance
: 75
      16
:
        chance
: 80
      17
:
        chance
: 85
      18
:
        chance
: 90
      19
:
        chance
: 95
      20
:
        chance
: 100
  double-drop
:
    levels
:
      1
:
        chance
: 0
      2
:
        chance
: 4
      3
:
        chance
: 6
      4
:
        chance
: 8
      5
:
        chance
: 10
      6
:
        chance
: 12
      7
:
        chance
: 14
      8
:
        chance
: 16
      9
:
        chance
: 18
      10
:
        chance
: 20
      11
:
        chance
: 22
      12
:
        chance
: 24
      13
:
        chance
: 26
      14
:
        chance
: 28
      15
:
        chance
: 30
      16
:
        chance
: 34
      17
:
        chance
: 36
      18
:
        chance
: 40
      19
:
        chance
: 44
      20
:
        chance
: 50

# Stats:
statsGui
:
  name
: "&eG5&cMiner &7- &aStats"
  empty-slot
:
    material
: black_stained_glass_pane
    name
: " "
    glow
: false
    lore
: [ ]
  slots
:
    0
:
      material
: Diamond_Ore
      name
: "&bMined Diamond: &e%MinedDiamond%"
      glow
: false
      lore
: [ ]
    1
:
      material
: Coal_Ore
      name
: "&bMined Coal: &e%MinedCoal%"
      glow
: false
      lore
: [ ]
    2
:
      material
: Iron_Ore
      name
: "&bMined Iron: &e%MinedIron%"
      glow
: false
      lore
: [ ]
    3
:
      material
: Gold_Ore
      name
: "&bMined Gold: &e%MinedGold%"
      glow
: false
      lore
: [ ]
    4
:
      material
: Emerald_Ore
      name
: "&bMined Emerald: &e%MinedEmerald%"
      glow
: false
      lore
: [ ]
    5
:
      material
: Lapis_Ore
      name
: "&bMined Lapis: &e%MinedLapis%"
      glow
: false
      lore
: [ ]
    6
:
      material
: Redstone_Ore
      name
: "&bMined Redstone: &e%MinedRedstone%"
      glow
: false
      lore
: [ ]
    7
:
      material
: Stone
      name
: "&bMined Stone: &e%MinedStone%"
      glow
: false
      lore
: [ ]
    8
:
      material
: Andesite
      name
: "&bMined Andesite: &e%MinedAndesite%"
      glow
: false
      lore
: [ ]
    9
:
      material
: Diorite
      name
: "&bMined Diorite: &e%MinedDiorite%"
      glow
: false
      lore
: [ ]
    10
:
      material
: Granite
      name
: "&bMined Granite: &e%MinedGranite%"
      glow
: false
      lore
: [ ]
    11
:
      material
: Gravel
      name
: "&bMined Gravel: &e%MinedGravel%"
      glow
: false
      lore
: [ ]
    12
:
      material
: Dirt
      name
: "&bMined Dirt: &e%MinedDirt%"
      glow
: false
      lore
: [ ]
    13
:
      material
: Grass_Block
      name
: "&bMined Grass Block: &e%MinedGrassBlock%"
      glow
: false
      lore
: [ ]
    14
:
      material
: Cobblestone
      name
: "&bMined Cobblestone: &e%MinedCobblestone%"
      glow
: false
      lore
: [ ]

    # ONLY 1.18!
    #    15:
    #      material: Deepslate
    #      name: "&bMined Deepslate: &e%MinedDeepslate%"
    #      glow: false
    #      lore: []

    26
:
      material
: barrier
      name
: "&cBack"
      glow
: true
      onClick
:
        openGUI
: Main
      lore
: [ ]

# miner levels
miner-level
:
  blocks
:
    stone
:
      exp
: 1
    diamond_ore
:
      exp
: 8
      ignoreIfSilkTouch
: true
    emerald_ore
:
      exp
: 10
      ignoreIfSilkTouch
: true
    iron_ore
:
      exp
: 6
      ignoreIfSilkTouch
: true
    gold_ore
:
      exp
: 6
      ignoreIfSilkTouch
: true
    lapis_ore
:
      exp
: 6
      ignoreIfSilkTouch
: true
    coal_ore
:
      exp
: 4
      ignoreIfSilkTouch
: true
    redstone_ore
:
      exp
: 2
      ignoreIfSilkTouch
: true
  bossbar
:
    start-level
: 1
    title
: "&7Miner &f%lvl% &flvl &d(&e%exp%&d/&e%maxExp%&d)"
    color
: WHITE
    # colors:
    # PINK
    # BLUE
    # RED
    # GREEN
    # YELLOW
    # PURPLE
    # WHITE
    style
: SOLID
    # styles:
    # SOLID
    # SEGMENTED_20
    # SEGMENTED_12
    # SEGMENTED_10
    # SEGMENTED_6
    time
: 60
  # WARNING: if player reached a new level, EXP change to 0
  levels
:
    2
:
      exp
: 20
      rewards
:
        points
: 1
        message
: "&bNice! &eyou reached &d2&e lvl! \n &drewards: \n &7- &d1 &epoints"
        sound
: ENTITY_EXPERIENCE_ORB_PICKUP
    3
:
      exp
: 50
      rewards
:
        points
: 1
        message
: "&drewards: \n &7- &d1 &epoints"
        title
: "&bNice! &eyou reached &d3&e lvl!"
        sound
: ENTITY_EXPERIENCE_ORB_PICKUP
    4
:
      exp
: 100
      rewards
:
        points
: 1
        commands
:
         - "give %player% dirt 32"
          - "give %player% stone 12"
        message
: "&bNice! &eyou reached &d4&e lvl! \n &drewards: \n &7- &d1 &epoints \n &7- &d32 &edirt \n &7- &d12 &estone"
        sound
: ENTITY_EXPERIENCE_ORB_PICKUP
    5
:
      exp
: 150
      rewards
:
        message
: "&bNice! &eyou reached &d5&e lvl! \n &drewards: \n &7- &d1 &epoints"
        points
: 1
        sound
: ENTITY_EXPERIENCE_ORB_PICKUP
    6
:
      exp
: 250
      rewards
:
        message
: "&bNice! &eyou reached &d6&e lvl! \n &drewards: \n &7- &d1 &epoints"
        points
: 1
        sound
: ENTITY_EXPERIENCE_ORB_PICKUP
    7
:
      exp
: 300
      rewards
:
        message
: "&bNice! &eyou reached &d7&e lvl! \n &drewards: \n &7- &d1 &epoints"
        points
: 1
        sound
: ENTITY_EXPERIENCE_ORB_PICKUP
    8
:
      exp
: 350
      rewards
:
        message
: "&bNice! &eyou reached &d8&e lvl! \n &drewards: \n &7- &d1 &epoints"
        points
: 1
        sound
: ENTITY_EXPERIENCE_ORB_PICKUP
    9
:
      exp
: 400
      rewards
:
        message
: "&bNice! &eyou reached &d9&e lvl! \n &drewards: \n &7- &d1 &epoints"
        points
: 1
        sound
: ENTITY_EXPERIENCE_ORB_PICKUP
    10
:
      exp
: 500
      rewards
:
        message
: "&bNice! &eyou reached &d10&e lvl! \n &drewards: \n &7- &d1 &epoints"
        points
: 1
        sound
: ENTITY_EXPERIENCE_ORB_PICKUP
    11
:
      exp
: 550
      rewards
:
        message
: "&bNice! &eyou reached &d11&e lvl! \n &drewards: \n &7- &d1 &epoints"
        points
: 1
        sound
: ENTITY_EXPERIENCE_ORB_PICKUP
    12
:
      exp
: 600
      rewards
:
        message
: "&bNice! &eyou reached &d12&e lvl! \n &drewards: \n &7- &d1 &epoints"
        points
: 1
        sound
: ENTITY_EXPERIENCE_ORB_PICKUP
    13
:
      exp
: 700
      rewards
:
        message
: "&bNice! &eyou reached &d13&e lvl! \n &drewards: \n &7- &d1 &epoints"
        points
: 1
        sound
: ENTITY_EXPERIENCE_ORB_PICKUP
    14
:
      exp
: 850
      rewards
:
        message
: "&bNice! &eyou reached &d14&e lvl! \n &drewards: \n &7- &d1 &epoints"
        points
: 1
        sound
: ENTITY_EXPERIENCE_ORB_PICKUP
    15
:
      exp
: 900
      rewards
:
        message
: "&bNice! &eyou reached &d15&e lvl! \n &drewards: \n &7- &d1 &epoints"
        points
: 1
        sound
: ENTITY_EXPERIENCE_ORB_PICKUP
    16
:
      exp
: 1000
      rewards
:
        message
: "&bNice! &eyou reached &d16&e lvl! \n &drewards: \n &7- &d1 &epoints"
        points
: 1
        sound
: ENTITY_EXPERIENCE_ORB_PICKUP
    17
:
      exp
: 1200
      rewards
:
        message
: "&bNice! &eyou reached &d17&e lvl! \n &drewards: \n &7- &d1 &epoints"
        points
: 1
        sound
: ENTITY_EXPERIENCE_ORB_PICKUP
    18
:
      exp
: 1250
      rewards
:
        message
: "&bNice! &eyou reached &d18&e lvl! \n &drewards: \n &7- &d1 &epoints"
        points
: 1
        sound
: ENTITY_EXPERIENCE_ORB_PICKUP
    19
:
      exp
: 1300
      rewards
:
        message
: "&bNice! &eyou reached &d19&e lvl! \n &drewards: \n &7- &d1 &epoints"
        points
: 1
        sound
: ENTITY_EXPERIENCE_ORB_PICKUP
    20
:
      exp
: 1500
      rewards
:
        message
: "&bNice! &eyou reached &d20&e lvl! \n &drewards: \n &7- &d1 &epoints"
        points
: 1
        sound
: ENTITY_EXPERIENCE_ORB_PICKUP
    21
:
      exp
: 2500
      rewards
:
        message
: "&bNice! &eyou reached &d21&e lvl! \n &drewards: \n &7- &d1 &epoints"
        points
: 1
        sound
: ENTITY_EXPERIENCE_ORB_PICKUP
    22
:
      exp
: 2800
      rewards
:
        message
: "&bNice! &eyou reached &d22&e lvl! \n &drewards: \n &7- &d1 &epoints"
        points
: 1
        sound
: ENTITY_EXPERIENCE_ORB_PICKUP
    23
:
      exp
: 3000
      rewards
:
        message
: "&bNice! &eyou reached &d23&e lvl! \n &drewards: \n &7- &d1 &epoints"
        points
: 1
        sound
: ENTITY_EXPERIENCE_ORB_PICKUP
    24
:
      exp
: 3200
      rewards
:
        message
: "&bNice! &eyou reached &d24&e lvl! \n &drewards: \n &7- &d1 &epoints"
        sound
: ENTITY_EXPERIENCE_ORB_PICKUP
        points
: 1
    25
:
      exp
: 3500
      rewards
:
        message
: "&bNice! &eyou reached &d25&e lvl! \n &drewards: \n &7- &d1 &epoints"
        sound
: ENTITY_EXPERIENCE_ORB_PICKUP
        points
: 1
    26
:
      exp
: 4000
      rewards
:
        message
: "&bNice! &eyou reached &d26&e lvl! \n &drewards: \n &7- &d1 &epoints"
        sound
: ENTITY_EXPERIENCE_ORB_PICKUP
        points
: 1
    27
:
      exp
: 4000
      rewards
:
        message
: "&bNice! &eyou reached &d27&e lvl! \n &drewards: \n &7- &d1 &epoints"
        sound
: ENTITY_EXPERIENCE_ORB_PICKUP
        points
: 1
    28
:
      exp
: 5000
      rewards
:
        message
: "&bNice! &eyou reached &d28&e lvl! \n &drewards: \n &7- &d1 &epoints"
        sound
: ENTITY_EXPERIENCE_ORB_PICKUP
        points
: 1
    29
:
      exp
: 5500
      rewards
:
        message
: "&bNice! &eyou reached &d29&e lvl! \n &drewards: \n &7- &d1 &epoints"
        sound
: ENTITY_EXPERIENCE_ORB_PICKUP
        points
: 1
    30
:
      exp
: 6000
      rewards
:
        message
: "&bNice! &eyou reached &d30&e lvl! \n &drewards: \n &7- &d1 &epoints"
        sound
: ENTITY_EXPERIENCE_ORB_PICKUP
        points
: 1
    31
:
      exp
: 7500
      rewards
:
        message
: "&bNice! &eyou reached &d31&e lvl! \n &drewards: \n &7- &d1 &epoints"
        sound
: ENTITY_EXPERIENCE_ORB_PICKUP
        points
: 1
    32
:
      exp
: 8000
      rewards
:
        message
: "&bNice! &eyou reached &d32&e lvl! \n &drewards: \n &7- &d1 &epoints"
        sound
: ENTITY_EXPERIENCE_ORB_PICKUP
        points
: 1
    33
:
      exp
: 9000
      rewards
:
        message
: "&bNice! &eyou reached &d33&e lvl! \n &drewards: \n &7- &d1 &epoints"
        sound
: ENTITY_EXPERIENCE_ORB_PICKUP
        points
: 1
    34
:
      exp
: 9500
      rewards
:
        message
: "&bNice! &eyou reached &d34&e lvl! \n &drewards: \n &7- &d1 &epoints"
        sound
: ENTITY_EXPERIENCE_ORB_PICKUP
        points
: 1
    35
:
      exp
: 10000
      rewards
:
        message
: "&bNice! &eyou reached &d35&e lvl! \n &drewards: \n &7- &d1 &epoints"
        sound
: ENTITY_EXPERIENCE_ORB_PICKUP
        points
: 1
    36
:
      exp
: 11000
      rewards
:
        message
: "&bNice! &eyou reached &d35&e lvl! \n &drewards: \n &7- &d1 &epoints"
        sound
: ENTITY_EXPERIENCE_ORB_PICKUP
        points
: 1
    37
:
      exp
: 12000
      rewards
:
        message
: "&bNice! &eyou reached &d35&e lvl! \n &drewards: \n &7- &d1 &epoints"
        sound
: ENTITY_EXPERIENCE_ORB_PICKUP
        points
: 1
    38
:
      exp
: 13000
      rewards
:
        message
: "&bNice! &eyou reached &d35&e lvl! \n &drewards: \n &7- &d1 &epoints"
        sound
: ENTITY_EXPERIENCE_ORB_PICKUP
        points
: 1
    39
:
      exp
: 14000
      rewards
:
        message
: "&bNice! &eyou reached &d35&e lvl! \n &drewards: \n &7- &d1 &epoints"
        sound
: ENTITY_EXPERIENCE_ORB_PICKUP
        points
: 1
    40
:
      exp
: 15000
      rewards
:
        message
: "&bNice! &eyou reached &d35&e lvl! \n &drewards: \n &7- &d1 &epoints"
        sound
: ENTITY_EXPERIENCE_ORB_PICKUP
        points
: 1
 

if something doesn't work, write to me!
I am a beginner so please bear with us!
contact: kuba_g5#6305
Resource Information
Author:
----------
Total Downloads: 82
First Release: Jan 8, 2022
Last Update: Jan 18, 2022
Category: ---------------
All-Time Rating:
0 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings