[1.8.8 - 1.21.4] UltimateAutoRestart - Need an autorestart plugin? Grab the best one today icon

[1.8.8 - 1.21.4] UltimateAutoRestart - Need an autorestart plugin? Grab the best one today -----

[Supports Velocity & Bungee commands] The most powerful and versatile autorestart plugin available.




• Addition: Support for 1.21.4
• Change: Internal improvements to the Update Handler
• Change: Internal improvements to the Debug Handler

If you are enjoying the plugin, please take some time to leave a review. They are greatly appreciated!
----------, Dec 18, 2024

• Fix: Fixed error with sounds that would not allow commands to execute.

If you are enjoying the plugin, please take some time to leave a review. They are greatly appreciated!
----------, Nov 28, 2024

• Addition: Support for version 1.21.3.

If you are enjoying the plugin, please take some time to leave a review. They are greatly appreciated!
----------, Nov 25, 2024

• Fix: Fixed error when using SERVER_RESTART_COUNTDOWN and SERVER_FORCED_RESTART webhooks with the free version of the resource.
• Fix: Fixed update links going to the free version of the resource page while the premium version is installed.

If you are enjoying the plugin, please take some time to leave a review. They are greatly appreciated!
----------, Jul 24, 2024

• Addition: Support for 1.21.

If you are enjoying the plugin, please take some time to leave a review. They are greatly appreciated!
----------, Jun 22, 2024

• Addition: Support for 1.20.5, 1.20.6 and Folia.

If you are enjoying the plugin, please take some time to leave a review. They are greatly appreciated!
----------, Jun 11, 2024

• Addition: New placeholder for the force restart webhook {REASON}.
• Fix: New webhooks not firing on the actual event but only with the debug command.
• Fix: Improved update checker functionality.

If you are enjoying the plugin, please take some time to leave a review. They are greatly appreciated!
----------, Mar 2, 2024

• Hotfix: Timestamp placeholder not working for all previous configurations, causing the plugin not to boot properly.

If you are enjoying the plugin, please take some time to leave a review. They are greatly appreciated!
----------, Feb 11, 2024

• Fix: {TIMESTAMP} placeholder not working for all webhook text fields.

If you are enjoying the plugin, please take some time to leave a review. They are greatly appreciated!
----------, Feb 11, 2024

• Addition: Added new webhooks "SERVER_RESTART_COUNTDOWN" and "SERVER_FORCED_RESTART" as well as new placeholders you can now use in webhooks which are {FORMATTED} and {SECONDS} which returns the time till the restart either formatted or in seconds.

If you are enjoying the plugin, please take some time to leave a review. They are greatly appreciated!
----------, Feb 5, 2024

• Addition: Support for version 1.20.4.

If you are enjoying the plugin, please take some time to leave a review. They are greatly appreciated!
----------, Dec 11, 2023

• Addition: Support for 1.20.2

If you are enjoying the plugin, please take some time to leave a review. They are greatly appreciated!
----------, Nov 9, 2023

• Hotfix: Removed unfinished timezone feature that was causing errors. Sorry for any inconvenience caused.
----------, Jun 20, 2023

• Addition: Support for 1.20 (1.20.1 too)

If you are enjoying the plugin, please take some time to leave a review. They are greatly appreciated!
----------, Jun 20, 2023

• Fix: Day-specific proxy commands not always executing.
• Addition: 1.19.4 Support.

If you are enjoying the plugin, please take some time to leave a review. They are greatly appreciated!
----------, Mar 20, 2023

• Addition: 1.19.1 Support.

If you are enjoying the plugin, please take some time to leave a review. They are greatly appreciated!
----------, Jul 28, 2022

• Addition: Support for 1.19.
• Addition: You can now define a reason when forcing a restart (e.g uar now 60 Updating Plugins sorry xdxd). New messages/sounds are COMMAND_FORCE_RESTART_GLOBAL_WITH_REASON and COMMAND_FORCE_RESTART_WITH_REASON.
• Addition: New placeholder for COMMAND_FORCE_RESTART_GLOBAL and COMMAND_FORCE_RESTART_GLOBAL_WITH_REASON. The placeholder is {1} and it'll show the name of the administrator that forced the restart.

If you are enjoying the plugin, please take some time to leave a review. They are greatly appreciated!
----------, Jun 8, 2022

