▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Моды/SoloSleeper
SoloSleeper

SoloSleeper

Tired of waiting for your friends to sleep through the night ?

195
6

Tired of waiting for your friends to sleep through the night? Description This mod is designed to replicate the sleep system found in Enshrouded. It prevents the entire server from being penalized just because one player can’t access a bed or is AFK. When at least one player sleeps, time begins to speed up. The more players that sleep, the faster the night passes. The traditional “instant night skip” mechanic has been removed to fit this system, and everything is fully configurable through the mod’s settings.

⚙️ Configuration

["General Settings"]
	#Minimum percentage of players required to start time acceleration (0-100).
	# Default: 1
	# Range: 0 ~ 100
	minPlayerPercentage = 1
	#Time speed multiplier added for each sleeping player.
	# Default: 10.0
	# Range: 1.0 ~ 1000.0
	multiplierPerPlayer = 10.0
	#Maximum time speed limit (ticks per tick).
	# Default: 100
	# Range: 1 ~ 10000
	maxAcceleration = 100
	#How often the mod scans for players (in ticks). 1 is every tick, 5 is recommended for large servers to save CPU.
	# Default: 5
	# Range: 1 ~ 100
	tickInterval = 5
	#Allow the vanilla 'skip night' mechanic if enough players are sleeping.
	allowVanillaSkip = false
	#Percentage of players needed to skip the night vanilla-style (usually 50%).
	# Default: 50
	# Range: 0 ~ 100
	skipPercentage = 50
	#If true, resets the 'Time Since Rest' stat for players when morning comes to prevent Phantom spawning.
	enablePhantomReset = true

[Notifications]
	#Show a title/subtitle on screen when players are sleeping.
	displaySleepTitle = true
	#Message template for the subtitle. Use {sleeping}, {total}, and {speed} as placeholders.
	titleMessageTemplate = "&e{sleeping}/{total} &7sleeping (Speed: &b{speed}&7)"
	#Message sent to all players when morning arrives after an accelerated night. Leave empty to disable.
	morningMessage = "&6☀ &eThe night passed quickly thanks to the sleepers!"
	#Enable morning message sent to all players when morning arrives
	enableMorningMessage = true
	#Play a sound when the night is skipped/finished.
	enableMorningSound = true
	#The registry ID of the sound to play (ex: minecraft:block.bell.use or minecraft:entity.experience_orb.pickup).
	morningSoundId = "minecraft:block.bell.use"
	#Applies a temporary blindness effect upon waking up to simulate glare.
	enableSmoothWake = true
	#Hides the gray background UI displayed when a player is sleeping.
	hideSleepOverlay = true
	#If true, only players in bed will see the sleep progress title.
	titleOnlyForSleepers = false
	# Default: 10
	# Range: 0 ~ 100
	titleFadeInTicks = 10
	# Default: 20
	# Range: 0 ~ 200
	titleStayTicks = 20
	# Default: 10
	# Range: 0 ~ 100
	titleFadeOutTicks = 10

📜 Informations

⚠️ Feel free to share any feedback about this mod. It’s quite simple for now, but there’s definitely room for improvement in the future.

If you're interested in using it or feel some features are missing, feel free to contact me or create an issue, I'm open to feedback and suggestions ! (My Discord -> @eldrake , you can contact me directly) or directely via Modrinth.

Совместимость

Minecraft: Java Edition

1.21.x1.20.x1.19.x

Платформы

Поддерживаемые окружения

Клиент и сервер

Создатели

Детали

Лицензия:LicenseRef-All-Rights-Reserved
Опубликован:3 месяца назад
Обновлён:1 день назад
Главная