About Restart Status
The plugin displays the time until restart in the status bar. Depends on AdvancedStatus plugin.
- The ability to to add and modify any restart plugins;
- The ability to automatically generate code for restart hooks;
- The ability to choose between bar types(TimeCounter and TimeProgressCounter);
- The ability to specify the order of the bar;
- The ability to change the height of the bar;
- The abillity to customize the color and transparency of the background;
- The ability to set a material for the background;
- The ability to switch between CuiRawImageComponent and CuiImageComponent for the image;
- The ability to get images from the local folder(*SERVER*\oxide\data\AdvancedStatus\Images);
- The abillity to set own image and customize the color and transparency of the image;
- The abillity to set sprite instead of the image;
- The ability to customize the color, size and font of the text.
{
"Is it worth generating restart hooks? 0 - disabled, 1 - one-time activation, 2 - always enabled": 2,
"List of restart hooks": [
{
"Hook triggered at the start of a restart": "OnSmoothRestartInit",
"Argument position containing the number of seconds until restart(counting from 0)": 0,
"Hook triggered at the cancellation of a restart": "OnSmoothRestartCancelled"
}
],
"Status. Bar - Type(TimeProgressCounter or TimeCounter)": "TimeCounter",
"Status. Bar - Height": 26,
"Status. Bar - Order": 10,
"Status. Background - Color(Hex or RGBA)": "#E5423F",
"Status. Background - Transparency": 0.7,
"Status. Background - Material(empty to disable)": "",
"Status. Image - Url": "https://i.imgur.com/rAiHloW.png",
"Status. Image - Local(Leave empty to use Image_Url)": "RestartStatus_Restart",
"Status. Image - Sprite(Leave empty to use Image_Local or Image_Url)": "",
"Status. Image - Is raw image": false,
"Status. Image - Color(Hex or RGBA)": "#E5423F",
"Status. Image - Transparency": 1.0,
"Status. Image Outline - Is it worth enabling an outline for the image?": false,
"Status. Image Outline - Color(Hex or RGBA)": "0.1 0.3 0.8 0.9",
"Status. Image Outline - Transparency": 1.0,
"Status. Image Outline - Distance": "0.75 0.75",
"Status. Text - Size": 12,
"Status. Text - Color(Hex or RGBA)": "#FFFFFF",
"Status. Text - Font(https://umod.org/guides/rust/basic-concepts-of-gui#fonts)": "RobotoCondensed-Bold.ttf",
"Status. Text - Offset Horizontal": 0,
"Status. Text Outline - Is it worth enabling an outline for the text?": false,
"Status. Text Outline - Color(Hex or RGBA)": "#000000",
"Status. Text Outline - Transparency": 1.0,
"Status. Text Outline - Distance": "0.75 0.75",
"Status. SubText - Size": 12,
"Status. SubText - Color(Hex or RGBA)": "#FFFFFF",
"Status. SubText - Font": "RobotoCondensed-Bold.ttf",
"Status. SubText Outline - Is it worth enabling an outline for the sub text?": false,
"Status. SubText Outline - Color(Hex or RGBA)": "0.5 0.6 0.7 0.5",
"Status. SubText Outline - Transparency": 1.0,
"Status. SubText Outline - Distance": "0.75 0.75",
"Status. Progress - Background Color(Hex or RGBA)": "1 1 1 0.15",
"Status. Progress - Background Transparency": 0.15,
"Status. Progress - Reverse": true,
"Status. Progress - Color(Hex or RGBA)": "#E5423F",
"Status. Progress - Transparency": 0.7,
"Status. Progress - OffsetMin": "0 0",
"Status. Progress - OffsetMax": "0 0",
"Version": {
"Major": 0,
"Minor": 1,
"Patch": 0
}
}
EN:
{
"MsgText": "RESTART IN"
}
RU:
{
"MsgText": "РЕСТАРТ ЧЕРЕЗ"
}