• Fix: Weird formatting for console messages.
• Fix: Sound intervals not working correctly.
• Fix: Secured messaging channels for both UARBP and UARVP, make sure to update.

If you are enjoying the plugin, please take some time to leave a review. They are greatly appreciated!
----------, Mar 31, 2022

• Addition: Support for 1.18.2.
• Addition: Option to strip colors from console messages.

If you are enjoying the plugin, please take some time to leave a review. They are greatly appreciated!
----------, Mar 13, 2022

• Fix: Webhooks not supporting UTF-8 encoding.

If you are enjoying the plugin, please take some time to leave a review. They are greatly appreciated!
----------, Feb 27, 2022

• Fix: Patch to fix Spigot's SnakeYAML comment spam issue.

If you are enjoying the plugin, please take some time to leave a review. They are greatly appreciated!
----------, Feb 25, 2022

READ ME:
• Change: Find new permissions here. Populated plugins.yml with permissions, which allows for plugins like LuckPerms to properly tab-complete permissions.

If you are enjoying the plugin, please take some time to leave a review. They are greatly appreciated!
----------, Feb 12, 2022

• Hotfix: Not being able to delete webhook fields.

If you are enjoying the plugin, please take some time to leave a review. They are greatly appreciated!
----------, Feb 5, 2022

• Hotfix: Webhooks not loading in correctly.

If you are enjoying the plugin, please take some time to leave a review. They are greatly appreciated!
----------, Jan 31, 2022

• Hotfix: Configuration sections resetting when they shouldn't.

If you are enjoying the plugin, please take some time to leave a review. They are greatly appreciated!
----------, Jan 30, 2022

• Hotfix: Menu showing when executing some commands.
• Hotfix: Menu not showing when executing unknown commands.

If you are enjoying the plugin, please take some time to leave a review. They are greatly appreciated!
----------, Jan 30, 2022

• Fix: Users without permissions able to view tab completions for UAR.
• Addition: Menu improvements (clickable commands, etc.)
• API: API has been overhauled entirely (some fixes too), check here.

If you are enjoying the plugin, please take some time to leave a review. They are greatly appreciated!
----------, Jan 29, 2022

• Fix: Unable to add/remove embed fields for webhooks.
• Fix: Missing tab complete for delay command.
• Fix: SERVER_BACK_UP webhook not working.
• Addition: Debug command to test webhooks (/ar debug). Check wiki for more info.

If you are enjoying the plugin, please take some time to leave a review. They are greatly appreciated!
----------, Jan 19, 2022

• Addition: Fallback server feature for UARBP (disabled by default).
• Change [API]: UAR's API is now available for Maven/Gradle, etc. Check main thread.
• Change [API]: Previous UltimateAutoRestartDelayEvent is now called UltimateAutoRestartAutoDelayEvent which is fired when the restart gets automatically delayed due to online players.
• Change [API]: New UltimateAutoRestartDelayEvent which is fired whenever the delay command is used.

If you are enjoying the plugin, please take some time to leave a review. They are greatly appreciated!
----------, Jan 15, 2022

I would like to thank every one of you for using UltimateAutoRestart and making it the top restart plugin available! I have released a plus version which you can grab for just 2.5€ if you would like to support the development of UltimateAutoRestart.

• Fix:
Invalid behavior when there is just one restart entry with past time.
• Fix: Issue with seconds to formatted string conversion.
• Fix: {PREFIX} placeholder not working for a console message.
• Addition: New "ar delay <interval>" command (check wiki for full info).
• Addition: You can now use "HOUR:MINUTE" format in "ar now" and "ar delay" commands. Example: "ar now 3:0" will set the restart in three hours.
• Addition: Send discord webhooks on server restarts/boot (webhook.yml)

If you are enjoying the plugin, please take some time to leave a review. They are greatly appreciated!
----------, Jan 14, 2022

Disclaimer: By the time of this update, the latest 1.18 builds are buggy and are breaking plugins. If you get an error message on startup, please do not open tickets or request support as I cannot do anything about it.

• Fix:
Gradients not working properly in actionbars/titles.
• Addition: Prefix option in messages.yml ({PREFIX} placeholder)
• Other: Reworked default configurations/console messages.
• Other: Updated Maven dependencies.

