Jump to content

Auto Wipe 1.1.0

$20.00
   (3 reviews)
Message added by Tangerine,

If you encounter any issues with plugins or have any questions, please let me know in plugin support section or on my Discord.

Also, don't forget to leave detailed reviews to inform others about the quality and functionality of the plugins.
Your feedback is valuable and helps improve the overall experience for everyone.

2 Screenshots

  • 11.2k
  • 71
  • 38.52 kB

Works with

About Auto Wipe

Auto Wipe - This plugin allows to schedule regular wipes, including map, blueprint, and data resets. It offers customizable settings for wipe intervals and automated backups to prevent data loss. This plugin will simplify the maintenance process and reduce administrative workload.

What this plugin can do?

  • Create specific wipe schedules for daily, weekly and monthly basis.
  • Wipe oxide(config/data/logs/plugins)/map files.
  • Create backups of data/map files.
  • Send discord wipe message using tool: https://discohook.org/
  • Do files replacements during wipe. (In case if you want to load new config files for new map)
  • Set own startup ConVars such as 'server.seed', 'server.levelurl'.

No additional scripts or harmony mods required, everything plugin based.

How it works?

When the wipe preset schedule is enabled and matched, the plugin sends a restart command. During server startup, it deletes all configured files before they are loaded by other plugins or the server itself and executes all commands from the preset. It is recommended to have software or a batch file that will automatically start the server after shutdown because the "restart" command only shuts down the server without restarting it.

What is cron expression and how do I use it?

A cron expression is a string of characters used to schedule tasks to run at specific times or intervals. It is widely used in Unix-based systems for automating repetitive tasks such as backups, updates, and maintenance.

Structure of a Cron Expression

<second(optional)> <minute> <hour> <day-of-month> <month> <day-of-week>

Each field can contain specific values, ranges, or special characters to define the schedule. Here is a breakdown of each field:

  • Second: 0-59
  • Minute: 0-59
  • Hour: 0-23
  • Day of Month: 1-31
  • Month: 1-12
  • Day of Week: 0-6 (where 0 is Sunday, 1 is Monday and so on)

Special characters which are supported by plugin now

  • * (all): Specifies that the event should happen for every time unit. For example, * in the minute field means "every minute."
  • - (range): Specifies a range of values. For example, 10-12 in the hour field means "10th, 11th, and 12th hours."
  • , (values): Specifies multiple values. For example, 10,12 in the hour field means "10th and 12th hours."
  • / (increments): Specifies incremental values. For example, 5/15 in the minute field means "5, 20, 35, and 50 minutes of an hour."

Examples of Cron Expressions

  • At 12:00 p.m. (noon) every day: "0 12 * * *"
  • Every 15 minutes every day: "0/15 * * * *"
  • Every five minutes starting at 1 p.m. and ending at 1:55 p.m., and then starting at 6 p.m. and ending at 6:55 p.m., every day: "0/5 13,18 * * *"
  • At 9:30 a.m. every Monday to Friday: "30 9 * * 1-5"
     

You can try to use this generator plugin doesn't support all expressions for now, but most of them.

If you need help with setting up your own wipe schedule don't hesitate to ask for support! You can use plugin support section or DM me in Discord: metangerine.

CONFIGURATION

