MorphMining (1.13.x - 1.16.x) icon

MorphMining (1.13.x - 1.16.x) -----

Adding unique features to the vanilla mining system making it more enjoyable!




NOTE: This update adds a new config option. You NEED to regenerate your config for this plugin to work properly. As always I have added the new config below. (The only new part is the Settings -> ArtifactChances section.)

Fixes:
  • Fixed a bug when mining with a Netherite pickaxe, no artifacts would drop. (Thanks Elkoy and Players <3)
Changes/Additions:
  • Added the ability to change the chances of each artifact within the config.yml
  • Refactored some small parts of the plugin and added Maven as the resources dependency manager.
I intend to write a full refactor of this resource in the future. This refactor started with this update and will end with a full 1.7.0 release. It wont contain that many content changes or new additions more so code refactors to make things as clean as possible and easier for me to add new updates. If you have any suggestions or problems please feel free to join my discord!

Discord: https://discord.gg/7dGSvkQ2Tr

Code (YAML):
#============================================================================================================================|
#    _____                          .__        _____   .__         .__                
#   /     \    ____ _______ ______  |  |__    /     \  |__|  ____  |__|  ____    ____
#  /  \ /  \  /  _ \\_  __ \\____ \ |  |  \  /  \ /  \ |  | /    \ |  | /    \  / ___\
# /    Y    \(  <_> )|  | \/|  |_> >|   Y  \/    Y    \|  ||   |  \|  ||   |  \/ /_/  >
# \____|__  / \____/ |__|   |   __/ |___|  /\____|__  /|__||___|  /|__||___|  /\___  /
#         \/                |__|         \/         \/          \/          \//_____/
#
#============================================================================================================================|
#
# Plugin Version: 1.6.2
# Spigot Link: https://www.spigotmc.org/resources/morphmining.53827/
# Author's Discord: Morphie#6969
#
# If you have issues or questions feel free to message me on spigot OR discord.
# Please do keep in mind however that I will respond when I can! <3
#
#============================================================================================================================|

Settings
:
  # Data value ranges from 0 - 15.
  MainGlassColor
: 11
  # Whether players are given a DataLog on first join!
  GiveBookOnFirstJoin
: true
  # Change the item type of the artifact.
  ArtifactItem
: "GOLD_NUGGET"
  #Change the item type of the hellstone artifact.
  HellstoneItem
: "FIREWORK_STAR"
  # Change the drop chance of all Artifact types.
  # This value can only be between 0 - 100. EX. Common: 10 means 10% chance to receive a common artifact from coal ore.
  # These values might seem low but do remember how much more coal ore there is in a world compared to diamond/emerald.
  ArtifactChances
:
    Common
: 10
    Rare
: 13
    Legendary
: 17
    Mythic
: 20
    HellStone
: 15

#============================================================================================================================|

# Change the price of artifacts here!
ArtifactPrice
:
  Common
: 50.00
  Rare
: 250.00
  Legendary
: 750.00
  Mythic
: 2500.00
  HellStone
: 1000.00
 
#============================================================================================================================|
 
# Change the gem chances of the ore grinder. (0 - 100)
OreGrinder
:
  CoalGemChance
: 5
  IronGemChance
: 10
  GoldGemChance
: 10
  RedstoneGemChance
: 15
  LapisGemChance
: 20
  DiamondGemChance
: 25
  EmeraldGemChance
: 30
 
#============================================================================================================================|

# Here you can change things about the pouch system. Pouches are a craftable item that allows the user to store artifacts.
# Pouches have levels that unlock more capacity space at the cost of gems and your servers currency.
Pouches
:
  AutoSell
:
    GemCost
: 50
  Common
:
    StartCapacity
: 100
    UpgradedCapacity
: 200
    GemCost
: 100
    CurrencyCost
: 1500.00
  Rare
:
    StartCapacity
: 75
    UpgradedCapacity
: 150
    GemCost
: 150
    CurrencyCost
: 3000.00
  Legendary
:
    StartCapacity
: 50
    UpgradedCapacity
: 100
    GemCost
: 250
    CurrencyCost
: 5000.00
  Mythic
:
    StartCapacity
: 50
    UpgradedCapacity
: 100
    GemCost
: 350
    CurrencyCost
: 7000.00
   
#============================================================================================================================|

# Here you can change things about the trashcan system. Trashcans are a craftable item that allows the user to delete items
# that are placed into it. Trashcans have slots that users can unlock to nullify multiple block types at once.
# Slot 1 at default is unlocked and that is why it is not listed below.
Trashcan
:
  Slot2
:
    GemCost
: 250
    CurrencyCost
: 5000.00
  Slot3
:
    GemCost
: 350
    CurrencyCost
: 7000.00
  Slot4
:
    GemCost
: 700
    CurrencyCost
: 10000.00
   
#============================================================================================================================|
   
