DrSleep
DrSleep 类似于原版单人睡眠机制,即一名玩家躺在床上即可跳过夜晚。然而,DrSleep 的区别在于:如果有任何玩家希望保持夜晚状态,睡眠将不会跳过夜晚。玩家可以使用 /preventsleep 命令来阻止其他玩家通过睡眠跳过夜晚。
替代方案有哪些?
默认设置
如果你什么都不做,服务器上所有玩家都需要躺在床上才能跳过夜晚。由于缺乏协调,这种情况在服务器上很少发生。因此,即使服务器上的所有玩家都想跳过夜晚,正常的日夜循环仍会继续,这可能会令人沮丧。
/gamerule playersSleepingPercentage
这是 1.17 版本中添加的原版游戏规则,允许管理员设置需要多少名玩家睡觉才能跳过夜晚。你可以将其设置为非常低的值(如 1%),这样任何躺在床上睡觉的玩家都可以跳过夜晚。但在大多数玩家希望保留夜晚的情况下,这种做法可能不合理。提高百分比数值则可能导致前面提到的协调问题。
Harbor
最受欢迎的睡眠插件之一 Harbor 的功能是:随着躺在床上睡觉的玩家数量增加,夜晚结束的速度也会加快。我认为这对希望保留夜晚的玩家不公平,因为他们无法用同样的方式来跳过白天。此外,这也导致希望跳过夜晚的玩家在床上浪费了一些时间。
VoteSkip
VoteSkip 会向所有玩家发送消息,询问他们是否投票并显示当前的统计结果。这可能会使聊天频道比平时更加拥挤。
DrSleep
希望保留夜晚的玩家可以使用 /preventsleep 标记自己。当某位玩家点击床时,DrSleep 会检查是否有玩家请求阻止睡眠,如果有,则会尊重他们的意愿;否则,将跳过夜晚。下线或离开世界的玩家会自动停止阻止睡眠。此外,为了优先处理活跃玩家的意愿而非离线玩家,你可以配置要求玩家每天重新执行一次 /preventsleep 以续期其状态。
命令与权限
| Command |
Description |
Permission |
| /preventsleep |
阻止其他玩家跳过夜晚 |
drsleep.preventsleep |
| /allowsleep |
从阻止跳过的玩家列表中移除你自己 |
|
| /drsleep list |
列出正在阻止睡眠的玩家 |
drsleep.list |
| /drsleep clear |
清除阻止睡眠的玩家列表 |
drsleep.clear |
| drsleep reload |
重载配置文件和语言文件 |
drsleep.reload |
统计数据
DrSleep
DrSleep is similar to singleplayer sleep where one player in bed will skip the night. However, the difference is that, with DrSleep, if any player wants it to stay night, sleeping won't skip the night. Players can use the /preventsleep command to stop players from sleeping through the night.
What are the alternatives?
Default
If you do nothing, all players on the server need to be sleeping in a bed to skip the night. This rarely ever happens on servers due to a lack of coordination. As a result, the normal day/night cycle continues even if all of the players on the server want to skip the night which can be frustrating.
/gamerule playersSleepingPercentage
This vanilla gamerule which was added in 1.17 allows for admins to set it so a certain number of players need to sleep to skip the night. You can set it to a realy low value like 1% which will make it so any player sleeping in a bed will skip the night. This can be irrational in cases where the majority of players want the night. Increasing the percentage to a higher number can lead to the coordination problems discussed earlier.
Harbor
One of the most popular sleeping plugins, Harbor makes it so the number of players sleeping in beds inreases the speed at which night ends. I find this to be unfair to the players who want night since they can't do the same to skip the day. It also makes it so the players who want to skip night are wasting some of their time laying in bed.
VoteSkip
VoteSkip sends messages to all players asking them to vote and showing a tally of the current results. This can make chat feel even more crowded than it already is.
DrSleep
Players who want to keep the night can mark themselves that way with /preventsleep. When a player clicks a bed, DrSleep checks if there are any players who have requested to prevent sleep, and respects their wishes if so. Otherwise, it'll skip the night. Players who log off or leave the world stop preventing sleep. Additionally, to prioritize active players' wishes over those who are inactive, you can make it so players have to renew their /preventsleep each day.
Commands and Permissions
| Command |
Description |
Permission |
| /preventsleep |
Prevents other players from skipping the night |
drsleep.preventsleep |
| /allowsleep |
Removes you from the list of players preventing skipping |
|
| /drsleep list |
Lists users who are preventing sleep |
drsleep.list |
| /drsleep clear |
Clears the list of people who are preventing sleep |
drsleep.clear |
| drsleep reload |
Reloads the config and language files |
drsleep.reload |
Stats
评论 0
登录后参与评分
还没有评论,来抢沙发吧