原创地址XRestartUI – 插件 – Codefling
关于 XRestartUI
XRestartUI – 漂亮的重启通知 UI。
-> 在代码中,您可以切换插件语言 – LanguageEnglish = true <-
– 针对不同显示器分辨率优化界面。
– 有一个 lang ru/en/uk/es。
– 音效。
– 有一个自动重启计划。[ 可以安排任何命令 ]
– 重启开始前 N 分钟出现警告。
– 在服务器控制台中记录重启/警告。
– 如果在线的玩家超过 N 个,则可以跳过重启。
该插件使用计划的时间格式 – 00:00。
4:55 错了!没错 – 04:55。
-> 概述 – YouTube <-
命令
restart <time> <description key from langs> [ If there is no key, then the default description will be used ]
配置
{
"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
]
}
![图片[1]-X重启界面插件 1.0.21-PCI1](https://codefling.com/uploads/monthly_2021_11/111.png.c5a3b47382bd411a4200d17591e9f028.png)
![图片[2]-X重启界面插件 1.0.21-PCI1](https://codefling.com/uploads/monthly_2021_11/222.png.c0d9884684f9e6940576be26b4cc2625.png)
![图片[3]-X重启界面插件 1.0.21-PCI1](https://codefling.com/uploads/monthly_2021_11/333.png.fa35987ec8b46e5d98187f89fe09bb63.png)
![图片[4]-X重启界面插件 1.0.21-PCI1](https://codefling.com/uploads/monthly_2022_04/4443.png.d01a7e9e0bae71e12286364d20809ed1.png)
© 版权声明
文章版权归作者所有,未经允许请勿转载。
THE END


















暂无评论内容