Portal Home >Knowledgebase >Minecraft >All Other Articles >How to Reset a Player's Location and Inventory on a Minecraft Server

NBTExplorer is a low-level graphical NBT data editor for Minecraft and other software using NBT data files. The directory-tree interface allows you to easily explore multiple worlds and manipulate data. NBTExplorer is a graphical NBT Editor based on NBTEdit. The differences between NBTEdit and NBTExplorer are that NBTExplorer is fully compatible with minecraft's region files, it has a dropdown directory-tree interface for ease of usage, and it offers support for the latest NBT Standard. NBTExplorer is also built on top of Substrate.
NBTExplorer Download: Ball Roblox Discord:Group:https://www.roblox.com/groups/.
How to Reset a Player's Location and Inventory on a Minecraft Server
You may wish to reset a player’s location and inventory or edit their player file on a Minecraft server from time to time. It is useful when you want the player to respawn at spawn with an empty inventory or need to pull a player out of an area of the world that is causing server crashes or slow downs. This tutorial will give you the option of resetting or editing a player’s location and inventory by removing or editting the playername.dat or uuid.dat file.
Advanced users may want to edit their player’s data file using an external program called NBTExplorer. The benefit of editing the player’s data file is that their inventory won’t be erased or the player won’t lose modded information that is tied to the player (Forge/Cauldron Servers). The advanced sections assume that you have downloaded and openned NBTExplorer.
Minecraft 1.7.6 or newer (UUID)
On Minecraft 1.7.6 and above, Mojang uses a new UUID format.
- Look up the UUID of the player you wish to reset.
- Make sure that the player you wish to reset is logged out of the server.
- On the remote site, open the game folder.
- Open the world folder. It is usually world, unless you have changed it.
- Open playerdata.
- Simple: Delete, or download/rename and then delete,
uuidyoulookedup.dat
. - Advanced: Instead of deleting
uuid.dat
, download it to a location on your computer such as your desktop where you can easily find it. - From NBTExplorer, press the Open NBT Data Source button that looks like a folder.
- Navigate to where you saved the
uuid.dat
file, select it, and press open. - Scroll down until you find the tag labeled
Pos
with 3 entries and press the+
symbol next to it. These are the data tags that store where a player is in game. - Double click on the tags one at a time and change their values. The tags aren’t labelled, but they are
X
,Y
,Z
in that order.Y
is height. Be careful what you set these numbers to as you can cause a player to spawn in the ground. I suggest setting their value to your world’s spawn or a known safe coordinate location. - Upload the
uuid.dat
back to your server in the same place you got it. Overwrite or delete the original one. Make sure that the player in question is not online at the time or it won’t work.

Minecraft older than 1.7.6 (non UUID)
- Make sure that the player you wish to reset is logged out of the server.
- Use FileZilla to connect to the server FTP.
- On the remote site, open the game folder.
- Open the world folder. It is usually world, unless you have changed it.
- Open players.
- Simple: Delete, or download/rename and then delete,
playername.dat
. Replace playername with the name of the player you wish to reset. - Advanced: Instead of deleting
playername.dat
, download it to a location on your computer such as your desktop where you can easily find it. - From NBTExplorer, press the Open NBT Data Source button that looks like a folder.
- Navigate to where you saved the
playername.dat
file, select it, and press open. - Scroll down until you find the tag labeled
Pos
with 3 entries and press the+
symbol next to it. These are the data tags that store where a player is in game. - Double click on the tags one at a time and change their values. The tags aren’t labelled, but they are
X
,Y
,Z
in that order.Y
is height. Be careful what you set these numbers to as you can cause a player to spawn in the ground. I suggest setting their value to your world’s spawn or a known safe coordinate location. - Upload the
playername.dat
back to your server in the same place you got it. Overwrite or delete the original one. Make sure that the player in question is not online at the time or it won’t work.
Powered by WHMCompleteSolution
Warning: This project is experimental. Its files will not synchronize across the CurseForge network.
NBT Explorer
Nbtexplorer Online
NBT Explorer aims to provide a simple yet powerful set of toolsfor viewing and modifying the NBT structure in various parts of the Minecraft server software.
Commands
By full release I aim to have NBT Explorer be fullyfunctional in command line mode but as of right nowyou must be a player to use the following commands:
- /explore [world] <x> <y> <z> || <Entity UUID> - Displays the NBT structure for the specified block/entity (requires nbtexplorer.command.explore). If no arguments are supplied you will target whatever block/entity you are looking at
- /exploreitem - - Displays the NBT structure for the item in your hand (requires nbtexplorer.command.exploreitem)
Configuration
There is no configuration file generated when this plugin isinstalled. This plugin does not require any configuration.You can create a config.yml in plugins/NBTExplorerand fill it with the following optional entries:
- reach - (Integer, default 100) the distance in blocks to check when executing /explore
Experimental Status
NBT Explorer is currently flagged as experimental due to the factthat it has not been heavily tested and still lacks some featuresthat I hope to implement by full release. Please be aware that at the moment there is no wayto add NBT tags to existing compounds/lists, only edit already existing tags (thats next on my list of things to implement).
Nbtexplorer Minecraft
About Project
Nbtexplorer Github
Categories
Members
