🌅 Sunshine Grace
Sunshine Grace adds a "grace period" for players who are joining an existing world for the first time.
All new players will receive 10 minutes of Sunshine Grace, which will protect them from all hostile mobs as long as they stay on the surface. Attacking a hostile mob will remove the effect.
Sunshine Grace aims to assist new players joining in the middle of the night and lets those players get settled before having to deal with the dangers of the dark.
🔧 Config
Different changes to how Sunshine Grace functions can be changed in the config file.
{
"enableFirstJoinEffect": true,
"enableAttackingMonsterRemovesEffect": true,
"duration": 12000,
"minimumYValue": 60.0
}
enableFirstJoinEffect: Toggle granting new players the effect- default:
true
- default:
enableAttackingMonsterRemovesEffect: Toggle attacking a hostile mob removing the effect- default:
true
- default:
duration: Duration (in ticks) that the effect lasts for- default:
12000(10 minutes)
- default:
minimumYValue: The minimum Y level that a player can be before hostile mobs aggro- default:
60.0
- default:
🔌 Plugin
Sunshine Grace also comes as a server plugin. The main difference from the mod being that the effect is displayed on the player's action bar or boss bar instead of a custom effect.
Commands
/sunshinegrace position <actionbar|bossbar>: Change where the effect is displayed- default:
actionbar poscan be used as an alternative toposition
- default:
/sunshinegrace set <player> [ticks]: Manually set the effect for a player- Permission:
sunshinegrace.command.set
- Permission:
/sunshinegrace config <setting> [value]: Change config settings- Permission:
sunshinegrace.command.config
- Permission:
⚙️ Modpack/Server Usage
Sunshine Grace is free to be used in any custom mod packs or servers as long as credit is provided. Compatibility with other mods/plugins has not been tested for.
🐛 Issues
If you happen to experience any issues while using this mod/plugin, please report it to our GitHub issue tracker! Please be as clear as possible when reporting any bugs or issues.
Сервер для плагина Sunshine Grace - как у профи
Плагин Sunshine Grace создан для серверов: на своём сервере вы настраиваете его под себя и решаете, кому играть. Создать сервер с плагином Sunshine Grace для друзей можно за пару минут - BungeeHost всё уже подготовил.

