DisconnectReset: Clear Inventory & Teleport on Quit
Server administrators running mini-games, PvP arenas, or hardcore survival worlds know the pain of players logging out mid-battle to save their gear. DisconnectReset: Clear Inventory & Teleport on Quit eliminates this exploit entirely. The moment a player disconnects, the add-on wipes their inventory and forces their character to a predefined spawn point. No delays, no exceptions, no loopholes. This ensures every session starts fair, and no one can stash loot by simply quitting the game.
Core Mechanics and Configuration
The logic behind DisconnectReset: Clear Inventory & Teleport on Quit is straightforward. When the server detects a player leaving, the add-on executes two actions simultaneously: it clears all items from the player's inventory and teleports the character to coordinates specified in the configuration file. The entire process is automatic and instant, making it an ideal fit for servers that prioritize balanced gameplay.
All settings are stored in a simple config file that persists across server restarts. You define three key values: X, Y, Z coordinates and the target world name. For example, a typical setup might look like x: 500, y: 100, z: 400, world: world. On the first launch, the add-on generates this file automatically, and you can edit it manually or use an in-game command.
Quick Spawn Setup with Commands
Starting with version 1.4, the add-on introduced the /dr setspawn command. This allows an admin with the proper permission node to set the spawn point simply by standing at the desired location and running the command. No more editing config files or typing coordinates by hand. The permission node dr.setspawn controls who can use this feature. This speeds up setup and reduces the chance of errors from manual input.
Multi-World Support and Compatibility
One of the key updates in version 1.1 brought full integration with MultiWorld and MultiVerse. You can now specify the world name in the config, allowing DisconnectReset: Clear Inventory & Teleport on Quit to work correctly on servers with multiple dimensions. When a player logs out, they are teleported not just to coordinates, but to a specific world — whether that is a separate mini-game arena, a lobby, or a creative mode area.
If your server uses MultiVerse to manage isolated arenas or quest zones, this add-on fits right in. The config simply accepts a string with the world name, and the add-on locates the correct dimension during teleportation. No extra setup or complex scripting required. This makes it a plug-and-play solution for complex server architectures.
Admin Bypass and Permissions
To keep the staff from being affected by the same rules, the add-on includes a dedicated bypass. The permission node dr.bypass completely disables inventory clearing and teleportation for players who have it. This means moderators and admins can log out freely without losing their items or being sent back to spawn. It preserves convenience for the team while maintaining strict rules for regular players.
You can assign this permission through any standard permissions system, such as LuckPerms or PermissionsEx. Just add the node to a group or a specific player, and DisconnectReset: Clear Inventory & Teleport on Quit will ignore them on disconnect.
Use Cases for Mini-Games and Hardcore Servers
There are many scenarios where this add-on proves invaluable. On mini-game servers, where every session must start with equal conditions, the add-on automatically resets the progress of any player who leaves and returns them to the waiting area. This prevents a participant from exiting an arena with armor and weapons, then rejoining with an unfair advantage. PvP server admins will appreciate that no "gray zones" remain after a fight — everything is fair and transparent.
For survival servers with hardcore elements, DisconnectReset: Clear Inventory & Teleport on Quit can serve as a penalty mechanic for cowardice: leave during a dangerous moment, and you return to base with empty pockets. Some server owners prefer using modern launchers where installing add-ons like this happens in just a couple of clicks. This is especially valuable when you need to quickly deploy a mini-game mode without spending time on manual configuration.
Installation and Version Compatibility
To get started, you need to download DisconnectReset: Clear Inventory & Teleport on Quit from a trusted source and place the file into your server's plugins or mods folder, depending on your loader. The add-on supports both Bukkit/Spigot and Fabric environments, with recent versions compatible with Minecraft 1.16 through 1.20. Always check the release notes to confirm the exact build for your server version. After the first run, the config file appears, and you can adjust the spawn coordinates and world name to match your setup.
If you are unsure how to install, the process is standard: stop the server, drop the file into the appropriate directory, restart, and verify the config was generated. Then use the /dr setspawn command or edit the file manually. That is all it takes.
Final Thoughts
DisconnectReset: Clear Inventory & Teleport on Quit is a specialized but highly effective tool for Minecraft servers that need strict control over player state on logout. Its simple configuration, multi-world support, quick spawn command, and admin bypass make it a ready-to-use solution out of the box. The add-on is not overloaded with unnecessary features; it does exactly what it promises: inventory clearing and teleportation on disconnect. Whether you are building mini-games, PvP arenas, or just want to add a risk element to survival, this add-on deserves a spot in your server build.