Jump to content

Adding multiple wipe dates

Not a Bug 0.1.4 0.1.5

Daemante
Daemante

Posted

Is it possible to add multiple wipe dates to be displayed; for instance multiple wipes per week.
I tried to format the config in the typical fashion but it just uses default config. 

Daemante

Posted

{
  "ImageLibrary Counter Check": 5,
  "Wipe command": "wipe",
  "Use GameTip for messages?": true,
  "Is it worth displaying the wipe timer only when players in the safe zone or building privilege?": false,
  "When should it start displaying? Based on how many days are left(0 to display always)": 0,
  "Custom wipe date(empty to use default). Format: yyyy-MM-dd HH:mm. Example: 2023-12-10 13:00": [
    "2024-04-15 19:00",
    "2024-04-16 19:00"
  ],
  "Status. Bar - Height": 26,
  "Status. Bar - Order": 10,
  "Status. Background - Color": "#0370A4",
  "Status. Background - Transparency": 0.7,
  "Status. Background - Material(empty to disable)": "",
  "Status. Image - URL": "https://i.imgur.com/FKrFYN5.png",
  "Status. Image - Sprite(empty to use image from URL)": "",
  "Status. Image - Is raw image": false,
  "Status. Image - Color": "#0370A4",
  "Status. Text - Size": 12,
  "Status. Text - Color": "#FFFFFF",
  "Status. Text - Font(https://umod.org/guides/rust/basic-concepts-of-gui#fonts)": "RobotoCondensed-Bold.ttf",
  "Status. SubText - Size": 12,
  "Status. SubText - Color": "#FFFFFF",
  "Status. SubText - Font(https://umod.org/guides/rust/basic-concepts-of-gui#fonts)": "RobotoCondensed-Bold.ttf",
  "Version": {
    "Major": 0,
    "Minor": 0,
    "Patch": 0
  }
}

IIIaKa

Posted

Hello, if I understand correctly, you want to specify a list of dates, including future wipes (in addition to the current one). If so, I'll see what can be done.
Regarding your config file, are you attempting to specify List<string> instead of string.

IIIaKa

Posted

I have added the ability to specify a list of dates.

IIIaKa

Posted

Changed Status from Pending to Not a Bug

IIIaKa

Posted

Changed Fixed In to 0.1.5

Daemante

Posted

Again, thank you for the fast response. Will update and report back.

  • Like 1
Daemante

Posted

Would it be possible to add "every x number of days" to the plugin so that when specifying a date you can also specify when it would reoccur so that you dont need to add a huge list of dates?

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.4k

Files Sold

Total number of files sold.

2m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.