.dupe
.dupe | |
---|---|
Type | Command |
Category | none |
In-game description | “Duplicates items using a book & quill.” |
Default keybind | none |
Source code | net/wurstclient/commands/DupeCmd.java |
Supported Minecraft versions | 1.16.3 - 1.17 |
.dupe is a chat command that allows the user to duplicate items in survival mode. It does this by corrupting the NBT data of a book and quill item so that the server fails to save the player's inventory.
The glitch behind .dupe
was originally discovered by Gaider10 and published on January 22, 20211).
Usage
Before using this command, the player must acquire a book and quill and a chest (or some other container).
- Equip the book and quill item in the main hand slot.
- Store the items to duplicate somewhere in the player's inventory.
- Disconnect from the server and reconnect. This causes the server to save the player's inventory.
- Take the items to duplicate out of the player's inventory (e.g. by storing them in a chest).
- Run the
.dupe
command. The player should be immediately kicked from the server, but this time the inventory is not saved. - After reconnecting to the server, the items will still be in the player's inventory, but the same items are now also in the chest.
This process can be repeated over and over again. The book and quill can just be left in the main hand slot, but the disconnecting and reconnecting step has to be done every time.
Compatibility
Minecraft 1.17.1 has patched the .dupe command. It will keep working in older Minecraft versions.
This item duplication glitch is known to work on vanilla Minecraft 1.16.3 - 1.17 servers. Bukkit-based servers seem to have patched this glitch.
Minecraft version | Vanilla | Fabric | Bukkit | Spigot | Paper |
---|---|---|---|---|---|
1.17.1 and later | ✘ | ✘ | ✘ | ✘ | ✘ |
1.17.1-pre1 | ✘ | ✘ | ✘ | ✘ | ✘ |
1.17 | ✔ | ✔ | ✘2) | ✘3) | ✘4) |
1.16.5 | ✔ | ✔ | ✘5) | ✘6) | ✘7) |
1.16.4 | ✔ | ✔ | ✘8) | ✘9) | ✘10) |
1.16.3 | ✔ | ✔ | not tested | not tested | not tested |
When this glitch doesn't work on a server, the player will not be kicked and will instead receive a book titled “If you can see this, it didn't work”. When it doesn't work on Paper servers, the player is kicked with the message “Book too large!”. When it doesn't work in Minecraft 1.17.1-pre1 and later versions, the player gets kicked as usual, but the items don't get duplicated.
Videos
See Also
Changes
Version | Changes |
---|---|
Wurst 7.14 | Added .dupe . |
Wurst 7.16 | Removed .dupe in Minecraft 1.17.1 and later versions. |