{
  "Wipe restart seconds": 300,
  "Enabled wipe presets": [
    "monthly",
    "biweekly",
    "weekly"
  ],
  "Backup files before wiping them?": false,
  "Discord webhook url": "",
  "Wipe presets": {
    "weekly": {
      "Players enter delay on wipe (prevents players from joining right after wipe)": "00:05:00",
      "Identity/Map files that should be wiped.": [
        ".sav",
        "player.deaths.",
        "player.identities.",
        "player.states.",
        "player.tokens.",
        "sv.files."
      ],
      "Oxide files that should be wiped.": [
        "data\\WIPE\\",
        "config/wipe.json",
        "logs\\"
      ],
      "ConVar commands (executed on server start)": [
        "server.level \"Procedural Map \"",
        "server.seed \"55555\"",
        "server.worldsize \"400\"",
        "server.saveinterval \"300\"",
        "server.levelurl \"\""
      ],
      "Wipe commands (executed on server full load)": [
        "test command here",
        "and another one"
      ],
      "Is wipe preset persistent, if true it won't be auto removed after executed.": true,
      "Cron Wipe schedule": {
        "Cron Expression (Second Minute Hour Day Month Day-Of-Week)": "* 30 15 */7 * 1",
        "Next wipe date": null,
        "Last wipe date": "2025-01-29T15:17:49",
        "Use UTC time? (If false, local time will be used)": false
      },
      "Discord wipe announce message files (data/AAutoWipe/filename.json) (Use: 'https://share.discohook.app/go/j1elnjf1' to get json)": [
        "weeklywipe"
      ],
      "File replacements (SUPPORTS ONLY ZIP)": [
        {
          "Zip source file (Located in data/AAutoWipe/filename.zip)": "filename",
          "Destination (from root folder)": "oxide/"
        }
      ]
    },
    "biweekly": {
      "Players enter delay on wipe (prevents players from joining right after wipe)": "00:05:00",
      "Identity/Map files that should be wiped.": [
        ".sav",
        "player.deaths.",
        "player.identities.",
        "player.states.",
        "player.tokens.",
        "sv.files."
      ],
      "Oxide files that should be wiped.": [
        "data\\WIPE\\",
        "config/wipe.json",
        "logs\\"
      ],
      "ConVar commands (executed on server start)": [
        "server.level \"Procedural Map \"",
        "server.seed \"55555\"",
        "server.worldsize \"400\"",
        "server.saveinterval \"300\"",
        "server.levelurl \"\""
      ],
      "Wipe commands (executed on server full load)": [
        "test command here",
        "and another one"
      ],
      "Is wipe preset persistent, if true it won't be auto removed after executed.": true,
      "Cron Wipe schedule": {
        "Cron Expression (Second Minute Hour Day Month Day-Of-Week)": "* 30 15 */14 * 1",
        "Next wipe date": null,
        "Last wipe date": "2025-01-29T15:17:49",
        "Use UTC time? (If false, local time will be used)": false
      },
      "Discord wipe announce message files (data/AAutoWipe/filename.json) (Use: 'https://share.discohook.app/go/j1elnjf1' to get json)": [
        "weeklywipe"
      ],
      "File replacements (SUPPORTS ONLY ZIP)": [
        {
          "Zip source file (Located in data/AAutoWipe/filename.zip)": "test",
          "Destination (from root folder)": "oxide/"
        }
      ]
    },
    "monthly": {
      "Players enter delay on wipe (prevents players from joining right after wipe)": "00:05:00",
      "Identity/Map files that should be wiped.": [
        ".sav",
        "player.blueprints",
        "player.deaths",
        "player.identities",
        "player.states",
        "player.tokens",
        "sv.files"
      ],
      "Oxide files that should be wiped.": [
        "data/Kits/kits_data.json",
        "data\\wipe\\",
        "config/wipe.json",
        "logs\\"
      ],
      "ConVar commands (executed on server start)": [
        "server.level \"Procedural Map\"",
        "server.seed \"55555\"",
        "server.worldsize \"400\"",
        "server.saveinterval \"300\"",
        "server.levelurl \"\""
      ],
      "Wipe commands (executed on server full load)": [
        "test command here",
        "and another one"
      ],
      "Is wipe preset persistent, if true it won't be auto removed after executed.": true,
      "Cron Wipe schedule": {
        "Cron Expression (Second Minute Hour Day Month Day-Of-Week)": "* 30 15 1-7 * 1",
        "Next wipe date": null,
        "Last wipe date": "2025-01-29T15:17:49",
        "Use UTC time? (If false, local time will be used)": true
      },
      "Discord wipe announce message files (data/AAutoWipe/filename.json) (Use: 'https://share.discohook.app/go/j1elnjf1' to get json)": [
        "monthlywipe"
      ],
      "File replacements (SUPPORTS ONLY ZIP)": [
        {
          "Zip source file (Located in data/AAutoWipe/filename.zip)": "filename",
          "Destination (from root folder)": "oxide/"
        }
      ]
    }
  }
}

COMMANDS

autowipe.run <preset name> - runs auto wipe preset

CONTACTS

Need help or custom plugin for your server?
Contact me using Discord: metangerine

----------------------------------------------------------------------

  • Love 2

User Feedback

1.6m

Downloads

Total number of downloads.

7.5k

Customers

Total customers served.

112.7k

Files Sold

Total number of files sold.

2.3m

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.