Links
Tags
Creators
Details
Licensed MIT
Published 2 years ago
Updated 2 months ago
All versions
1.0
Beta
LightingMod-paper2 years ago 70
Compatibility
Minecraft: Java Edition
1.21.1
Platforms
Paper
Spigot
Changes
LightningMod-paper
Features
- Configurable lightning strike chance
- Adjustable radius around players for lightning strikes
Installation
- Download the latest version of LightningMod.
- Place the
.jarfile into thepluginsdirectory of your Minecraft server. - Restart the server or use
/reloadcommand to load the plugin.
Configuration
The configuration file can be found at plugins/LightningMod/config.yml. Here are the available settings:
# Enable or disable the mod
modEnabled: true
# Chance of a lightning strike occurring (from 0.0 to 1.0)
lightningChance: 0.05
# Radius around the player where lightning can strike
lightningRadius: 100
# Enable or disable the use of lightning rods
lightningRodEnabled: true
# Interval (in ticks) to check for lightning strikes (default 100 ticks = 5 seconds)
checkInterval: 100
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:rc5Lp21j:hQzhjjKA"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:rc5Lp21j:hQzhjjKA"
}

