How To Reset A Setup
This guide will explain how to completely reset all the player data in the setup. This way, you can reset your setup, while keeping all of the configs changes you have made.
Last updated
This guide will explain how to completely reset all the player data in the setup. This way, you can reset your setup, while keeping all of the configs changes you have made.
Last updated
Difficulty: Easy
To reset a setup, you basically have to delete all of the player data file. This guide will explain which playerdata files are most important to delete, and where you can find them.
Step 1 is always to stop your server. This will make sure no data corruption will happen.
First you should reset all of the world playerdata. All of the world folders has a folder named playerdata. This folder is where all the playerdata for the worlds are stored. Mainly you have to delete the playerdata for the main world on your server. In our setups, the main world is typically spawn or playworld. The main world playerdata is where the items in players inventories are stored. But delete the playerdata folder in all of the world folders, just to make sure.
Now you have to reset all the playerdata in each of the plugins. Most of the plugins in the setup has some playerdata stored, which you should delete to completely reset your server. Go through the plugin folders on your server 1 by 1 and delete the playerdata files. These typically has any of these names: data, playerdata, storage, userdata, users etc
If you are a bit unsure about this step, you can also just delete the playerdata from the most important plugins. Below are the files/folders which you must delete to reset the setup:
plugins > Essentials > userdata
plugins > CoinsEngine > data.db
plugins > AuraSkills > userdata
plugins > GriefPreventionData > PlayerData
plugins > Jobs > jobs.sqlite
plugins > Minepacks > backpack.db
plugins > PlayerAuctions > data
plugins > Quests > playerdata
plugins > Skript > scripts > variables.csv
LuckPerms stores the plugin's data along with all the plugin config data. This means that there is no file to delete to reset the playerdata. Instead you should delete the luckperms-h2-v2.mv.db file in the LuckPerms plugin folder, and then replace that file with the same file from the latest version of the setup.
The leaderboards in our setups are made with the ajLeaderboards plugin. You can reset all of the leaderboards in our setups with the command below.
If you want to completely reset your server, you should reset all of the worlds aswell. These are the worlds you would want to reset: playworld, playworld_nether, playworld_the_end, mining. Not all setups has all of these worlds.
You can delete these worlds by deleting their world folders. Then you can recreate them again with these commands when your server starts. (playworld will regenerate automaically.)
You can now start your server, and your server should be reset.