跳到正文

SinglePlayerSleep

作者:joelstoner

Allows a Signle player to sleep the night away on an SMP

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

This ServerSide Mod simply allows a single player to sleep away the night on an SMP.

It is a port of VanillaTweaks datapack ‘Multiplayer Sleep’, that doesn’t require a trigger, and works every time.

 

Q – Are you tired of using datapacks that don’t always work, and require restarting the server, and triggers to fix?

A – Then this is your solution, it works every time, and doesn’t require a server restart to change configs.

 

 

Configuration file

#Single Player Sleep Mod settings
[settings]
    #Defines the sleep message to be displayed when a player sleeps.
    #%1$s is a placeholder for the sleeping player’s name.
    str_SleepMessage = “%1$s went to bed. Sweet dreams!”
    #Enable or Disable this mod
    bool_Enabled = true
    #Should SPS log debug information in the console/log?
    bool_Debug = false
    #Define the length of time to delay in ticks before changing the time.
    #300(15 seconds) is default, as it is just over the vanilla length for single player.
    #Range: > 20
    int_SleepLength = 300
    #Should SPS cancel sleep if the player exits the bed?
    bool_CancelOnExit = true

 

 

 

The bukkit plugin version of this mod has over 33,000 downloads on spigotmc, and over 93,000 downloads on dev.bukkit.

 

Installing the mod on your Server
1. Make sure Forge Server is installed
2. Put the jar in your Server’s mods folder
3. Run the Server!

 

Modpacks
You are more than welcome to include this in a modpack, it is server side.

 

 

 

常见问题

SinglePlayerSleep 支持哪些 Minecraft 版本?

SinglePlayerSleep 支持 Minecraft Java 版 1.16.5,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。

SinglePlayerSleep 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分