If you are enjoying the plugin, please take some time to leave a review. They are greatly appreciated!
----------, Dec 5, 2021

• Addition: 1.18 server support.
• Other: Moved all dependencies to Maven.

If you are enjoying the plugin, please take some time to leave a review. They are greatly appreciated!
----------, Dec 3, 2021

• Fix: Gradients working correctly in messages.

If you are enjoying the plugin, please take some time to leave a review. They are greatly appreciated!
----------, Nov 25, 2021

• Addition: New "centered" option in messages.yml for chat messages. Please note that messages will not always be fully centered as resource packs with custom fonts can have an effect.

If you are enjoying the plugin, please take some time to leave a review. They are greatly appreciated!
----------, Oct 11, 2021

• Fix: Removed forgotten color codes for some console messages
• Addition: You can now add "day tags" to commands which let you add day-specific command execution. Read more about it here.
• Other: Changed the way tab-completion commands work, the aliases for UAR are now dynamic. Removing one from plugin.yml will also remove them from tab-completion.

If you are enjoying the plugin, please take some time to leave a review. They are greatly appreciated!
----------, Oct 6, 2021

Read the updates notes or the plugin will break if you use proxy commands.

Addition: Support for Velocity, find the passthrough plugin here.
Change: Command formats for bungee have been changed in order to reflect the update that adds support for velocity (information on the wiki has also been updated). You need to manually change all of the following bungee command formats to the following:
Code (Text):
- [bungee] to [proxy]
- [bungee:x] to [proxy:x]
- [bungeedelay:x] to [proxydelay:x]
This update has been kindly sponsored by Lunar, check out their server at mc.cosmicsurvival.com!
----------, Sep 8, 2021

Fix: Forgotten debug message on startup.
Addition: You can now use "Daily" in the week of the day section of restart entries which lets you easily schedule daily restarts. Example "Daily;05;00" will restart daily at 5 AM.
----------, Aug 30, 2021

Please read the update notes to fully understand the new feature.

Fix: Missing ar stop from tab complete.
Addition: New command type (bungeedelay:<delay in seconds>), which schedules commands to be executed on the proxy itself. Those commands can only be used in restartCommands and sent on the proxy to be queued for execution when the server restarts. You can now basically run bungee commands without the need of an online player on x server (which is just the stupid way messaging channels work). There's an example in the default configuration. You need to update UltimateAutoRestartBungeePassthrough too!
Addition (API): You can now get the restart delay in seconds from UltimateAutoRestartDelayedEvent with e.getTimeDelayedInSeconds.
----------, Aug 9, 2021

Hotfix: Error when removing all restart schedules and reloading the plugin.
Other: Ever since the big update (Build 44) which changed the configuration structure of the whole plugin, the translation files are no longer applicable. It would take me too much time to manually replace each message for 10+ languages as well as issues as there are new messages and I don't really trust Google Translate. If you're speaking any of the translated languages and would be kind enough to spend 10 minutes translating the new messages file, please DM me.

