Compatibility
Minecraft: Java Edition
1.21.1
1.20.6
1.19.4
1.18.2
1.17.1
1.16.5
Platforms
Creators
Details
Licensed MIT
Published last year
Updated last year
Changelog
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
Awakeevent 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.
- Stops the
-
Start Command (
/jawakestart):- Re-enables the
Awakeevent 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)
- Title:
- Command feedback: Displays a green message when the events are started.
- Example feedback:
"Jawake plugin events have been started."
- Permissions required:
jawake.start.
- Re-enables the
Changes:
- Main Class (
Main.java):- Added methods to stop and re-enable events dynamically:
plugin.reload()re-registers theAwakeevent listener.stopAwakeEvent()unregisters thePlayerJoinEventandPlayerBedEnterEventhandlers.- Updated
onEnable()to initialize and register theAwakeevent.
- Registered the new commands
/jreload,/jawakestop, and/jawakestart.
- Added methods to stop and re-enable events dynamically:
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)
Files
Metadata
Release channel
ReleaseVersion number
bukkit-1.1Loaders
Game versions
1.18.2, 1.19.4, 1.20.6, 1.21.1Downloads
37Publication date
September 22, 2024 at 6:05 PMPublisher

JobLessGod
</> Lead Developer


