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

playerswap

Playerswap teleports you into another player's shoes at regular intervals.

424
0

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

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

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.

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

Minecraft: Java Edition

1.21.x

Платформы

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

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

Детали

Лицензия:MIT
Опубликован:5 месяцев назад
Обновлён:2 недели назад
Главная