-
Notifications
You must be signed in to change notification settings - Fork 0
Digging
Based on LC-Digging and LC-Excavation
This module controls the way players can use shovels. Players collect experience by digging through softer materials like dirt, sand, clay, snow and soulsand. With higher level in digging there is a better chance to get double drops. When reaching a certain level the golden shovel turns into a fire-shovel which causes sand and clay not to drop their usual items, but the processed items, glass and bricks.
This module only has one permission node describing whether the module is active for players: ec.module.d
The configuration let the server admin declare the levels at which shovels can be used, along with how much experience is earned for each collected block. You can also define how double drops will happen and at which level the fire-shovel is activated. Just start the server once with the module enabled and it will create a default config for you.
# Level requirements for shovels
ShovelLevel.Wooden=0
ShovelLevel.Stone=5
ShovelLevel.Iron=10
ShovelLevel.Gold=20
ShovelLevel.Diamond=30
#
# Level requirements to dig through blocks
UseLevel.Dirt=0
UseLevel.Grass=0
UseLevel.Snow=0
UseLevel.SoulSand=0
UseLevel.Gravel=0
UseLevel.Clay=0
UseLevel.Sand=0
UseLevel.Mycelium=0
#
# Experience gained when digging through blocks
ExpGain.Dirt=1.0
ExpGain.Grass=1.0
ExpGain.Snow=5.0
ExpGain.SoulSand=8.0
ExpGain.Gravel=1.0
ExpGain.Clay=10.0
ExpGain.Sand=2.0
ExpGain.Mycelium=1.0
#
# Enable double drop; the higher the player's level is, the more likely he'll get double drops
Settings.EnableDoubleDrop=true
# Factor to tweak double drops; the higher this value is, the less drops will occur
Settings.DropMultiplier=1.0
# Level required to turn the golden shovel into the fire shovel
Settings.FireShovelLevel=80