# World Backup System

## Overview

Starting from FateHubCore version 2.1.26, you have the ability to set a world that is automatically reloaded each time the server starts. Please note that enabling this feature requires careful consideration and **taking backups of your world beforehand is strongly recommended**.

## Setup

{% hint style="warning" %}
Note: This will make it so no changes that you make will save while in-game. You must modify the world outside the server and enter it in as defined below.
{% endhint %}

Navigate to your `\plugins\FateHubCore` folder.

Place your desired world file into the FateHubCore folder. *(make sure it's named "world")*

{% embed url="<https://photos.bghddevelopment.com/xda1nh.png>" %}

Delete the `session.lock` and `uid.dat` files to prevent any potential loading issues.

{% embed url="<https://photos.bghddevelopment.com/9pT145.png>" %}

Open the `settings.yml` file located in the FateHubCore folder.

Locate the following section:

```
USEWORLDBACKUPSYSTEM:
  ENABLED: false
  WORLDNAME: world
```

Modify it to:

```
USEWORLDBACKUPSYSTEM:
  ENABLED: true
  WORLDNAME: world
```

{% hint style="info" %}
Note: It is recommended to keep the WORLDNAME as "world", but you can adjust it as needed. If you do modify the world name from the default, make sure to adjust your spawn point within FateHub accordingly.
{% endhint %}

Start and stop the server once. During the first startup, you may encounter some errors, but that is expected.

Upon the next server restart, you should see the following message:

{% embed url="<https://photos.bghddevelopment.com/KfkMt5.png>" %}

This indicates that the world reset feature is successfully enabled and will reload the specified world every time the server starts.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://fatehub.bghddevelopment.com/world-backup-system.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
