Restart Countdown

Restart Countdown 1.3.0

Shows a countdown ui when a server restart is scheduled


This plugin shows a countdown ui when an admin triggers a server restart using the restart command. Players will see a timer and progress bar so they know exactly when the restart will happen. If the restart is canceled, the countdown disappears automatically.

Recommended Plugins

Commands

  • restart.cancel - Cancels the currently active restart.

Configuration

JSON:
{
  "Version": "1.2.0",
  "Seconds Before Restart To Show Ui Countdown": 30.0,
  "Enable Automatic Restarts": false,
  "Auto Restart After Seconds": 21600.0,
  "Restart Delay Seconds": 300,
  "Ui": {
    "Header Text": "Server Restarting Soon",
    "Header Text Color": "#FFF5D2",
    "Timer Text Color": "#FFF5D2",
    "Progress Background Color": "#3A3A03",
    "Progress Background Border Color": "#191902",
    "Progress Fill Color": "#D2C811"
  }
}
  • Seconds Before Restart To Show Ui Countdown - Controls how many seconds before the restart the ui becomes visible. If set to 0, the ui will never appear. If set to a value greater than the restart time, the ui will be displayed immediately and last until the restart.
  • Enable Automatic Restarts - If enabled, the plugin will schedule an automatic server restart once the server has been running for the specified time.
  • Auto Restart After Seconds - Determines how many seconds after server initialization the automatic restart should be triggered.
  • Restart Delay Seconds - The number of seconds the server will wait once the restart command is issued.
  • Ui- Contains settings for the restart countdown ui.
    • Header Text - The text displayed at the top of the ui.
    • Header Text Color - The color of the header text.
    • Timer Text Color - The color of the countdown timer text.
    • Progress Background Color - The background color of the progress bar.
    • Progress Background Border Color - The border color of the progress bar.
    • Progress Fill Color - The color of the progress bar as it fills up.
Author
VisEntities
License duration
Unlimited
Price
5.00 USD
First release
Last update

Ratings

0.00 star(s) 0 reviews

Also by VisEntities

  • Armory
    Armory
    Gives players instant access to a box with unlimited supplies
  • Fallen Tree Remains
    Fallen Tree Remains
    Leaves a dead log and stump after a tree is cut down, which can also be harvested
  • Auto Catapult Feeder
    Auto Catapult Feeder
    Automatically refills catapults with ammo from a linked stash

Latest updates

  1. 1.3.0

    Added restart.cancel console command that lets you interrupt any ongoing restart. Remaining time...
  2. 1.2.0

    Added optional automatic restart scheduling.
  3. 1.1.0

    Added a new setting to configure how many seconds before a restart the ui appears.
Back
Top
Chat commands start with a /, while console commands can be entered directly in the F1 console or server console. Use find <keyword> in console to search for available commands related to the plugin. Parameters in < > are required, while [ ] are optional.
This plugin uses Oxide's permission system. Grant or revoke permissions using oxide.grant and oxide.revoke. You can assign them to individual players or groups using their Steam id or group name.
Settings are stored in the config file found under the config/ directory. You can edit this file manually, then reload the plugin to apply your changes.
Persistent data is saved in the data/ directory. This includes things like saved settings, usage stats, or player progress depending on the plugin. Deleting a data file will reset stored progress or customizations.
Language files are located in the lang/ folder. To translate messages, copy the en.json file into your target language folder (e.g. fr, de) and edit the values. Reload the plugin after changes to apply new messages.
This section lists public methods exposed by the plugin for use in other plugins. You can call these via the CallHook method. Make sure the plugin is loaded before calling its API to avoid null reference errors.
These are custom hooks that other plugins can listen for. Simply define a method with the same name and expected parameters in your plugin to handle the event. Hooks are triggered at key moments and are useful for extending or reacting to plugin behavior.
These hooks are injected into the game's code using Harmony. They let the plugin run code at key points in the game's internal logic. You can return values to block or modify behavior. Use with caution — these are powerful and can affect core mechanics.
Cart