# Below you can change the custom recipes that are implemented in the plugin.
# "Amount:" How many of the item that is given to the player when crafting. (I.E 1 trashcan)
# "Line1,2,3:" This stands for the crafting grid lines. This is the order of the recipe items in a crafting grid.
# "Ingredients:" This is how you set the items that the recipe needs. The "Key" is what is used in the crafting grid above.
# If you run into issues feel free to contact me on discord or spigot. (Contact details at the top of the config.)
Recipes
:
  Datalog
:
    Enabled
: true
    Amount
: 1
    Line1
: "###"
    Line2
: "#$#"
    Line3
: "###"
    Ingredients
:
      0
:
        Key
: "#"
        Material
: "LEATHER"
      1
:
        Key
: "$"
        Material
: "BOOK"
  Pouch
:
    Enabled
: true
    Amount
: 1
    Line1
: "#$#"
    Line2
: "#%#"
    Line3
: "###"
    Ingredients
:
      0
:
        Key
: "#"
        Material
: "LEATHER"
      1
:
        Key
: "$"
        Material
: "ENDER_EYE"
      2
:
        Key
: "%"
        Material
: "ENDER_CHEST"
  Trashcan
:
    Enabled
: true
    Amount
: 1
    Line1
: "#$#"
    Line2
: "#%#"
    Line3
: "###"
    Ingredients
:
      0
:
        Key
: "#"
        Material
: "IRON_INGOT"
      1
:
        Key
: "$"
        Material
: "CAULDRON"
      2
:
        Key
: "%"
        Material
: "LAVA_BUCKET"
     
#============================================================================================================================|    

# Got a neat idea for an artifact? Create your own here!
# Keep in mind the description will only set 1 line of the lore.
# Color codes supported!
Artifacts
:
  Common
:
    0
:
      Name
: "&9&lHelix Fossil"
      Description
: "&b➛ &7&oOAK: Ash! This isn't the time to use that!"
  Rare
:
    0
:
      Name
: "&9&lRelic of a Super Sayian"
      Description
: "&b➛ &7&oKio what!?"
  Legendary
:
    0
:
      Name
: "&9&lEcho's Fortune"
      Description
: "&b➛ &7&oCan you hear me now?"
  Mythic
:
    0
:
      Name
: "&9&lTorments Serenity"
      Description
: "&b➛ &7&oAre you crying?"
  HellStone
:
    0
:
      Name
: "&9&lHell Stone"
      Description
: "&b➛ &7&oIs something burning?"
     
#============================================================================================================================|
----------, Nov 29, 2020

NOTE: This patch does NOT require a config or messages yml regeneration.

Fixes :
  • Fixed a bug that would allow players to use the nullifier even if the trashcan was NOT in their inventory.
  • Fixed a bug that would spam the "Nullifier needs to be repaired." action message even though the nullifier wasnt enabled and wasnt nullifying any blocks.
  • Fixed a Console Error that would spam each time a player clicked on a non-artifact version of the item. (Gold Nugget at default.) Thank you for reporting this Sofie.
Thank you for all the support everyone! More updates are in the works. Please feel free to join my develop discord for news on updates for all my resources.

Discord Server: https://discord.gg/6bnU9xn
----------, Oct 2, 2019

NOTE: You will need to regenerate your config and messages yml's for this update. As always, I have linked the 2 new versions down below to help with the conversion.

