# Migration Guide

### What happens when I migrate?

During migration, the following data will be migrated:

* Your Subscription (Basic, Premium, Pro)\
  **Note: that you will need to manually resubscribe after 30 days as we have changed our payment system from Stripe to Paddle.**
* Player Data (names, playtime, first played, last played, etc)
* Player Identifiers (steam, license, discord, etc)
* Actions (commendations, warnings, kicks, and bans)

The following data will **NOT** be migrated:

* Community Settings
* Server Details
* Role Permissions
* Staff Members
* Panel Logs

### 1. Register an Account on the Beta Site

Navigate to the [registration page](https://panel.staffwatch.app/register). You may choose a different email, username, and password if you would like. This will not affect your ability to migrate your community.

<figure><img src="https://1787527057-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mhe-jpAn3WRDBf54pzj%2Fuploads%2F4pfxkMpDHGoCbmprg4m0%2Fimage.png?alt=media&#x26;token=3e110e16-c8c0-4b5b-a010-4f006212617b" alt=""><figcaption></figcaption></figure>

### 2. Login to Your New Account

[Login](https://panel.staffwatch.app/login) to the beta. A verification email will be sent to your inbox.

<figure><img src="https://1787527057-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mhe-jpAn3WRDBf54pzj%2Fuploads%2Ff6UpfaSfzBY3nnR8EoCS%2Fimage.png?alt=media&#x26;token=45e0f303-fc07-4fd9-86a2-d7740f33423e" alt=""><figcaption></figcaption></figure>

### 3. Navigate to the Communities Page

Open the community switcher on the top-left of the page, and click the button labeled *Create Community*. This will bring you to the [communities](https://panel.staffwatch.app/communities) page.

<figure><img src="https://1787527057-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mhe-jpAn3WRDBf54pzj%2Fuploads%2FKPtaREjntF7JcyBkDVWc%2Fimage.png?alt=media&#x26;token=4ed767b1-bb95-47a0-a3ac-627cd63aa937" alt=""><figcaption></figcaption></figure>

### 4. Create a community

Create a new community, you can use the same name as your existing community or choose a new one. This will not affect your ability to migrate.

<figure><img src="https://1787527057-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mhe-jpAn3WRDBf54pzj%2Fuploads%2FoaxCUweofQoCVLdddyop%2Fimage.png?alt=media&#x26;token=e4deeb46-42e4-40bd-ba05-e257c8f81945" alt=""><figcaption></figcaption></figure>

### 5. Switch to your New Community

Open the community switcher, select your newly created community.

<figure><img src="https://1787527057-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mhe-jpAn3WRDBf54pzj%2Fuploads%2Fueyx9hH6npdZ96anUFi0%2Fimage.png?alt=media&#x26;token=50c083ab-ec1c-451c-882f-116645802fa8" alt=""><figcaption></figcaption></figure>

### 6. Retrieve an Server Secret

To prove that you are the owner of the server, you will need to provide the *secret* from one of your servers. Login to [the old site](https://staffwatch.app/servers) and copy the *Server Secret* for any of your servers. **Note: It does not matter what server you choose, player data will be migrated from all servers in your community.**

<figure><img src="https://1787527057-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mhe-jpAn3WRDBf54pzj%2Fuploads%2Fr2U03wucpJt3XffCfxiE%2Fimage.png?alt=media&#x26;token=1e78270c-ca46-4aa7-b8d4-c7fe20909299" alt=""><figcaption></figcaption></figure>

### 6. Start the Migration

To begin the migration process, navigate to the *Manage Community* page on the beta site, enter the *Server Secret* from the old system, and click the start button.

<figure><img src="https://1787527057-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mhe-jpAn3WRDBf54pzj%2Fuploads%2FTgMbTsYhNBZyJaDYErfM%2Fimage.png?alt=media&#x26;token=1117310b-6d56-4b1e-bdb3-7e24e3427a51" alt=""><figcaption></figcaption></figure>

### 7. The Migration is Complete! 🥳

After the migration process is complete (which **may take up to 30 minutes** depending on the size of your community), all of your player data should be available. The migrated data should include player names, identifiers, playtime, first/last played dates, and any recorded staff actions.

<figure><img src="https://1787527057-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mhe-jpAn3WRDBf54pzj%2Fuploads%2FdQuD9HS7AYT9EfBlGosv%2Fimage.png?alt=media&#x26;token=699e8444-be53-462c-acd8-94bbd25f3483" alt=""><figcaption></figcaption></figure>

### 8. Setup your StaffWatch Community

As mentioned at the beginning of this article, only player data is migrated. You will still need to re-configure your community settings, servers, staff members, rules, etc. Additionally you will need to reinstall the [in-game resource](https://docs.staffwatch.app/staffwatch-beta/fivem-resource) and reconfigure the Discord bot.
