擦除状态 0.1.7

擦除状态 0.1.7

擦除状态 0.1.7-PCI1
擦除状态 0.1.7
此内容为付费资源,请付费后查看
10积分
付费资源
已售 2

原创地址擦除状态 – 插件 – Codefling

关于擦除状态

该插件在状态栏中显示距离下一次擦除的时间。依赖于 AdvancedStatus 插件。

 

Ji0XU4D.png

  • 能够显示擦除前的剩余时间:
    • 如果还剩 N 天。可在配置文件中配置;
    • 如果玩家位于安全区建筑物特权区;
  • 用于在服务器擦除手动指定的擦除之间进行选择的选项;
  • 指定柱线顺序的能力;
  • 更改条形高度的能力;
  • 自定义背景颜色透明度的能力;
  • 为背景设置材质的能力;
  • 图像的 CuiRawImageComponent 和 CuiImageComponent 之间切换的能力;
  • 从本地文件夹获取图像的能力 (*SERVER*\oxide\data\AdvancedStatus\Images);
  • 设置自己的图像自定义图像的颜色透明度的能力;
  • 设置 sprite 而不是图像的能力;
  • 能够自定义文本的颜色、大小字体

 

n8420aH.png

  • wipestatus.admin – 提供设置自定义擦除日期的功能。

 

MOEpxmo.png

{
  "Chat command": "wipe",
  "Is it worth enabling GameTips for messages?": true,
  "List of language keys for creating language files": [
    "en"
  ],
  "Is it worth displaying the wipe timer only when players in the safe zone or building privilege?": false,
  "The number of days before the wipe when the status bar will start to display. A value of 0 enables constant display": 0,
  "Status. Bar - Type(TimeProgressCounter or TimeCounter)": "TimeCounter",
  "Status. Bar - Height": 26,
  "Status. Bar - Order": 10,
  "Status. Background - Color(Hex or RGBA)": "#0370A4",
  "Status. Background - Transparency": 0.7,
  "Status. Background - Material(empty to disable)": "",
  "Status. Image - Url": "https://i.imgur.com/FKrFYN5.png",
  "Status. Image - Local(Leave empty to use Image_Url)": "WipeStatus_Wipe",
  "Status. Image - Sprite(Leave empty to use Image_Local or Image_Url)": "",
  "Status. Image - Is raw image": false,
  "Status. Image - Color(Hex or RGBA)": "#0370A4",
  "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)": "#0370A4",
  "Status. Progress - Transparency": 0.7,
  "Status. Progress - OffsetMin": "0 0",
  "Status. Progress - OffsetMax": "0 0",
  "Custom wipe dates list(empty to use default). Format: yyyy-MM-dd HH:mm. Example: 2024-10-25 13:00": [],
  "Version": {
    "Major": 0,
    "Minor": 1,
    "Patch": 8
  }
}

 

DxI83SK.png

EN:
{
  "CmdMainAdmin": "Available admin commands:\n\n<color=#D1CBCB>/wipe</color> <color=#D1AB9A>bar</color> <color=#D1CBCB>*booleanValue*(optional)</color> - Toggle wipe bar visibility\n<color=#D1CBCB>/wipe</color> <color=#D1AB9A>time</color> - Show current time based on server's timezone\n<color=#D1CBCB>/wipe</color> <color=#D1AB9A>add</color> <color=#D1CBCB>*wipeDate* *numberValue*(optional) *numberValue*(optional)</color> - Add a custom wipe date. If two numbers follow the date, wipe dates will be added with that interval, for the given count. Date format: yyyy-MM-dd HH:mm\n<color=#D1CBCB>/wipe</color> <color=#D1AB9A>clear</color> - Clear all custom wipe dates\n\n--------------------------------------------------",
  "CmdMain": "Available commands:\n\n<color=#D1CBCB>/wipe</color> <color=#D1AB9A>bar</color> <color=#D1CBCB>*booleanValue*</color>(optional) - Toggle wipe bar visibility\n\n--------------------------------------------------",
  "BarText": "WIPE IN",
  "CmdServerTime": "Current real server time: {0}",
  "CmdNewDateAdded": "The new date {0} has been successfully added!",
  "CmdNewDateRangeAdded": "The list of dates was successfully added!",
  "CmdNewDateAddFailed": "Invalid format or the date is earlier than the current one. Example: {0}",
  "CmdClearDates": "Custom dates list has been successfully cleared!",
  "CmdBarEnabled": "Displaying the wipe bar is enabled!",
  "CmdBarDisabled": "Displaying the wipe bar is disabled!"
}
RU:
{
  "CmdMainAdmin": "Доступные админ команды:\n\n<color=#D1CBCB>/wipe</color> <color=#D1AB9A>bar</color> <color=#D1CBCB>*булевоеЗначение*(опционально)</color> - Переключение отображения вайп бара\n<color=#D1CBCB>/wipe</color> <color=#D1AB9A>time</color> - Текущее время по часовому поясу сервера\n<color=#D1CBCB>/wipe</color> <color=#D1AB9A>add</color> <color=#D1CBCB>*датаВайпа* *числовоеЗначение*(опционально) *числовоеЗначение*(опционально)</color> - Добавление кастомной даты вайпа. Если после даты указать 2 числа, то вайп даты добавятся с указаным интервалом, указанное кол-во раз. Формат даты: yyyy-MM-dd HH:mm\n<color=#D1CBCB>/wipe</color> <color=#D1AB9A>clear</color> - Очистка всех кастомных дат вайпа\n\n--------------------------------------------------",
  "CmdMain": "Доступные команды:\n\n<color=#D1CBCB>/wipe</color> <color=#D1AB9A>bar</color> <color=#D1CBCB>*булевоеЗначение*</color>(опционально) - Переключение отображения вайп бара\n\n--------------------------------------------------",
  "BarText": "ВАЙП ЧЕРЕЗ",
  "CmdServerTime": "Текущее реальное серверное время: {0}",
  "CmdNewDateAdded": "Новая дата {0} успешно добавлена!",
  "CmdNewDateRangeAdded": "Список дат был успешно добавлен!",
  "CmdNewDateAddFailed": "Не верный формат или дата меньше текущей. Пример: {0}",
  "CmdClearDates": "Список дат был успешно очищен!",
  "CmdBarEnabled": "Отображение вайп бара включено!",
  "CmdBarDisabled": "Отображение вайп бара выключено!"
}

 

OxWiTBA.png

  • bar – 启用禁用个人 bar 显示。
  • time – 显示服务器上的实时时间。有时服务器的时区可能与预期的时区不同。需要 “wipestatus.admin” 权限。
  • add – 添加新的擦除日期。格式:yyyy-MM-dd HH:mm。需要 “wipestatus.admin” 权限。
    • 如果再添加 2 个参数,则可以一次指定擦除日期列表。第一个参数 (数字) 是日期的偏移量 (天),第二个参数 (数字) 是出现次数
  • clear – 清除日期列表。需要 “wipestatus.admin” 权限。

例:

  • /wipe 添加 “2023-12-28 15:16”
  • /wipe add “2024-07-16 19:00” 7 20 – 从日期 2024-07-16 19:00 开始,将增加 7 天 20 次

 

© 版权声明
THE END
喜欢就支持一下吧
点赞15 分享
评论 抢沙发

请登录后发表评论

    暂无评论内容