JAwake v1.1

If you sleep, you die
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!!"
      • Subtitle: "Don't sleep!!"
    • Command feedback: Displays a green message when the events are started.
    • Example feedback:
      • "Jawake plugin events have been started."
    • Permissions required: jawake.start.

  • 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)
EULA: Free EULA
633 Views
6 Downloads
Sep 20, 2024 Published
Sep 22, 2024 Updated
Not yet rated
1.5 MB File size
Game mode
  1. Survival & SMP
Type
  1. World
  1. Minigame
Game mode
  1. Survival
Game mode (legacy)
  1. Survival
Supported software
  1. Bukkit
  1. Spigot
  1. Paper
Supported versions
  1. 1.18
  1. 1.19
  1. 1.20
  1. 1.21
Creator
Recommended for you
#1 BuiltByBit Plugin ~ Protects your server from crash packet exploits ~ Folia Support
5.00 star(s) 141 ratings
4,202 purchases
Create items, blocks, mobs, emojis, and more with automatic resourcepack generation!
5.00 star(s) 53 ratings
3,162 purchases
Protect your server from crash/dupe/packet exploits with the ultimate security fix plugin.
5.00 star(s) 44 ratings
3,089 purchases
High Performance | Customizable | Cross-Version | GeyserMC | Folia Support
4.50 star(s) 71 ratings
2,812 purchases
All-in-one dungeon creator. Create unlimited, timed dungeon experiences with your own builds
4.50 star(s) 72 ratings
2,580 purchases
633 Views
6 Downloads
Sep 20, 2024 Published
Sep 22, 2024 Updated
Not yet rated
1.5 MB File size
Game mode
  1. Survival & SMP
Type
  1. World
  1. Minigame
Game mode
  1. Survival
Game mode (legacy)
  1. Survival
Supported software
  1. Bukkit
  1. Spigot
  1. Paper
Supported versions
  1. 1.18
  1. 1.19
  1. 1.20
  1. 1.21
Creator
Recommended for you
#1 BuiltByBit Plugin ~ Protects your server from crash packet exploits ~ Folia Support
5.00 star(s) 141 ratings
4,202 purchases
Create items, blocks, mobs, emojis, and more with automatic resourcepack generation!
5.00 star(s) 53 ratings
3,162 purchases
Protect your server from crash/dupe/packet exploits with the ultimate security fix plugin.
5.00 star(s) 44 ratings
3,089 purchases
High Performance | Customizable | Cross-Version | GeyserMC | Folia Support
4.50 star(s) 71 ratings
2,812 purchases
All-in-one dungeon creator. Create unlimited, timed dungeon experiences with your own builds
4.50 star(s) 72 ratings
2,580 purchases
Top