▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
JAwake

JAwake

If you sleep, you die

77
1
Все версииJawake v1.1

Jawake v1.1

Release1 г. назад

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

Version: 1.1

Added:

  • Reload Command (/jreload):

    • A new command to reload the plugin's events and configuration without restarting the server.
    • Command feedback: Displays a success message in green after reloading.
    • Example feedback:
      • "Jawake plugin has been reloaded."
      • "All events have been refreshed."
    • Permissions required: jawake.reload.
  • Stop Command (/jawakestop):

    • Stops the Awake event from triggering by unregistering the event listeners.
    • Command feedback: Displays a red message when the events are stopped.
    • Example feedback:
      • "Jawake plugin events have been stopped."
    • Permissions required: jawake.stop.
  • Start Command (/jawakestart):

    • Re-enables the Awake event by re-registering the event listeners.
    • Sends a title and subtitle to all online players when the event is started:
      • Title: "Danger!!" (Red)
      • Subtitle: "Don't sleep!!" (Yellow)
    • Command feedback: Displays a green message when the events are started.
    • Example feedback:
      • "Jawake plugin events have been started."
    • Permissions required: jawake.start.

Changes:

  • Main Class (Main.java):
    • Added methods to stop and re-enable events dynamically:
      • plugin.reload() re-registers the Awake event listener.
      • stopAwakeEvent() unregisters the PlayerJoinEvent and PlayerBedEnterEvent handlers.
      • Updated onEnable() to initialize and register the Awake event.
    • Registered the new commands /jreload, /jawakestop, and /jawakestart.

plugin.yml:

  • Added command definitions for /jreload, /jawakestop, and /jawakestart.
  • Added permissions for the new commands:
    • jawake.reload (for reloading)
    • jawake.stop (for stopping)
    • jawake.start (for starting)

Файлы

JAwake.jar(1.48 MiB)
Основной
Скачать

Метаданные

Канал релиза

Release

Номер версии

bukkit-1.1

Загрузчики

Bukkit
Paper
Spigot

Версии игры

1.18.2–1.21.1

Загрузок

42

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

1 г. назад

Загрузил

ID версии

Главная