๐ StartEffectMod
๐งช A lightweight utility mod that automatically grants potion effects to players when they join the world for the first time.
๐ก About
This mod was originally created for our upcoming Calamity Protocol hardcore modpack —
where you get infected right after joining the world and must find a cure within 50 days (50 hours)!
But feel free to use it in your own projects or modpacks.
It simply applies configurable potion effects when a player joins the world,
and can optionally reapply them if removed.
Perfect for mapmakers, servers, or modpack creators who want custom start effects.
โ๏ธ Features
-
๐ฏ Apply any potion effect by ID (e.g.
minecraft:night_vision) -
โฑ๏ธ Custom duration & amplifier values
-
๐ Optional “reapply if removed” mode
-
๐ง “Only once” mode for first join
-
๐ Optional “keep effect after respawn” and “reset duration on respawn” settings
-
โก Lightweight, server-friendly, and fully configurable
๐งฐ Configuration
A config file will be generated at:
config/starteffectmod-common.toml
You can modify:
-
effect→ potion effect ID -
duration→ effect duration in ticks (20 ticks = 1 second) -
amplifier→ effect strength -
onlyOnce→ apply only on first login -
refillIfRemoved→ reapply automatically if lost -
keepEffectOnRespawn→ keep effect after respawn -
resetDurationOnRespawn→ reset to full duration when respawning
๐งพ License
๐ Licensed under MIT — free to include in any modpack or project.
๐ Made For
๐งฑ Originally developed for the upcoming
Calamity Protocol modpack — now available for everyone!