20% OFF

Your first invoice with coupon code TAKE20
GGServers Facebook GGServers Twitter GGServers YouTube GGServers Discord GGServers Instagram GGServers TikTok GGServers Reddit
  1. Home
  2. Multicraft
  3. How to Create Automatic Backups for Your Playerdata

How to Create Automatic Backups for Your Playerdata

This guide will show you how to properly set up automatic backups for your playerdata, which is the folder in your server’s world where all details linked to players are saved, like their inventory or level.

We have a guide here explaining scheduled tasks.

NOTE⚠: The server will keep just the latest three backups. After that, the backups will start getting overwritten, so only the latest three are kept.

You will need to first create a custom command via Multicraft for backing up the playerdata, then set up a scheduled task to run it at a given interval.


Create the Custom Command

To create the custom command, you need to:

  1. Log in to your Multicraft here and stop your server.

  1. Click on Advanced, then Commands.
Commands

  1. Click on Create Command.
Create Command

  1. Set up the new command as shown below, then click on Create.

NOTE⚠: You will have to use builtin:script backupPlayerdata for the run part of the command.

Create New Command

Setting Up the Scheduled Task for the Playerdata Backup

To set up automatic playerdata backups, you need to:

  1. Log in to your Multicraft here and stop your server.

  1. Click on Advanced, then Scheduled Tasks.
Scheduled Tasks

  1. Click on New Task.
New Task

  1. Set up the scheduled task as shown below, and click on Create.
Scheduled Task
Name
  • It will be set to Playerdata_Backup as we can set it to whatever we want.

Status
  • It will be set to Scheduled since we want the task to keep happening.

Scheduled Time
  • You will have to open the Scheduled Time section and move the minute’s bar to five minutes later, so our task will start five minutes from the actual moment.
Scheduled Time

Interval
  • We will set it to one day, so the task is repeated each day at the same hour.

Command
  • The command is set to the Backup_Playerdata command that you created.

Arguments
  • The argument will be blank; there is no need to fill this one.

Run For
  • We want the command to be run for the entire server, so we will set the Server option in this section.

If you find any issues, contact us on live chat or via the ticket system.


❕ Useful Links ❕

Updated on April 5, 2024

Was this article helpful?

Related Articles

Leave a Comment

CAPTCHA ImageChange Image