CustomSleeping 是一款可以自定义睡觉玩家数量的插件。它允许你设置一个必须睡觉的最小玩家数来开启新的一天,而不是使用 Minecraft 默认的“所有玩家同时睡觉”规则。
CustomSleeping.jar 文件。plugins 文件夹中。配置文件允许你精细调整插件行为。以下是一个配置示例与说明:
##############################################
# #
# CustomSleeping 6.0 #
# #
##############################################
# 可用变量:
# %player% - 显示睡觉玩家的名字。
# %totalPlayers% - 显示当前正在睡觉的玩家数量。
# %neededPlayers% - 显示需要睡觉的玩家数量。
# 如果任何消息的值设置为 null,则该消息不会显示。
Messages:
# 发送给当前世界所有玩家的消息。
toAllPlayers: "&c%player% &e went to sleep."
# 发送给睡觉玩家本人的消息。
toPlayer: "&eHave a sweet dream!"
# 玩家离床时,发送给当前世界所有玩家的消息。
playerLeftBed: "&c%player% &eleft the bed. Currently sleeping: &c%totalPlayers%&e/&c%neededPlayers%."
# 当游戏规则 doDaylightCycle 为 true 时发送给玩家的消息。
notAllowedGameRule: "&4You cannot sleep in this world."
# 当世界不允许睡觉或在禁止世界列表中时发送的消息。
notAllowedWorld: "&4You cannot sleep in this world."
# 当附近有怪物时发送的消息。
monstersNearby: "&4You may not rest now, there are monsters nearby."
# 当前不是夜晚或雷暴天气时发送的消息。
notPossibleNow: "&4You cannot sleep now, is not being night nor thundering currently."
# 当玩家离床太远时发送的消息。
tooFarAway: "&4You are too far away from bed."
Settings:
# playersNeeded: 设置改变时间所需的最小睡觉玩家数。
# 如果设置为 0,则只需 1 名玩家即可改变时间。
# 如果设置为 0-100 之间的数字,则代表必须睡觉的玩家百分比。
# 如果设置为大于 100 或小于 0 的数字,则行为与 Minecraft 默认相同(需要100%)。
playersNeeded: 0
# 是否允许在游戏规则 doDaylightCycle 为 false 的世界中睡觉。
# 如果设置为 false,玩家将无法在此类规则的世界中睡觉。
enableOnDoDaylightCycleIsFalse: false
# 是否允许床在下界和末地爆炸。
# 如果设置为 false,床将不会爆炸。
enableExplosion: false
# 禁止睡觉的世界列表(移除 world_nether 和 world_the_end 不会有游戏内影响,此处仅为示例)。
Banned_Worlds:
- 'world_nether'
- 'world_the_end'DoDaylightCycle 为 false 时,玩家无法通过睡觉改变时间,并配有自定义消息。友情链接: 网易我的世界 | 泰拉瑞亚 | ocent云计算 | 米饭Minecraft插件文档 | 友链合作
历史访问人数:2,670,189 | 历史访问人次:3,236,675
今日访问人数:15,582 | 今日访问人次:17,653
昨日访问人数:30,655 | 昨日访问人次:36,381
Copyright © 2019-2026 我的世界服务器列表站. All rights reserved.
❤ Powered by GermMC 京ICP备17023959号-6