🌟 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!

