About XRestartUI
XRestartUI - beautiful restart notification UI.
Quote-> In the code you can switch the plugin language - LanguageEnglish = true <-
- Optimization of the interface for different monitor resolutions.
- There is a lang ru/en/uk/es.
- Sound effects.
- There is an automatic restart schedule. [ Any commands can be scheduled ]
- There is a warning N minutes before the start of the restart.
- Logs restart/warnings in the server console.
- Ability to skip restart if more than N players are online.
QuoteThe plugin uses the time format for the schedule - 00:00.
4:55 is wrong! That's right - 04:55.
-> Overview - YouTube <-
Commands
restart <time> <description key from langs> [ If there is no key, then the default description will be used ]
Config
{
"General settings": {
"Use chat messages": true,
"Use UI notifications": true,
"Use GameTip notifications": false,
"Use the tick effect": true,
"Use warning effect": true,
"Tick effect used": "assets/bundled/prefabs/fx/notice/loot.drag.dropsuccess.fx.prefab",
"Warning effect used": "assets/bundled/prefabs/fx/item_unlock.prefab",
"SteamID of the profile for the custom avatar": 0,
"Skip restart if there are more than N players online. [ Restart warnings are disabled ]": false,
"Number of online players - to skip restart": 100
},
"GUI settings": {
"AnchorMin": "0 0.85",
"AnchorMax": "1 0.85",
"OffsetMin": "0 -25",
"OffsetMax": "0 25"
},
"List of unique names(keys) of restart reasons - [ Setting up text in lang ]": [
"M_DEFAULT",
"M_1",
"M_2"
],
"Configuring scheduled restarts [ Any command can be scheduled at any time ]": {
"08:00": "restart 300",
"21:00": "restart 300 M_1"
},
"Setting warnings N minutes before restart": [
60,
45,
30,
15,
10,
5
]
}
