Stay in the Light
Step into darkness and you die instantly.
How it works
- Every tick the pack checks the light level at every player's feet.
- If it's below 5, the player dies on the spot.
- It's the combined light level, the same one mob spawning uses: the brighter of block light (torches, lava, glowstone) and sky light, with sky light dimmed by time of day and weather.
- Players in creative and spectator mode are ignored.
Limitations
- Nights outdoors are deadly. At midnight open-air sky light drops to 4, so without a light source nearby you die; in rain it starts even earlier, at dusk.
- Respawning at night can turn into a death loop: if your spawn point is dark, you die again right after respawning. Keep a light source next to your bed or spawn.
Configuration
The threshold is set in data/stay_in_the_light/function/tick.mcfunction: light:{light:{max:4}} kills at 4 and below. Raise or lower the number to change it, then run /reload.
Партнёрский материал
Как запустить датапак Stay In The Light на сервере?
Датапак Stay In The Light удобнее всего раскрывается на общем сервере: установили один раз - и вся компания играет с новыми механиками. Создать сервер Майнкрафт с датапаком Stay In The Light можно за пару минут вместе с BungeeHost.
Часто задаваемые вопросы
Совместимость
Minecraft: Java Edition
26.3.x26.2.x26.1.x
Платформы
Поддерживаемые окружения
Клиент и сервер
Создатели
Детали
Лицензия:
Опубликован:1 месяц назад
Обновлён:1 месяц назад

