This plugin gives owners the ability to base their economy around a farming server, where you can setup custom upgradable tools. Via this plugin, with levels for each tool, which will give you increased sell values of the items required to upgrade the tool. (Default is an Upgradable Hoe which gives you an upgradable sugar-cane price, and an Upgradable Axe, which gives you an upgradable pumpkin/melon block price)
Commands
/upgrade - Open the upgrade gui for the item in hand
/upgradetool - Give a player an upgradable tool - galactictools.admin
Configuration
Code:
{
"msgMustHoldTool": "&3&lTOOLS &8» &cYou must be holding an upgradable tool in your hand to upgrade it.",
"msgToolGiven": "&3&lTOOLS &8» &fYou have given &a{player} {amount}x&f {tool}(s).",
"msgToolReceived": "&3&lTOOLS &8» &fYou have received &a{amount}x&f {tool}(s).",
"msgToolInvalidType": "&3&lTOOLS &8» &cThe tool type you have entered is invalid!",
"msgToolUpgraded": "&3&lTOOLS &8» &e{player}&f has just upgraded their {tool}&f to level &e{level}&f through the &e/upgrade&f menu.",
"msgUpgradeAlreadyUnlocked": "&3&lTOOLS &8» &cYou already have this level unlocked.",
"msgCannotAffordUpgrade": "&3&lTOOLS &8» &cYou cannot afford this upgrade.",
"msgNotEnoughBlocksBroken": "&3&lTOOLS &8» &cYou do not have enough blocks broken to complete this upgrade.",
"msgCannotSkipLevels": "&3&lTOOLS &8» &cYou cannot skip levels when upgrading your tools.",
"msgSold": "&3&lTOOLS &8» &7You have received &a$&f{amount}&7 from your Upgradable Tool.",
"msgMustWait": "&3&lTOOLS &8» &cYou must wait 10 seconds before u can break this.",
"msgLevelCannotExceedMax": "&3&lTOOLS &cThe level you have inputted exceeds the max level of {level}.",
"requiredFormat": "&f{amount} &b{type}",
"toolWrappers": {
"hoe": {
"levelWrappers": [
{
"blocksRequired": {
"SUGAR_CANE_BLOCK": 0
},
"level": 1,
"price": 0,
"sellPrice": 75.0
},
{
"blocksRequired": {
"SUGAR_CANE_BLOCK": 10000
},
"level": 2,
"price": 500000,
"sellPrice": 150.0
},
{
"blocksRequired": {
"SUGAR_CANE_BLOCK": 75000
},
"level": 3,
"price": 1750000,
"sellPrice": 200.0
},
{
"blocksRequired": {
"SUGAR_CANE_BLOCK": 250000
},
"level": 4,
"price": 5000000,
"sellPrice": 250.0
},
{
"blocksRequired": {
"SUGAR_CANE_BLOCK": 450000
},
"level": 5,
"price": 15000000,
"sellPrice": 300.0
},
{
"blocksRequired": {
"SUGAR_CANE_BLOCK": 750000
},
"level": 6,
"price": 40000000,
"sellPrice": 350.0
},
{
"blocksRequired": {
"SUGAR_CANE_BLOCK": 1500000
},
"level": 7,
"price": 90000000,
"sellPrice": 400.0
},
{
"blocksRequired": {
"SUGAR_CANE_BLOCK": 1750000
},
"level": 8,
"price": 150000000,
"sellPrice": 450.0
},
{
"blocksRequired": {
"SUGAR_CANE_BLOCK": 2000000
},
"level": 9,
"price": 300000000,
"sellPrice": 500.0
},
{
"blocksRequired": {
"SUGAR_CANE_BLOCK": 2500000
},
"level": 10,
"price": 450000000,
"sellPrice": 550.0
},
{
"blocksRequired": {
"SUGAR_CANE_BLOCK": 3250000
},
"level": 11,
"price": 550000000,
"sellPrice": 600.0
},
{
"blocksRequired": {
"SUGAR_CANE_BLOCK": 4000000
},
"level": 12,
"price": 750000000,
"sellPrice": 650.0
},
{
"blocksRequired": {
"SUGAR_CANE_BLOCK": 5500000
},
"level": 13,
"price": 1000000000,
"sellPrice": 700.0
},
{
"blocksRequired": {
"SUGAR_CANE_BLOCK": 6500000
},
"level": 14,
"price": 1500000000,
"sellPrice": 750.0
}
],
"itemWrapper": {
"material": "DIAMOND_HOE",
"damage": 0,
"amount": 1,
"meta": {
"displayName": "&6Harvester Hoe",
"lore": [
"&eLevel &8» &f{level}",
"&eCane Harvested &8» &f{sugar_cane_block}",
" ",
"&fDo &e/upgrade&f to upgrade your",
"&fhoe."
],
"enchants": {
"DURABILITY": 1
},
"itemFlags": [
"HIDE_UNBREAKABLE",
"HIDE_ENCHANTS"
],
"unbreakable": true
}
},
"applyFortune": false
},
"axe": {
"levelWrappers": [
{
"blocksRequired": {
"PUMPKIN": 0,
"MELON_BLOCK": 0
},
"level": 1,
"price": 0,
"sellPrice": 75.0
},
{
"blocksRequired": {
"PUMPKIN": 10000,
"MELON_BLOCK": 10000
},
"level": 2,
"price": 500000,
"sellPrice": 150.0
},
{
"blocksRequired": {
"PUMPKIN": 75000,
"MELON_BLOCK": 75000
},
"level": 3,
"price": 1750000,
"sellPrice": 200.0
},
{
"blocksRequired": {
"PUMPKIN": 250000,
"MELON_BLOCK": 250000
},
"level": 4,
"price": 5000000,
"sellPrice": 250.0
},
{
"blocksRequired": {
"PUMPKIN": 450000,
"MELON_BLOCK": 450000
},
"level": 5,
"price": 15000000,
"sellPrice": 300.0
},
{
"blocksRequired": {
"PUMPKIN": 750000,
"MELON_BLOCK": 750000
},
"level": 6,
"price": 40000000,
"sellPrice": 350.0
},
{
"blocksRequired": {
"PUMPKIN": 1500000,
"MELON_BLOCK": 1500000
},
"level": 7,
"price": 90000000,
"sellPrice": 400.0
},
{
"blocksRequired": {
"PUMPKIN": 1750000,
"MELON_BLOCK": 1750000
},
"level": 8,
"price": 150000000,
"sellPrice": 450.0
},
{
"blocksRequired": {
"PUMPKIN": 2000000,
"MELON_BLOCK": 2000000
},
"level": 9,
"price": 300000000,
"sellPrice": 500.0
},
{
"blocksRequired": {
"PUMPKIN": 2500000,
"MELON_BLOCK": 2500000
},
"level": 10,
"price": 450000000,
"sellPrice": 550.0
},
{
"blocksRequired": {
"PUMPKIN": 3250000,
"MELON_BLOCK": 3250000
},
"level": 11,
"price": 550000000,
"sellPrice": 600.0
},
{
"blocksRequired": {
"PUMPKIN": 4000000,
"MELON_BLOCK": 4000000
},
"level": 12,
"price": 750000000,
"sellPrice": 650.0
},
{
"blocksRequired": {
"PUMPKIN": 5500000,
"MELON_BLOCK": 5500000
},
"level": 13,
"price": 1000000000,
"sellPrice": 700.0
},
{
"blocksRequired": {
"PUMPKIN": 6500000,
"MELON_BLOCK": 6500000
},
"level": 14,
"price": 1500000000,
"sellPrice": 750.0
}
],
"itemWrapper": {
"material": "DIAMOND_AXE",
"damage": 0,
"amount": 1,
"meta": {
"displayName": "&6Harvester Axe",
"lore": [
"&eLevel &8» &f{level}",
"&ePumpkin Harvested &8» &f{pumpkin}",
"&eMelon Harvested &8» &f{melon_block}",
" ",
"&fDo &e/upgrade&f to upgrade your",
"&faxe."
],
"enchants": {
"LOOT_BONUS_BLOCKS": 5,
"DIG_SPEED": 7
},
"itemFlags": [
"HIDE_UNBREAKABLE",
"HIDE_ENCHANTS"
],
"unbreakable": true
}
},
"applyFortune": true
}
},
"upgradeGui": {
"title": "&e&lUpgrade your Tool",
"items": {
"-": {
"material": "AIR",
"damage": 0,
"amount": 1
},
"#": {
"material": "STAINED_GLASS_PANE",
"damage": 7,
"amount": 1,
"meta": {
"displayName": "&r"
}
}
},
"pattern": [
"#########",
"#-------#",
"#-------#",
"#########"
]
},
"unlockedLevelItem": {
"material": "STAINED_CLAY",
"damage": 5,
"amount": 1,
"meta": {
"displayName": "&a&lLEVEL {level}&7 (Unlocked)",
"lore": [
" ",
"&eSell Price: &a$&f{sellPrice}",
" "
]
}
},
"pendingLevelItem": {
"material": "STAINED_CLAY",
"damage": 9,
"amount": 1,
"meta": {
"displayName": "&c&lLEVEL {level}&7 (Locked)",
"lore": [
" ",
"&eRequired: &f{required}",
"&ePrice: &a$&f{price}",
" ",
"&eSell Price: &a$&f{sellPrice}",
" "
]
}
},
"lockedLevelItem": {
"material": "STAINED_CLAY",
"damage": 14,
"amount": 1,
"meta": {
"displayName": "&c&lLEVEL {level}&7 (Locked)",
"lore": [
" ",
"&eRequired: &f{required}",
"&ePrice: &a$&f{price}",
" ",
"&eSell Price: &a$&f{sellPrice}",
" "
]
}
}
}
Dependencies: GalacticLib & MassiveCore
Wiki: https://galactic.stellardev.org/tools/description
If you have additional questions or need support join our discord and we would be happy to get you squared away!
If you have additional questions or need support join our discord and we would be happy to get you squared away!
- Type
- Offering
