
AdvancedFurnaces v1.1.0
A plugin that adds furnaces with upgradeable levels and perks.
AdvancedFurnaces
Allows players to upgrade their furnaces, unlock perks, and gain environmental bonuses all using XP levels. Completely customizable. Depends on DecentHolograms.
Holograms:
Each furnace has a customizable hologram that shows above the furnace.
# Hologram Lines: These are the lines that will be displayed in the holograms above furnaces.
# Available variables:
# {id} - The unique ID of the furnace.
# {level} - The level of the furnace, which will only show if the furnace is a level furnace.
# The following variables will be showed to the hologram only if the furnace has the perk unlocked.
# {PERFORMANCE} - The smelting speed effect percentage.
# {OVERHEAT_EFFICIENCY} - The efficiency increase percentage during overheat.
# {OVERHEAT_FUEL_CONSUMPTION} - The fuel consumption increase percentage during overheat.
# {OVERHEAT_CHANCE} - The chance of overheat happening.
# {FUEL_DURATION} - The fuel duration effect percentage.
# {REWARD} - The reward chance percentage.
# {FUEL_SHARE} - The fuel share effect percentage.
# Overheat status will always show.
# {overheat_status} - The overheat status message, which will show "Overheat Active" or "Overheat Inactive".
hologram_lines:
- "&eFurnace ID: {id}"
- "&eFurnace Level: {level}"
- "&eSmelting Speed: {PERFORMANCE}"
- "&eOverheat Efficiency: {OVERHEAT_EFFICIENCY}"
- "&eOverheat Fuel Consumption: {OVERHEAT_FUEL_CONSUMPTION}"
- "&eOverheat Chance: {OVERHEAT_CHANCE}"
- "&eFuel Duration: {FUEL_DURATION}"
- "&eReward: {REWARD}"
- "&eFuel Share: {FUEL_SHARE} blocks"
- "{overheat_status}"
overheat_active: "&cOverheat: Active"
overheat_inactive: "&aOverheat: Inactive"
Furnace Levels and Perks:
There are two furnace types, Level Furnaces and Perk Furnaces (default). Furnaces can be upgrade by shift right clicking a furnace.
Level furnaces allow you to upgrade the whole furnace which will upgrade the perks listed in each level in the configuration.
# Furnace levels and perks configuration: Define the levels of the furnaces, their upgrade costs, and perks.
furnace_levels:
1:
cost: 5 # Cost in XP levels to upgrade to this level
perks:
PERFORMANCE: 10 # Performance perk effect percentage at this level
FUEL_DURATION: 5 # Fuel duration perk effect percentage at this level
2:
cost: 10
perks:
PERFORMANCE: 15
FUEL_DURATION: 10
3:
cost: 20
perks:
PERFORMANCE: 20
FUEL_DURATION: 15
OVERHEAT:
chance: 15
effects:
efficiency: 75
fuel_consumption: 75
Perk furnaces allow you to individually upgrade each perk.
# Perk upgrades configuration: Define the levels, effects, and costs for upgrading each perk.
perk_upgrades:
PERFORMANCE:
1:
cost: 5 # Cost in XP levels to upgrade to this level
effect: 10 # Effect percentage of the perk at this level
2:
cost: 10
effect: 20
FUEL_DURATION:
1:
cost: 5 # Cost in XP levels to upgrade to this level
effect: 5 # Increases fuel duration by 5%
2:
cost: 10
effect: 10
OVERHEAT:
1:
cost: 10
chance: 5 # Chance percentage for the overheat effect to occur at this level
effects:
efficiency: 50 # Efficiency increase percentage during overheat
fuel_consumption: 50 # Fuel consumption increase percentage during overheat
2:
cost: 20
chance: 90
effects:
efficiency: 75
fuel_consumption: 75
REWARD:
1:
cost: 10
effect: 10 # Chance percentage to double the output at this level
2:
cost: 20
effect: 20
FUEL_SHARE:
1:
cost: 10
effect: 5 # Radius in blocks to share fuel with other furnaces at this level
2:
cost: 20
effect: 10
Perks:
- Performance: Increases smelting speed.
- Fuel Duration: Extends fuel duration.
- Overheat: Chance to increase efficiency at the cost of higher fuel consumption.
- Reward: Chance to double the output.
- Fuel Share: Shares fuel with nearby furnaces.
All perk effects as well as upgrade cost can be customized in the configuration.
Custom Smelting and Cooldown times:
You can set custom smelting times for specific items which will define how long an item takes to smelt. You can also set cooldown times for items after smelting which will block a player from taking the item out of the furnace until the cooldown is finished; as if the item is 'too hot' to take out.
# Smelting times configuration: Define custom smelting times for specific items.
smelting_times:
IRON_ORE: 10 # Custom smelting time in seconds for iron ore
SAND: 1 # Custom smelting time in seconds for sand
# Cooldown times configuration: Define cooldown times for specific smelted items.
cooldown_times:
IRON_INGOT: 10 # Cooldown time in seconds for iron ingots
GOLD_INGOT: 15 # Cooldown time in seconds for gold ingots
Boosters:
Boosters temporarily enhance furnace perks for a set duration for all furnaces in the server. With the booster configuration, you can create as many booster items you want as well as each booster can have multiple perks boosted.
boosters:
- id: "performance_booster"
name: "&6Performance Booster"
item: "NETHER_STAR"
duration: 3600 # Duration in seconds
perk: "PERFORMANCE"
perks:
PERFORMANCE: 20 # 20% boost
- id: "fuel_duration_booster"
name: "&6Fuel Duration Booster"
item: "NETHER_STAR"
duration: 3600 # Duration in seconds
perk: "FUEL_DURATION"
perks:
FUEL_DURATION: 15 # 15% boost
- id: "overheat_booster"
name: "&6Overheat Efficiency Booster"
item: "NETHER_STAR"
duration: 3600 # Duration in seconds
perk: "OVERHEAT"
perks:
OVERHEAT:
efficiency: 30 # 30% efficiency boost
fuel_consumption: 10 # 10% fuel consumption boost
- id: "reward_booster"
name: "&6Reward Booster"
item: "NETHER_STAR"
duration: 3600 # Duration in seconds
perk: "REWARD"
perks:
REWARD: 25 # 25% boost
- id: "fuel_share_booster"
name: "&6Fuel Share Booster"
item: "NETHER_STAR"
duration: 3600 # Duration in seconds
perk: "FUEL_SHARE"
perks:
FUEL_SHARE: 10 # Shares fuel within a 10-block radius
Biome Specific Effects:
Each biome has a different effect for your furnace and all effects can be customized in the configuration.
- Tundra Efficiency: Furnaces placed in snowy biomes work 15% slower due to the cold but have a 25% chance to double when smelting due to the slower and higher quality of smelting.
- Desert Mastery: Furnaces in desert biomes use 20% less fuel and smelt 30% faster, reflecting the intense heat facilitating the smelting process.
- Altitude Adaptation:
High Altitude Efficiency: Furnaces placed above Y-level 100 require 10% less fuel due to the lower oxygen levels affecting combustion differently, benefiting smelting operations.
Underground Booster: Furnaces located below Y-level 50 can process ores 20% faster, mimicking the increased pressure and its effects on heating efficiency. - Aquatic Cooling: Furnaces near water (within 5 blocks) cool down items 25% faster after smelting, perfect for rapidly processing large batches of items without waiting for natural cooldown periods.
- Photosynthesis Bonus: Furnaces placed within a 5-block radius of at least ten leaf blocks use 15% less fuel, inspired by oxygen production from trees enhancing combustion.
# Biome-Specific Efficiency:
biome_specific:
# Tundra Efficiency: Furnaces placed in snowy biomes work 15% slower due to the cold but have a 25% chance to double when smelting due to the slower and higher quality of smelting.
tundra:
efficiency_modifier: 15 # Percentage modifier for furnace efficiency in tundra biomes (15 means 15% slower)
double_chance: 25 # Percentage chance to double the output when smelting in tundra biomes (25%)
messages:
efficiency: "&bTundra Efficiency: &e{efficiency}% slower"
double: "&bTundra Efficiency: &e{double_chance}% chance to double"
# Desert Mastery: Furnaces in desert biomes use 20% less fuel and smelt 30% faster, reflecting the intense heat facilitating the smelting process.
desert:
fuel_modifier: -20 # Percentage modifier for fuel consumption in desert biomes (-20 means 20% less fuel used)
speed_modifier: -30 # Percentage modifier for smelting speed in desert biomes (-30 means 30% faster smelting)
messages:
fuel: "&bDesert Mastery: &e{fuel}% less fuel"
speed: "&bDesert Mastery: &e{speed}% faster"
# Altitude Adaptation:
altitude_specific:
# High Altitude Efficiency: Furnaces placed above Y-level 100 require 10% less fuel due to the lower oxygen levels affecting combustion differently, benefiting smelting operations.
high:
level: 100 # Y-level above which the high altitude effect applies
fuel_modifier: -10 # Percentage modifier for fuel consumption at high altitudes (-10 means 10% less fuel used)
message: "&bHigh Altitude: &e{fuel}% less fuel"
# Underground Booster: Furnaces located below Y-level 50 can process ores 20% faster, mimicking the increased pressure and its effects on heating efficiency.
low:
level: 50 # Y-level below which the low altitude effect applies
speed_modifier: -20 # Percentage modifier for smelting speed at low altitudes (-20 means 20% faster smelting)
message: "&bUnderground Booster: &e{speed}% faster"
# Proximity to Water:
water_proximity:
# Aquatic Cooling: Furnaces near water (within 5 blocks) cool down items 25% faster after smelting, perfect for rapidly processing large batches of items without waiting for natural cooldown periods.
radius: 5 # Radius within which the water proximity effect applies
cooldown_modifier: 25 # Percentage modifier for cooling down smelted items near water (25 means 25% faster cooldown)
message: "&bAquatic Cooling: &e{cooldown}% faster cooldown"
# Nearby Flora:
flora_proximity:
# Photosynthesis Bonus: Furnaces placed within a 5-block radius of at least ten leaf blocks use 15% less fuel, inspired by oxygen production from trees enhancing combustion.
radius: 5 # Radius within which the flora proximity effect applies
leaf_count: 10 # Number of leaf blocks required within the radius to activate the effect
fuel_modifier: -15 # Percentage modifier for fuel consumption near sufficient leaf blocks (-15 means 15% less fuel used)
message: "&bPhotosynthesis Bonus: &e{fuel}% less fuel"
Commands:
- /advancedfurnaces give <playerName> <furnaceLevel> <amount> - Allows you to give a specified number of advanced furnaces to a player at a particular level.
- /advancedfurnaces checkbooster - Allows players to check the status of their active global boosters.
- /advancedfurnaces adminbooster <set|remove|check> <playerName> [percentage] [duration in seconds] - Allows administrators to set, remove, or check boosters for a player.
Example: /advancedfurnaces adminbooster set Steve 20 3600 sets a 20% booster for Steve for 3600 seconds for their current booster. - /advancedfurnaces booster <playerName> <boosterID> <amount> - Allows you to give a specified number of boosters to a player.
Example: /advancedfurnaces booster Steve performance_booster 2 will give player Steve two Performance Boosters.
Screenshots:
Feel free to check out my Fiverr to request custom plugins: https://www.fiverr.com/s/EAx399