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/'