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.
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.
1. Stop your server
Step 1 is always to stop your server. This will make sure no data corruption will happen.
2. Reset all world playerdata
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.
3. Reset the plugin playerdata files
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
4. Reset LuckPerms data
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.
5. Reset leaderboards
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.
6. Reset all play-worlds
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.)
7. Start your server
You can now start your server, and your server should be reset.
Last updated