Playerswap 是一个你可以添加到 Minecraft 中的额外难度模组,用来让你的朋友们困惑不已。
启用后,所有玩家都会占据字母顺序中下一位玩家的位置、生命值、饥饿值、物品栏以及几乎所有其他属性。它甚至在睡觉和骑乘时也能生效!
这个模组的灵感来源于玩家互相发送存档以接续前一位玩家的游戏进度,其运作方式基本相同——只不过你们仍然身处同一个世界中!
可以使用命令来控制该模组(默认处于关闭状态)。
所有命令都可通过 "/playerswap" 获取。
start [time]
启动计时器和交换功能。可以选择性地提供一个时间值来将计时器初始化为预设值。此处使用的 setTime 功能的工作原理如下:
([time] 中输入的值 → 显示的时间值):
- 1y 1w 1d 1h 1m 1s → 1 年, 1 周, 1 天, 1 小时, 1 分钟, 1 秒
(这些都是支持的单位,其他单位无效)
- 300s → 5 分钟
单位会自动转换
- -5m -3s → -5 分钟, -3 秒
负数值同样有效
- 1m -1s → 59 秒
转换后的值会叠加
- -1m 5s → -55 秒
负值的叠加也同样有效
5m 3s 1d 3m → 1 天, 3 分钟, 3 秒
在设置时间时,对于任何重复的单位,只有最后一个被找到的值才会实际生效。单位的顺序是任意的。
stop
停止计时器并删除存储的时间值(如果你的时间数据很重要,请谨慎操作)
pause / resume
安全地暂停计时器或从暂停状态恢复
add <timeToAdd>
将指定的时间添加到现有的游戏计时器中。此处的添加时间与 start 命令中使用的语法略有不同,因为这里的重复单位会叠加:
8d 1s 5s 2s → 1 周, 1 天, 8 秒
swap <timeInterval>
将交换间隔设置为给定的时间。重复单位的叠加方式与 add 命令相同。
重要提示:交换基于模运算,这意味着当所选间隔能整除当前时间值时才会发生交换。例如,当计时器为 2 分钟且间隔为 60 秒时,会发生交换。如果你随后将间隔设置为 90 秒(1 分 30 秒),你将在 3 分钟时被交换,无论你何时输入该命令。
Playerswap is an extra difficulty you can add to Minecraft to confuse your friends.
When enabled, all players take on the position, health, hunger, inventory and pretty much anything else of the next player in alphabetial order. It even works while sleeping and riding!
This was inspired by players sending each other their save to continue where the previous player left, and works basically the same - just that you're still in the world together!
Commands can be used to control the mod (it is turned off by default).
All commands are available in "/playerswap".
start [time]
starts the timer and swapping functionality. Optionally, a time can be provided to initialize the timer to a predefined value. The setTime functionality used here works as follows
(value entered into [time] -> time value displayed):
- 1y 1w 1d 1h 1m 1s -> 1 year, 1 week, 1 day, 1 hour, 1 minute, 1 second
(these are all possible units, others won't work)
- 300s -> 5 minutes
units are converted automatically
- -5m -3s -> -5 minutes, -3 seconds
negative values work too
- 1m -1s -> 59 seconds
converted values stack
- -1m 5s -> -55 seconds
stacking also works with negative values
5m 3s 1d 3m -> 1 day, 3 minutes, 3 seconds
specifically when setting the time, only the last found value for any duplicate unit it actually used. Unit order is arbitrary.
stop
stops the timer and deletes stored time value (proceed with caution if your time is important to you)
pause / resume
safely pauses the timer or resumes from paused state
add <timeToAdd>
adds the specified time to the existing game timer. The added time here is slightly different from the time syntax used in start, as here duplicate units will stack:
8d 1s 5s 2s -> 1 week, 1 day, 8 seconds
swap <timeInterval>
sets the time interval between swaps to the given time. Duplicate units stack like in the add command.
IMPORTANT: swapping is based on modular arythmetic, which means swapping will take place when the selected interval perfectly fits into the current time value by a whole number amount. When the timer is at 2 minutes and the interval is 60s, a swap will happen. If you then set the interval to 90s (1m 30s), you will get swapped at 3 minutes, no matter when you entered the command.
评论 0
登录后参与评分
还没有评论,来抢沙发吧