(I would like to point out that I'm aware that these updates are really small but such issues frequently pop up and not at the same time. I would rather release quick hotfixes than wait in order to fix them all in a bigger update. Thanks for understanding.)
----------, Jun 27, 2021

Hotfix: Fixed & added back custom events (only for devs).
Hotfix: Global restart-delay message not working.
----------, Jun 19, 2021

Hotfix: Temporarily removed custom event calls as they seem to be bugging out on 1.17 and causing issues, sorry for any inconvenience.
Hotfix: Intervals not being formatted for force restart messages.
----------, Jun 19, 2021

NOTE: Please read the update notes so that you are aware of all the changes. This update overhauls most of the plugin therefore a configuration reset is required.

Fix:
Special characters not working in messages.
Fix: Colors not showing in console messages.
Fix: Update notification settings not being saved after ar reload.

Addition: 1.17 support.
Addition: Separate configuration file for sounds & messages, each command and event now has their own sound, message section. You can also fully customize sounds (volume, pitch) and messages as well (chat, actionbar, title).
Addition: Tab completion for UAR commands.
Addition: Clickable wiki link in the plugin's menu.
Addition: Use any PAPI placeholders in UAR's messages.
Addition: API events (check the wiki).

Change: Invalid entries will now be mentioned in the console.
Change: Wrong sound messages are now clearer and will only display 3 times (to prevent spam).
Change: Update notifications are now clickable links in-game.
----------, Jun 19, 2021

Hotfix: Issue where you couldn't use special chat characters (&l, &k, &o, etc.) when using RGB in messages.
----------, Jun 12, 2021

Addition: RGB color support for messages (check wiki).
Addition: Message showing to all online players when "ar stop" is used.
Change: Changed main command from autorestart to ultimateautorestart due to some incompatibilities with other plugins (to remove aliases, edit plugin.yml).
----------, Mar 31, 2021

Fix: Possible fix for a rare error that can happen after using the reload command.
Change: Players without permissions will now view the restart time even if using arguments for the command (previously only "/ar").
----------, Mar 17, 2021

Addition: You can now use the $last placeholder in interval request messages to display how long ago the server was last restarted (applies to both /ar for users, and /ar time for admins)
Addition: PlaceholderAPI placeholders for the above, %ultimateautorestart_last_seconds% and %ultimateautorestart_last_formatted%.
----------, Feb 3, 2021

Fix: An issue that would break plugin functionality if there were no restarts scheduled but a manual one was started via /ar now.
Fix: Removed some forgotten debug messages for timed commands.
----------, Jan 27, 2021

Change: UltimateAutoRestart no longer uses an async bukkit runnable, but an independent timer (which means, the task will not be affected by TPS. Pretty much meaning that restarts will not be delayed anymore if your server has bad performance or lag spikes).
Change: Caching more data instead of accessing the configuration in order to grab values.
Change: Removed the intervalTicks configuration option as it is no longer required.
----------, Jan 17, 2021

Change: The placeholders will now also show days if the hours are above 24+.
----------, Dec 23, 2020

Fix: Just a small fix that addresses the extra space at the end when there's only minutes in the countdown. This update is optional and only needed if you want the formatting to be nice(r).
----------, Oct 28, 2020

Build 40b changelog:
Addition:
Configurations will now be automatically updated.
Fix: Fixed an issue with seconds, restarts should now happen with accuracy down to the second.
----------, Oct 25, 2020

Build 40a changelog:
Fix:
Fixed actionbar messages not working on 1.16.x servers.
----------, Jun 28, 2020

Build 40 changelog (config.yml additions required):
Addition:
Added the ability to modify the interval ticks for the restart interval task. Edit this only if your server is having issues with lag.
Change: The reload command will now refresh restart entries & set new intervals.
Change: Changed startup message of the plugin to one line.

Configuration Additions:
Code (Text):
# Do not change this if you don't know what you're doing.
# Changing this will require you to modify timed commands, messages and sounds with values that are of the seconds (from ticks) multiplier. Example: intervalTicks = 40, will force you to use multipliers of 2 only.
# Example: Changing this to 200 will make the interval go down by 10 every 10 seconds (instead of 1 every 1 second).
other:
   intervalTicks: 20
----------, Jun 27, 2020

Build 38 changelog (config.yml additions below):
Addition:
You can now add a check for <configurable seconds> before the restart to check if <configurable amount> players are online at the time and then delay the restart by <configurable seconds>.

Configuration Additions:
Code (Text):
# delayRestart Notes:
# 1. Enabling this sytem will check <configurable time> seconds before restart if there are <x> players online, if there are it'll delay the restart by <configurable time> seconds.
# 2. minimumPlayers: 10 ---> This means that if there are 10 or more players online it'll delay the restart.
# 3. MAKE SURE THAT YOUR checkSecondsBeforeRestart AND delaybySeconds VALUES DO NOT INTERFERE WITH restartCommands ENTRIES!
# 4. informUsersWithPermission ---> Whether or not to send a message to users with "uar.notifydelay" that a delay happened.

delayRestart:
   enabled: true
   checkSecondsBeforeRestart: 30
   minimumPlayers: 1
   delayBySeconds: 600
   informUsersWithPermission: true
   delayNotification:
   - '&7[UltimateAutoRestart] The restart has been delayed due to exceeding the online players threshold!'
----------, Jun 3, 2020

Build 37d changelog:
Fix:
Fixed an issue where the placeholders wouldn't show in various places where the player object is null (such as the MOTD).
----------, Jun 2, 2020

Build 37c changelog:
Fix: Fixed an issue where "/ar now <value>" would obtain a decreased value causing any commands at the exact set time value not to run.
----------, May 30, 2020

Build 37b changelog:
Fix:
Fixed the $interval placeholder not working for actionbars in /ar.
----------, May 9, 2020

Build 37a changelog (optional update):
Addition:
As per many requests, you can now also use "24;00" when creating restart entries.
----------, May 5, 2020

Fixed an issue where various browsers/antiviruses would flag the plugin as malicious. This happened due to obfuscation, no need to be alarmed.
----------, Apr 15, 2020

Build 37 Changelog (requires config.yml additions):

Addition: You can now configure commands to be run x seconds after the server booted. Please note that those commands can only be timed ones and therefore need to follow the interval-based command format.
Fix: Fixed the possibility of an NPE regarding the update checker.

Configuration additions:
Code (Text):
settings:
   commandsAfterReboot:
   - '[time:15] broadcast this will execute 15 seconds after server startup'
   - '[bungee:30] command to be executed via bungee 30 seconds after server startup'
----------, Feb 25, 2020

Build 36c Changelog (Small Patch):

Fix: The reload command will now re-cache restart commands and a bunch of other configuration values that should refresh when reloading.
Fix: Fixed a small color error within the version message.

Other: @BGHDDevelopment made a nice showcase/tutorial on the resource, check it out here!
----------, Feb 2, 2020

Build 36b Changelog:

Hotfix: This fixes an async command execution error that pops on some forks of older versions of Spigot.
----------, Jan 27, 2020

Build 36 Changelog (Look at the bottom for config.yml additions):

Addition:
You can now create interval-based commands (execute x seconds before restart). (e.g '[time:10] time set day' will set the time to day 10 seconds before the restart).
Addition: You can now create interval-based bungee commands. (e.g '[bungee:5] send skyblock lobby', will send skyblock players to the lobby 5 seconds before the restart).
Addition: Added update notifications toggle in config.yml
Change: Changed update notifications format.

Config Additions:
Code (Text):
updates:
   notifications: true
----------, Jan 27, 2020

Build 35 changelog:
  • You can now run bungee commands, the passthrough plugin is required to be installed on your bungee server in order for this to work. Read through the resource page to find out how to use this new feature, there's also a detailed example in the default configuration.
  • There is now a 3 second delay between each bukkit command, this change has been made so bungee has time to react in case you have bungee commands configured.
  • The actionbar handler has been changed to a more efficient one.
----------, Jan 16, 2020

Build 34 changelog:
  • Removed some old and obsolete code that would rarely cause a nullpointer when using the "/ar now" command.
  • Removed the configuration section where you can edit the ticks of the task, this is no longer needed because the new system (from Build 31) fixes everything related to ticks.
----------, Jan 1, 2020

Build 33 changelog: RESET YOUR CONFIGURATION FOR THIS UPDATE.
  • Completely recoded the reboot tasks, there are no longer interval reboots or specific reboots but reboot entries that allow you to create infinite entries for a specific day, hour and minute (e.g "Friday;23;00").
  • Revamped most of the configuration, all default messages are now much cleaner. Useful notes have been added to the configuration as well.
  • Fixed an issue that would not parse chat colors in the "requestWhileNoAutoReboot" string.
  • Placeholders in the configuration have been changed to cleaner format (%interval% to $interval).
----------, Dec 27, 2019

Build 32 changelog:
  • As per request, I have added the ability to play sounds at specific intervals. Just add the code below to your configuration section. Make sure to use sound names that are appropriate for your server version.
  • Fixed a small formatting error in the version check message.
Code (Text):
settings:
   soundsEnabled: true
   sound: ENTITY_PLAYER_LEVELUP
   soundAtIntervals:
   - '18000'
   - '14400'
   - '10800'
   - '7200'
   - '3600'
   - '1800'
   - '900'
   - '600'
   - '60'
   - '50'
   - '45'
   - '30'
   - '5'
   - '4'
   - '3'
   - '2'
   - '1'
----------, Dec 23, 2019

Build 31 changelog:
  • Replaced the old/deprecated task handler with a new one, which is much more efficient and should solve the rare timer issues on earlier builds.
  • You can no longer edit the version message, instead, you get a much more informative message.
  • Added "/uar", "ultimateautorestart" aliases.
----------, Dec 19, 2019

Build 30 Changelog:
  • Fixed an issue with Spigot's old update check API. You will no longer receive false update messages.
----------, Dec 3, 2019

Build 29 Changelog:
  • You can now use /ar version to check which version you're running on.
    • A new permission has been added (uar.version)
    • Add the following code to your configuration.
    • Code (Text):
         versionCheck:
         - ''
         - '&eUltimateAutoRestart is running on &a&n%version%&r&e!'
         - ''
  • If there is an update available it'll send a message to the console as well as a message to opped players when they join the server.
----------, Dec 3, 2019

- Added an option that allows you to change the countdown speed by modifying the task's ticks.

Note: (Add to configuration or this update will not work)
Code (Text):
# The ticks option will either decrease the cooldown quicker or faster, edit this value only if your server makes the
# counter go down really quick or really slow. 20 Ticks = 1 Second

patches:
   ticks: 20
 
----------, Sep 25, 2019

- Fixes an issue that would force a space between hours/minutes/seconds in the interval format.
----------, Sep 7, 2019

- Fixes an issue that would not start an interval if a specific restart time was set to a time later than the current time.
- Fixes an issue that would not display the interval seconds in the console debug message when using the specific restart option.
----------, Sep 6, 2019

- You can now translate the interval format again.
----------, Sep 3, 2019

- You can now set a specific time of day for the restarts.
- Fixed an issue with /ar time when used from the console.

# You can choose between autoReboot and specificReboot, having them both enabled will cause issues
# specificDailyRebootAt follows this format -> hour;minute

Note: For this update to work add the following to your configuration:

Code (Text):

   specificDailyReboot: true
   specificDailyRebootAt: 19;30
 
----------, Aug 31, 2019

You can now delay the autoreboot task on server startup.

For this update to work you must add the following to your configuration:

Code (Text):
   autoRebootStartupDelay: 2
Note: The value must be a positive integer and is in seconds.
----------, Aug 23, 2019

- You can now customize how the cooldown appears.

Note: Add the following to your config.yml or else this update will not work.

Code (Text):
format:
   seconds: 's '
   second: 's '
   minutes: 'm '
   minute: 'm '
   hours: 'h '
   hour: 'h '
   splitter: 'and '
----------, Jul 21, 2019

- This update adds a better time conversion system, commas (,) will no longer display when there's no following time.
----------, Jul 12, 2019

- bStats Metrics have been added back.
- You can now toggle detailed startup information.

Add the following to your config.yml or let it re-generate:
Code (Text):
other:
   detailedStartup: true
----------, Jun 24, 2019

- Fixes a PlaceholderAPI issue that would make placeholders not work correctly.
----------, May 17, 2019

- Fixes restart commands not being run correctly
- Fixes config entries
----------, May 12, 2019

- Updated to PAPI's new placeholder system.
- Reworked most of the code.
----------, May 11, 2019

v1.6
FIX:
Fixes the interval placeholder not updating sometimes when using /ar time
FIX: Fixes the /ar stop command not working at times
----------, Apr 14, 2019

v1.5
Code (Text):
- FIX: Fixed the reload message not showing when reloading
----------, Feb 7, 2019

v1.4
Code (Text):
ADDITION: Administrators can now use /autorestart time to view the interval.
CHANGE: The menu message is no longer customizable.
FIX: Fixes a value caching issue that would display the interval as "n/a" while it's running.
----------, Jan 30, 2019

v1.3
Code (Text):
ADDITION/FIX: You can now use /ar now <interval> when autoReboot is set to false or true.
----------, Jan 30, 2019

v1.2
Code (Text):
ADDITION: You can now use /autorestart stop to stop the auto-reboot from happening.
Permission Node: 'uar.stop'
 
----------, Jan 29, 2019

v1.1
Code (Text):
FIX: Fixes the interval not starting if it was forced while the autoReboot option was set to false.
----------, Jan 28, 2019

Resource Information
Author:
----------
Total Downloads: 123,792
First Release: Jan 28, 2019
Last Update: Dec 18, 2024
Category: ---------------
All-Time Rating:
151 ratings
Find more info at norska.dev...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings