Offer Why us? How it works?
Guide

How to Disable Exploit Fixes on a Paper Server (TNT Dupe)

Out of the box, Paper blocks several Vanilla bugs that technical Minecraft farms rely on: TNT, carpet and rail duplication, bedrock breaking and sand duping through End portals. Here is which options in paper-global.yml and paper-world-defaults.yml bring them back, what each one does exactly and what to watch out for on a public server.

Updated: 6 min read
Table of contents
  1. Why doesn't TNT duping work on Paper?
  2. Which options in paper-global.yml re-enable exploits?
  3. Which fixes live in paper-world-defaults.yml?
  4. How to disable exploit fixes on a Spot.gg server
  5. What are the risks of enabling exploits?
  6. FAQ
  7. Is TNT duping on Paper a cheat?
  8. Why doesn't sand duping work even with allow-piston-duplication?
  9. Does Spigot block TNT duping?
  10. Do I need to restart after editing paper-global.yml?

Why doesn't TNT duping work on Paper?

Paper deliberately fixes game bugs that let players duplicate items or break unbreakable blocks – which is why TNT, carpet and rail dupers and bedrock breakers don't work on it. The same machines work in Vanilla and on Spigot, because nobody patches those bugs there.

Paper does let you bring these behaviours back, through the unsupported-settings sections of its config files. Before you change anything:

  • These options are "unsupported". The Paper documentation says they may be removed in any future version and that you use them at your own risk.
  • They apply to every Paper-based server software. Purpur and Folia inherit the same files and options.
  • The file layout below is for 1.19 and newer. Older Paper versions (up to 1.18.2) kept everything in a single paper.yml, with similar options under settings.unsupported-settings.
  • A restart is needed. Paper reads these files when the server starts.

Which options in paper-global.yml re-enable exploits?

The key one is allow-piston-duplication: true – it turns on TNT, carpet and rail duplication. The other options in this section bring back bedrock breaking, headless pistons and sand duping through End portals.

File: config/paper-global.yml, section unsupported-settings. By default all of these exploits are blocked.

Option Default What changing it enables
allow-piston-duplication false true – TNT, carpet and rail duplication with pistons (TNT dupers, world eaters, carpet farms). Does not cover sand
allow-permanent-block-break-exploits false true – breaking bedrock, End portal frames and End portal blocks with Vanilla tricks
allow-headless-pistons false true – headless pistons, mostly used to break bedrock
allow-unsafe-end-portal-teleportation false true – End portal teleportation exploits, including duplicating sand, concrete powder and other falling blocks. Paper recommends against it
skip-tripwire-hook-placement-validation false true – tripwire hook duping
update-equipment-on-player-actions true false – lets players abuse attributes by swapping equipment right before using an item. Best left alone

With the most common options turned on, that part of the file looks like this:

unsupported-settings:
  allow-headless-pistons: true
  allow-permanent-block-break-exploits: true
  allow-piston-duplication: true
  allow-unsafe-end-portal-teleportation: false

Only change false/true on the existing lines. YAML cares about indentation: each option needs exactly two spaces in front of it, no tabs. Leave the other lines in the section (such as perform-username-validation or oversized-item-component-sanitizer) as they are.

Which fixes live in paper-world-defaults.yml?

config/paper-world-defaults.yml has one more exploit fix: unsupported-settings.fix-invulnerable-end-crystal-exploit, true by default. Setting it to false lets players create invulnerable End crystals again (bug MC-108513).

The same file has a few settings that aren't exploits but do affect technical farms:

Option in paper-world-defaults.yml Default Meaning
unsupported-settings.fix-invulnerable-end-crystal-exploit true false brings back invulnerable End crystals
misc.allow-remote-ender-dragon-respawning false true allows respawning the dragon with crystals that aren't on the portal frame
fixes.tnt-entity-height-nerf disabled Y level below which primed TNT is removed; disabled = no limit
fixes.falling-block-height-nerf disabled The same for falling blocks
fixes.prevent-tnt-from-moving-in-water false true stops TNT drifting in flowing water (breaks some machines)

Settings in paper-world-defaults.yml apply to every world. To change something in one dimension only, Paper lets you override a single option in that world's paper-world.yml – put just the option you change there, not the whole file.

If your TNT duper works but a machine blows up fewer blocks than in Vanilla, also check max-tnt-per-tick in spigot.yml (default 100) – it caps how many TNT explosions run per tick.

How to disable exploit fixes on a Spot.gg server

Stop the server, open config/paper-global.yml in the "Files" tab, change the values under unsupported-settings, save and start the server. The panel has no dedicated switch for these options, so you edit the file in the built-in editor.

  1. Make sure you're on Paper or Purpur. A Vanilla server can be switched in "Information" → "Modify" → "Change engine" – your world stays. More in how to install Paper or Spigot.
  2. Take a backup. In the "Backups" tab click "Create backup". Dupers and bedrock breakers can change a world beyond recognition in minutes.
  3. Stop the server. config/paper-global.yml is created on first start – if it's missing, start the server once and stop it.
  4. Edit the file. In "Files" open the config folder, click "Edit" next to paper-global.yml, find the unsupported-settings section, set the options you want to true and click "Save".
  5. Start the server and test your machine. In "Console", check that startup shows no YAML loading error – that usually means a wrong indent.

To go back to the defaults, set the same options to false again and restart.

What are the risks of enabling exploits?

The main risks are lag from unlimited TNT, a broken server economy and players getting outside the intended play area. On a server for friends that's usually fine; on a public server, weigh each option separately.

  • Performance. TNT dupers and world eaters detonate thousands of charges. Every explosion costs CPU, and machines running non-stop in force-loaded chunks keep the server busy even with nobody nearby. Our guide on fixing Minecraft server lag shows how to find the cause.
  • Economy. Infinite carpets, rails or sand undercut player shops and economy plugin prices. On a trading server, keep allow-piston-duplication and allow-unsafe-end-portal-teleportation off.
  • Bedrock and the Nether roof. With allow-permanent-block-break-exploits players can get above the Nether roof or break End portal frames at spawn. If you want the option on but not the roof, set environment.nether-ceiling-void-damage-height in paper-world-defaults.yml (e.g. 127) – above that height the Nether deals void damage.
  • No support. The options can disappear in a Paper update, and Paper won't fix bugs caused by enabling them. After every version change, check that your machines still work.

FAQ

Is TNT duping on Paper a cheat?

No – it's a bug in the game itself that works in Vanilla without any mods. Paper blocks it for server stability, and allow-piston-duplication: true restores the Vanilla behaviour. Whether it's allowed is up to your server rules.

Why doesn't sand duping work even with allow-piston-duplication?

Sand and other falling blocks are duplicated through an End portal, and that's controlled by a separate option, allow-unsafe-end-portal-teleportation. Set it to true and restart the server.

Does Spigot block TNT duping?

No. Spigot doesn't fix these bugs, so dupers work there straight away. Paper performs better, though, and with a few options changed it behaves like Vanilla here – compare them in Minecraft server software.

Do I need to restart after editing paper-global.yml?

Yes. Paper loads the file on startup, so save your changes while the server is stopped and then start it again.

Other guides

How to Fix Minecraft Server Lag: TPS, Ping, FPS and What Actually Helps How to find and fix Minecraft server lag: TPS vs ping vs FPS, spark, view and simulation distance, pre-generation, Paper and Purpur, performance mods and why more RAM rarely helps. 12 min read How to Install Paper or Spigot on a Minecraft Server Switch your Minecraft server to Paper, Purpur or Spigot without losing the world: Change engine, where plugins go, Spigot via BuildTools and specific Paper builds. 9 min read Minecraft Server Backups vs. Autosave Explained How Minecraft autosave (save-all, every 5 minutes) differs from a server backup, how to back up a Minecraft server, how long backups are kept and how to restore a world. 8 min read How to Play Minecraft with Friends: 4 Ways How to play Minecraft Java with friends: Open to LAN, over the internet, Realms or your own server. Comparison, setup step by step and fixes for join errors. 7 min read DeceasedCraft Modpack Guide: Districts, Infection, Hordes and Server DeceasedCraft is an urban zombie apocalypse modpack for Forge 1.20.1. Districts and temperature, infection and cure, hordes every 15 days, RAM and how to host a server. 11 min read How to Use spark on a Minecraft Server: Profiler, TPS and Health Report How to use the spark profiler on a Minecraft server: spark tps, spark health, spark profiler, reading the report and what replaced Paper's Timings. 10 min read