Changes/Addtions :
  • The plugin should be compatible with all versions 1.13+
  • Added the /mine gems add <player> command (Perm: morphmining.addgems)
  • Added the /mine gems remove <player> command (Perm: morphmining.removegems
  • TrashCan Nullifier System has been added.
    This allows players to set up to 4 items to be automatically 'trashed' or 'destroyed' when picked up. The nullifier also has 2 repair options that will lose durability over time. At default, one nullifier slot is unlocked. Players can purchase 3 other slots at a configurable gem and server currency price.
  • Pouch Auto Sell System has been added.
    This allows players to automatically sell an artifacts currently being stored in their pouch. However, using this has a gem cost. The gem cost can be configured in the config.yml.
Fixes :
  • Reloading the plugin would break server recipes. (Wouldn't load them back properly.)
  • Clicking on pouch upgrades would automatically enable the pouch if disabled.
  • Code refactors here and there.

Code (YAML):
#============================================================================================================================|
#    _____                          .__        _____   .__         .__                
#   /     \    ____ _______ ______  |  |__    /     \  |__|  ____  |__|  ____    ____
#  /  \ /  \  /  _ \\_  __ \\____ \ |  |  \  /  \ /  \ |  | /    \ |  | /    \  / ___\
# /    Y    \(  <_> )|  | \/|  |_> >|   Y  \/    Y    \|  ||   |  \|  ||   |  \/ /_/  >
# \____|__  / \____/ |__|   |   __/ |___|  /\____|__  /|__||___|  /|__||___|  /\___  /
#         \/                |__|         \/         \/          \/          \//_____/
#
#============================================================================================================================|
#
# Plugin Version: 1.6.0
# Spigot Link: https://www.spigotmc.org/resources/morphmining.53827/
# Author's Discord: Morphie#6969
#
# If you have issues or questions feel free to message me on spigot OR discord.
# Please do keep in mind however that I will respond when I can! <3
#
#============================================================================================================================|

Settings
:
  # Data value ranges from 0 - 15.
  MainGlassColor
: 11
  # Whether players are given a DataLog on first join!
  GiveBookOnFirstJoin
: true
  # Change the item type of the artifact.
  ArtifactItem
: "GOLD_NUGGET"
  #Change the item type of the hellstone artifact.
  HellstoneItem
: "FIREWORK_STAR"

#============================================================================================================================|

# Change the price of artifacts here!
ArtifactPrice
:
  Common
: 50.00
  Rare
: 250.00
  Legendary
: 750.00
  Mythic
: 2500.00
  HellStone
: 1000.00
 
#============================================================================================================================|
 
# Change the gem chances of the ore grinder. (0 - 100)
OreGrinder
:
  CoalGemChance
: 5
  IronGemChance
: 10
  GoldGemChance
: 10
  RedstoneGemChance
: 15
  LapisGemChance
: 20
  DiamondGemChance
: 25
  EmeraldGemChance
: 30
 
#============================================================================================================================|

# Here you can change things about the pouch system. Pouches are a craftable item that allows the user to store artifacts.
# Pouches have levels that unlock more capacity space at the cost of gems and your servers currency.
Pouches
:
  AutoSell
:
    GemCost
: 50
  Common
:
    StartCapacity
: 100
    UpgradedCapacity
: 200
    GemCost
: 100
    CurrencyCost
: 1500.00
  Rare
:
    StartCapacity
: 75
    UpgradedCapacity
: 150
    GemCost
: 150
    CurrencyCost
: 3000.00
  Legendary
:
    StartCapacity
: 50
    UpgradedCapacity
: 100
    GemCost
: 250
    CurrencyCost
: 5000.00
  Mythic
:
    StartCapacity
: 50
    UpgradedCapacity
: 100
    GemCost
: 350
    CurrencyCost
: 7000.00
   
#============================================================================================================================|

# Here you can change things about the trashcan system. Trashcans are a craftable item that allows the user to delete items
# that are placed into it. Trashcans have slots that users can unlock to nullify multiple block types at once.
# Slot 1 at default is unlocked and that is why it is not listed below.
Trashcan
:
  Slot2
:
    GemCost
: 250
    CurrencyCost
: 5000.00
  Slot3
:
    GemCost
: 350
    CurrencyCost
: 7000.00
  Slot4
:
    GemCost
: 700
    CurrencyCost
: 10000.00
   
#============================================================================================================================|
   
# Below you can change the custom recipes that are implemented in the plugin.
# "Amount:" How many of the item that is given to the player when crafting. (I.E 1 trashcan)
# "Line1,2,3:" This stands for the crafting grid lines. This is the order of the recipe items in a crafting grid.
# "Ingredients:" This is how you set the items that the recipe needs. The "Key" is what is used in the crafting grid above.
# If you run into issues feel free to contact me on discord or spigot. (Contact details at the top of the config.)
Recipes
:
  Datalog
:
    Enabled
: true
    Amount
: 1
    Line1
: "###"
    Line2
: "#$#"
    Line3
: "###"
    Ingredients
:
      0
:
        Key
: "#"
        Material
: "LEATHER"
      1
:
        Key
: "$"
        Material
: "BOOK"
  Pouch
:
    Enabled
: true
    Amount
: 1
    Line1
: "#$#"
    Line2
: "#%#"
    Line3
: "###"
    Ingredients
:
      0
:
        Key
: "#"
        Material
: "LEATHER"
      1
:
        Key
: "$"
        Material
: "ENDER_EYE"
      2
:
        Key
: "%"
        Material
: "ENDER_CHEST"
  Trashcan
:
    Enabled
: true
    Amount
: 1
    Line1
: "#$#"
    Line2
: "#%#"
    Line3
: "###"
    Ingredients
:
      0
:
        Key
: "#"
        Material
: "IRON_INGOT"
      1
:
        Key
: "$"
        Material
: "CAULDRON"
      2
:
        Key
: "%"
        Material
: "LAVA_BUCKET"
     
#============================================================================================================================|    

# Got a neat idea for an artifact? Create your own here!
# Keep in mind the description will only set 1 line of the lore.
# Color codes supported!
Artifacts
:
  Common
:
    0
:
      Name
: "&9&lHelix Fossil"
      Description
: "&b➛ &7&oOAK: Ash! This isn't the time to use that!"
  Rare
:
    0
:
      Name
: "&9&lRelic of a Super Sayian"
      Description
: "&b➛ &7&oKio what!?"
  Legendary
:
    0
:
      Name
: "&9&lEcho's Fortune"
      Description
: "&b➛ &7&oCan you hear me now?"
  Mythic
:
    0
:
      Name
: "&9&lTorments Serenity"
      Description
: "&b➛ &7&oAre you crying?"
  HellStone
:
    0
:
      Name
: "&9&lHell Stone"
      Description
: "&b➛ &7&oIs something burning?"
     
#============================================================================================================================|
Code (YAML):
ArtifactActionMessage : '&b+1 &9ARTIFACT'
ArtifactSellMessage
: '&7You got $&bMONEY &7from &bARTIFACT &7artifacts!'
Commands
:
  Header
: '&8&m ] --------+&r&8 [ &9&lMorphMining &8 ]&8&m+ -------- ['
  Footer
: '&8&m ] -------------+&r &8 [&9&l!&8 ] &8&m+ ------------- ['
  Menu
: '&b/mine menu &8- &7Opens the miner station menu.'
  Datalog
: '&b/mine datalog &8- &7Opens the datalog menu.'
  Gems
:
    Add
: '&9 [Admin ] &b/mine gems add <name> <num> &8- &7Add gems to a specified player.
      (Perms Required )'
    Get
: '&b/mine gems  &8- &7To view how many gems you have.'
    Remove
: '&9 [Admin ] &b/mine gems remove <name> <num> &8- &7Remove gems from a specified
      player. (Perms Required )'
  OreGrinder
: '&b/mine og &8- &7Opens the ore grinder menu.'
  Recipe
: '&b/mine recipe <name> &8- &7To view the recipe of a custom item.'
  Shop
: '&b/mine shop &8- &7Opens the shop menu.'
  Stats
: '&b/mine stats <player> &8- &7Opens the mining stats menu.'
  Withdraw
: '&b/mine withdraw <tier> <amount> &8- &7To withdraw artifacts from you
    pouch.'
  Reload
: '&9 [Admin ] &b/mine reload &8- &7Reloads the plugins files. (Perms Required )'
CorrectUsage
:
  Add
: '&bCorrect Usage&8 : &7/mine gems add <name> <num>'
  Remove
: '&bCorrect Usage&8 : &7/mine gems remove <name> <num>'
DatalogOnJoinMessage
: '&7You recieved a datalog! Right-Click to use.'
ErrorPrefix
: '&8 [&9&l!&8 ] '
GemAddMessage
: '&7You have been given &bGEMS &7gems!'
GemAddSuccessMessage
: '&7Gem addition successful.'
GemMessage
: '&7You currently have &bGEMS &7gems!'
GemRemoveMessage
: '&bGEMS &7gems have been removed from you!'
GemRemoveSuccessMessage
: '&7Gem removal successful.'
InvalidArgsMessage
: '&7Invalid arguments! /mine to view all commands.'
InvalidFunds
: '&7You do not have valid funds for this!'
InvalidGems
: '&7You do not have enough gems for this!'
InvalidRecipe
: '&7Invalid recipe name! &8 [&7DL&8, &7P&8, &7TC&8 ]'
Menus
:
  TitleColor
: '&9&l'
  ItemColor
: '&9&l'
  LoreColor
: '&7'
  HighlightColor
: '&b'
  SpacerColor
: '&8'
NoPermsMessage
: '&7You don''t have permission to do this!'
OreGrinder
:
  GemMessage
: '&7You got &bGEMS &7gems from &bORES &7ores!'
  NoGemMessage
: '&7You were unlucky and got &b0 &7gems from &bORES &7ores!'
Prefix
: '&9&lMorphMining &8&l➙ '
ReloadMessage
: '&7Plugin files successfully reloaded!'
Pouch
:
  ActionMessage
: '&b (Pouch ) +1 &9ARTIFACT'
  ActionFullMessage
: '&b (Pouch Full ) +1 &9ARTIFACT'
  AutoSell
:
    Message
: '&7You got &bMONEY &7from &bARTIFACTS &7artifacts!'
    NoArtifacts
: '&7There are no artifacts to be sold!'
  CorrectUsage
: '&bCorrect Usage&8 : &7/mine withdraw <tier> <amount>'
  NegativeArtifacts
: '&7You cannot withdraw a negative number!'
  NoArtifacts
: '&7You don''t have enough artifacts in your pouch'
  UpgradeMessage
: '&7Upgrade successfully purchased!'
  WithdrawMessage
: '&7you withdrew &bARTIFACTS &7artifacts!'
Stats
:
  NoStatsMessage
: '&7This player doesn''t have any stats!'
SpigotLink
: '&7https://www.spigotmc.org/resources/morphmining.53827/'
Trashcan
:
  Nullifier
:
    ActivationErrorMessage
: '&7Please select a nullifier slot or repairer and the
      respective item into the empty inventory slot!'
    InvalidRepairItem
: '&b %ITEM% &7is required to repair this!'
    NullifierActionMessage
: '&8 [&9&l♦&8 ] &7Successfully nullified &bxAMMOUNT &7ITEM'
    NullifierRepairActionMessage
: '&8 [&9&l✕&8 ] &7Your &bNullifier &7needs to be repaired!'
    RepairMessage
: '&b %DURABILITY% &7durability successfully added to &b%REPAIRTYPE%&7!'
    MaxRepairMessage
: '&b %REPAIRTYPE% &7is already at max durability!'
    SlotItemAdd
: '&7Item successfully set to slot.'
    SameSlotItem
: '&7That item is already set to this slot!'
  UpgradeMessage
: '&7Upgrade successfully purchased! &8 (&bGEMS Gems&8, &b$MONEY&8 )'
----------, Sep 29, 2019

There was a bug that was causing the plugins custom recipes to not unload properly on /mine reload. This would throw an error in console on startup stating duplicate recipe's found.

Fixes:
  • Fixed recipes unloading properly.
  • Recipes will now change on /mine reload if changed in the config.
  • Custom recipes of other plugins should not be affected or unloaded in doing so.
----------, May 1, 2019

NOTE: You will need to change both the config and messages yml's when updating to this version. I also advise making a back up of the plugins folder before updating. I have run tests to ensure converting is safe but I still highly recommend backing up. Rather safe than sorry!

Changes:
  • 1.14 Support.
  • Fixed a bug with the Datalog. (The datalog given on first join was broken.)
  • Fixed recipes not loading properly.
Removed:
  • Removed all 3 of the double slab recipes. (They are all in vanilla Minecraft as of 1.14.
Config.yml & Messages.yml changes.
  • Removed all 3 slab options under the recipe section. (Config lines 131 - 160 were removed.)
  • Changed line 22 in the Messages.yml. (New Line -
    InvalidRecipe: '&7Invalid recipe name! &8[&7DL&8, &7P&8, &7TC&8]')
----------, Apr 29, 2019

IMPORTANT: You will need to update your config.yml with the new changes! You can delete the old messages.yml and replace it with the new one as well .

So as the title states, I have finally added a full message.yml to the plugin. With this, I have also added some new config options and a few new recipe's. (Custom ones.) Below I will link the new config and messages files so its easier for you to see what needs to be changed or added.

Changes/Additions:
  • Updated the message.yml
  • Added the ability to change the artifact item in the config.
    Note: Changing this will make old artifacts useless! I might add support for this in a later version.
  • Added the ability to change the hellstone item in the config.
    Note: Changing this will make old artifacts useless! I might add support for this in a later version.
  • Added the ability to change the recipes of the custom items in the plugin! (New recipe config section.)
  • Added a new `Double Stone Slab` recipe.
  • Added a new `Double Red Sandstone Slab` recipe.
  • Added a new `Double Sandstone Slab` recipe.
  • Added the ability to enable and disable the recipes.
  • Added a new command. '/mine recipe <dl, p, tc, dss. drss, ds>'
Removed:
  • Removed the recipe menus from the datalog system. (Replaced with the new command. This was needed as the recipes can now be changed in the config.)
New Files:
Code (YAML):
[/B ]
# Plugin Version: 1.4.0
# Spigot Link: https://www.spigotmc.org/resources/morphmining.53827/
# Author's Discord: Morphie#6969
#
# If you have issues or questions feel free to message me on spigot OR discord.
# Please do keep in mind however that I will respond when I can! <3

Settings
:
  # Data value ranges from 0 - 15.
  MainGlassColor
: 11
  # Whether players are given a DataLog on first join!
  GiveBookOnFirstJoin
: true
  # Change the item type of the artifact.
  ArtifactItem
: "GOLD_NUGGET"
  #Change the item type of the hellstone artifact.
  HellstoneItem
: "FIREWORK_STAR"

# Change the price of artifacts here!
ArtifactPrice
:
  Common
: 50.00
  Rare
: 250.00
  Legendary
: 750.00
  Mythic
: 2500.00
  HellStone
: 1000.00
 
# Change the gem chances of the ore grinder. (0 - 100)
OreGrinder
:
  CoalGemChance
: 5
  IronGemChance
: 10
  GoldGemChance
: 10
  RedstoneGemChance
: 15
  LapisGemChance
: 20
  DiamondGemChance
: 25
  EmeraldGemChance
: 30

# Here you can change things about the pouch system. Pouches are a craftable item that allows the user to store artifacts.
# Pouches have levels that unlock more capacity space at the cost of gems and your servers currency.
Pouches
:
  Common
:
    StartCapacity
: 100
    UpgradedCapacity
: 200
    GemCost
: 100
    CurrencyCost
: 1500.00
  Rare
:
    StartCapacity
: 75
    UpgradedCapacity
: 150
    GemCost
: 150
    CurrencyCost
: 3000.00
  Legendary
:
    StartCapacity
: 50
    UpgradedCapacity
: 100
    GemCost
: 250
    CurrencyCost
: 5000.00
  Mythic
:
    StartCapacity
: 50
    UpgradedCapacity
: 100
    GemCost
: 350
    CurrencyCost
: 7000.00
   
# Below you can change the custom recipes that are implemented in the plugin.
# "Amount:" How many of the item that is given to the player when crafting. (I.E 1 trashcan)
# "Line1,2,3:" This stands for the crafting grid lines. This is the order of the recipe items in a crafting grid.
# "Ingredients:" This is how you set the items that the recipe needs. The "Key" is what is used in the crafting grid above.
# If you run into issues feel free to contact me on discord or spigot. (Contact details at the top of the config.)
Recipes
:
  Datalog
:
    Enabled
: true
    Amount
: 1
    Line1
: "###"
    Line2
: "#$#"
    Line3
: "###"
    Ingredients
:
      0
:
        Key
: "#"
        Material
: "LEATHER"
      1
:
        Key
: "$"
        Material
: "BOOK"
  Pouch
:
    Enabled
: true
    Amount
: 1
    Line1
: "#$#"
    Line2
: "#%#"
    Line3
: "###"
    Ingredients
:
      0
:
        Key
: "#"
        Material
: "LEATHER"
      1
:
        Key
: "$"
        Material
: "ENDER_EYE"
      2
:
        Key
: "%"
        Material
: "ENDER_CHEST"
  Trashcan
:
    Enabled
: true
    Amount
: 1
    Line1
: "#$#"
    Line2
: "#%#"
    Line3
: "###"
    Ingredients
:
      0
:
        Key
: "#"
        Material
: "IRON_INGOT"
      1
:
        Key
: "$"
        Material
: "CAULDRON"
      2
:
        Key
: "%"
        Material
: "LAVA_BUCKET"
  DoubleSandstone
:
    Enabled
: true
    Amount
: 1
    Line1
: " # "
    Line2
: " # "
    Line3
: " # "
    Ingredients
:
      0
:
        Key
: "#"
        Material
: "SANDSTONE_SLAB"
  DoubleRedSandstone
:
    Enabled
: true
    Amount
: 1
    Line1
: " # "
    Line2
: " # "
    Line3
: " # "
    Ingredients
:
      0
:
        Key
: "#"
        Material
: "RED_SANDSTONE_SLAB"
  DoubleStone
:
    Enabled
: true
    Amount
: 1
    Line1
: " # "
    Line2
: " # "
    Line3
: " # "
    Ingredients
:
      0
:
        Key
: "#"
        Material
: "STONE_SLAB"

# Got a neat idea for an artifact? Create your own here!
# Keep in mind the description will only set 1 line of the lore.
# Color codes supported!
Artifacts
:
  Common
:
    0
:
      Name
: "&9&lHelix Fossil"
      Description
: "&b➛ &7&oOAK: Ash! This isn't the time to use that!"
  Rare
:
    0
:
      Name
: "&9&lRelic of a Super Sayian"
      Description
: "&b➛ &7&oKio what!?"
  Legendary
:
    0
:
      Name
: "&9&lEcho's Fortune"
      Description
: "&b➛ &7&oCan you hear me now?"
  Mythic
:
    0
:
      Name
: "&9&lTorments Serenity"
      Description
: "&b➛ &7&oAre you crying?"
  HellStone
:
    0
:
      Name
: "&9&lHell Stone"
      Description
: "&b➛ &7&oIs something burning?"
[B ]
Code (YAML):
[/B ]
ArtifactActionMessage
: '&b+1 &9ARTIFACT'
ArtifactSellMessage
: '&7You got $&bMONEY &7from &bARTIFACT &7artifacts!'
Commands
:
  Header
: '&8&m ] --------+&r&8 [ &9&lMorphMining &8 ]&8&m+ -------- ['
  Footer
: '&8&m ] -------------+&r &8 [&9&l!&8 ] &8&m+ ------------- ['
  Menu
: '&b/mine menu &8- &7Opens the miner station menu.'
  Datalog
: '&b/mine datalog &8- &7Opens the datalog menu.'
  Gems
: '&b/mine gems  &8- &7To view how many gems you have.'
  OreGrinder
: '&b/mine og &8- &7Opens the ore grinder menu.'
  Recipe
: '&b/mine recipe <name> &8- &7To view the recipe of a custom item.'
  Shop
: '&b/mine shop &8- &7Opens the shop menu.'
  Stats
: '&b/mine stats <player> &8- &7Opens the mining stats menu.'
  Withdraw
: '&b/mine withdraw <tier> <amount> &8- &7To withdraw artifacts from you
    pouch.'
  Reload
: '&9 [Admin ] &b/mine reload &8- &7Reloads the plugins files. (Perms Required )'
DatalogOnJoinMessage
: '&7You recieved a datalog! Right-Click to use.'
ErrorPrefix
: '&8 [&9&l!&8 ] '
GemMessage
: '&7You currently have &bGEMS &7gems!'
InvalidArgsMessage
: '&7Invalid arguments! /mine to view all commands.'
InvalidFunds
: '&7You do not have valid funds for this!'
InvalidGems
: '&7You do not have enough gems for this!'
InvalidRecipe
: '&7Invalid recipe name! &8 [&7DL&8, &7P&8, &7TC&8, &7DSS&8, &7DRSS&8,
  &7DS&8 ]'
Menus
:
  TitleColor
: '&9&l'
  ItemColor
: '&9&l'
  LoreColor
: '&7'
  HighlightColor
: '&b'
  SpacerColor
: '&8'
NoPermsMessage
: '&7You don''t have permission to do this!'
OreGrinder
:
  GemMessage
: '&7You got &bGEMS &7gems from &bORES &7ores!'
  NoGemMessage
: '&7You were unlucky and got &b0 &7gems from &bORES &7ores!'
Prefix
: '&9&lMorphMining &8&l➙ '
ReloadMessage
: '&7Plugin files successfully reloaded!'
Pouch
:
  WithdrawMessage
: '&7you withdrew &bARTIFACTS &7artifacts!'
  UpgradeMessage
: '&7Upgrade successfully purchased!'
  NoArtifacts
: '&7You don''t have enough artifacts in your pouch'
  NegativeArtifacts
: '&7You cannot withdraw a negative number!'
  CorrectUsage
: '&bCorrect Usage&8 : &7/mine withdraw <tier> <amount>'
  ActionMessage
: '&b (Pouch ) +1 &9ARTIFACT'
  ActionFullMessage
: '&b (Pouch Full ) +1 &9ARTIFACT'
Stats
:
  NoStatsMessage
: '&7This player doesn''t have any stats!'
SpigotLink
: '&7https://www.spigotmc.org/resources/morphmining.53827/'
 
----------, Apr 17, 2019

Recently someone reported a bug involving the config. In short; the default artifacts in the config were always used unless each one was replaced. This was not intended at all. You can now have 1 or more artifacts per tier.

Fixed:
- Fixed a bug where the default artifact options in the config were not being removed from the Datalog AND were given when mined.

Additions:
- bStats. (For those not familiar.) bStats is a statistic system for developers to track how many servers are running their plugin, on what version of Minecraft, and amount of players. This has no effect on server performance and is purely for information.

It basically allows devs to feel good about themselves hahaha. Enjoy! <3
----------, Feb 16, 2019

Note: Config changes be sure to apply them or regenerate the config.yml!

Heya, just a slight change/fix for the ore grinder. The grinder is intended to have a configurable chance for the user to get gems (mining currency) from ores. If they do not get a gem it was intended that they receive the mineral of the ore they put into the grinder.

That was unfortunately not the case as the grinder was giving back more minerals than intended. With that, I also figured that getting too many minerals back could cause lag. So I made the menu much smaller only allowing 4 stacks of ores at a time.

Changes:
  • Made the ore grinder menu smaller making it so only 4 stacks of ores can be processed at a time.
  • Changed the ore grinder gem chance placeholders to be more informational. (This is also for a future change that I intend to add to the ore grinder.)
Below I have added the changed config section so you all can copy/paste! If there are any problems feel free to message me on discord or post in the discussion section.

# Change the gem chances of the ore grinder. (0 - 100)
OreGrinder:
CoalGemChance: 5
IronGemChance: 10
GoldGemChance: 10
RedstoneGemChance: 15
LapisGemChance: 20
DiamondGemChance: 25
EmeraldGemChance: 30
----------, Dec 7, 2018

Before I jump into the update I must apologize for my inactivity and slight hiatus. There is no excuse for this. It was less about finding motivation or time and more so I wasn't liking what the plugin was. I've been working on this update for some time now. Refactoring the entire plugin and learning a lot more along the way. This new version now is fully 1.13 compatible and I've dropped support for versions later than 1.13. Without further ado, let us jump into what's been changed, removed and added.

Note: If you are still using an old version of the plugin you can update to this one. Do keep in mind however that there are MANY new config options as well as features and options that have been removed. All old artifacts will still sell along with the new ones.

Changes / Removals:
  • Removed WorldGuard and GriefPrevention dependencies. (Removed a good amount of code with this as well.) These were added because of the exploit of mining ores in claimed areas to yield artifacts without the ore breaking. I was very new to the spigot API at this time and found a much better way to fix this for all protection plugins. (If this does break with a certain plugin let me know. I cannot test them all.)
  • Artifact Changes. Artifacts can now have many types per tier. These types can be configurated in the default config.yml. Giving the ability to change the name and description of each artifact. I have added a decent amount of default artifacts that can be replaced or removed.
  • Removed mining crates. This system was decent when I made it but I feel it can be made much better. I decided to remove it rather than fix the mess of it when updating to 1.13. I might bring back a crate style system in the future.
  • Removed crate analyzer.
  • Removed the dev menu. I decided that since I removed the crate system that id remove this menu. I plan to add an admin command to get any artifact by name.
  • Changed the default plugin color from Red to Blue.
  • Changed the 'You got an artifact.' message. It now displays an action bar message instead of spamming chat.
  • Removed the VERY broken version tracker.. I'll add a new one in the near future. (With config option to disable.)
  • Changed all 'back' buttons from arrows to Redstone dust. (More fitting.)
  • Redesigned all plugin GUI's. Same general design across the entire plugin. (Plus the main menu has pickaxes!)
  • Changed the 'Miner's log' to the 'Datalog'. With this, I also updated the log to now show all artifact types per tier. It now also shows the newly implemented custom recipe's!
  • Refactored a lot of code. (I nearly re-coded most of the plugin..)
  • Clicking the credits button in the main menu will now send a message of the spigot page link.
Additions:
  • Made it so all plugin colors can be changed in the messages.yml
  • The main glass color in every menu can be changed in the config.yml (The blue panes.)
  • New mining market to hold the artifact shop and all future shops.
  • Added a Stats menu that tracks things like: Artifacts mined, money earned, and how many of each ore type a player has mined.
  • Added a new artifact tier called 'Hellstone'. It can only be mined in the netherworld and comes from quartz ores. It sells in the artifact shop at a configurable price.
  • New /mine gems command. Allows a player to view their current gem count.
  • Added the Trash Can. The trashcan is a craftable item that when clicked on allows the user to drop items into a menu to be deleted. (More functionality to come.) The recipe can be found in the datalog.
  • New ore grinder system. Allows players to drop ores into the menu and receive gems at a configurable chance. The menu also gives back the mineral of the ore.
  • Datalog item. A craftable book that opens the datalog. The recipe can be found in the datalog.
  • Pouch system. A craftable pouch that allows the player to store artifacts when mined. Each tier has a capacity that can be upgraded at a configurable price. The recipe can be found in the datalog.
  • New /mine withdraw <tier> <amount> command. Allows the player to withdraw artifacts from their pouch.
  • Config options. With many more to come!
I intend to keep this resource updated and again i apologize for the delay on getting this updated. If there are any issues or suggestions feel free to drop them in discussions, message me here, or message me on discord! (Morphie#6969)
----------, Dec 5, 2018

After some slight refactoring, I think I've got all the plugins soft dependencies working without error. This patch fixes a bug where having one soft dependency (Worldguard / GriefPrevention) but not the other would cause a block break event error.

I'm happy to say that the plugin now works with or without either or one of the plugins.

Sorry for any inconvenience!
----------, Mar 22, 2018

Heya, sorry for me not updating super quick. I was extremely ill for a few weeks and I couldn't bring myself to the keyboard. Nonetheless, I have finally thrown an update together! Some have asked for me to make the plugin compatible with later versions of the game. I'm happy to say it is now compatible with any Minecraft version from 1.10.2 - 1.12.2. I won't be making it compatible with versions later than this. Sorry :(

Changes / Fixes:
- Fixed a bug that would spit out an error if the server didn't have world guard or grief prevention installed. (They are both soft depended now)
- Changed the artifact item to a 'Gold Nugget' (this is one thing that helped make the plugin usable in later versions of the game) NOTE: You can update the plugin! The old ones using the iron nugget item will still be sellable!
- Plugin now is compatible with 1.10.2 - 1.12.2.

Additions:
- Config file! That's right I've started the tedious process of making the plugin customizable. Rn all you can change is the artifact price and the crate sell price.
- New command! '/mine reload' to reload the config file.
- New permission 'morphmining.reload' (for the reload command)
- New permission 'morphmining.admin' (Will give the user permission to both reload and dev commands)

Disclaimer: I know there's a onplayerjoinevent error happening. Its apart of the version checker. I, unfortunately, haven't found a cure for this error as of yet. It's at the top of my todo list!

If there are any problems as always feel free to contact me via discord! I hope you all enjoy. <3
----------, Mar 22, 2018

Changes:
- Fixed a bug where the mine menu items could be taken out of the menu.
----------, Mar 15, 2018

Changes:
- The plugin no longer depends on worldguard and griefprevention. It does however still have support for both.
----------, Mar 13, 2018

Sorry for the delay on these fixes. I became extremely ill the past few weeks. I plan to start knocking things off the todo list in the coming week!

Changes / Fixes:
- Grief prevention bug where the player could infinitely mine an ore and receive artifacts and crates.
- WorldGuard bug. (Same as the GP one) The player could infinitely mine ores in WG claims and receive artifacts and crates.
- Crate loot: All enchant books from crates where not allowing the player to add them to tools/armor.

Additions:
- Version Checker! The plugin now has version tracking. Ops will be alerted on join if the plugin is outdated.
----------, Mar 13, 2018

Resource Information
Author:
----------
Total Downloads: 8,614
First Release: Feb 27, 2018
Last Update: Nov 29, 2020
Category: ---------------
All-Time Rating:
15 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings