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!



Nullifier, Pouch Auto Sell, Gem Commands
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
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