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

JS Runner

The plugin aims to add the ability to run JavaScript files in a Minecraft server.

31
0
Все версииJS Runner 1.1

JS Runner 1.1

Release3 мес. назад

Список изменений

New Events

playerCommand
  • Fires when a player executes a command.

  • Commands can be blocked, modified, or redirected.

playerDeath
  • Fires when a player dies.

  • Provides death message and killer information.

New Methods

PlayerCommandWrapper

getPlayerName()

returns the name of the player who typed the command

getCommand()

returns the command

setCommand(newCommand)

replaces the command before execution (the new command must include a "/")

cancel()

cancels the command

PlayerDeathWrapper

getPlayerName()

Returns the name of the player who died.

getUUID()

Returns the UUID of the player who died.

getDeathMessage()

Returns the death message.

getKillerName()

Returns the name of the killer if killed by a player.

Файлы

JSRunner-1.1.jar(35.18 MiB)
Основной
Скачать

Метаданные

Канал релиза

Release

Номер версии

1.1

Загрузчики

Paper

Версии игры

1.21–1.21.11

Загрузок

6

Дата публикации

3 мес. назад

Загрузил

ID версии

Главная