How to Configure TNT Duping and Exploits on Paper Minecraft Servers
Learn how to enable or disable TNT duping, sand duping, and other vanilla exploits on a Paper server.
Paper patches several vanilla Minecraft exploits by default, including TNT duplication and sand duplication. If you rely on these mechanics (common in technical Minecraft), you can re-enable them.
Configuring Exploits
Stop your server
Access the XGamingServer panel and stop your server.
Open the Paper config
Go to Files and open config/paper-global.yml (Paper 1.19+) or paper.yml (older versions).
Find the unsupported settings section
Look for the unsupported-settings section:
unsupported-settings:
allow-piston-duplication: false
allow-headless-pistons: false
allow-permanent-block-break-exploits: false
allow-permanent-block-break-exploits-readme: ...Enable desired exploits
Set the values to true for the exploits you want to allow:
unsupported-settings:
allow-piston-duplication: true
allow-headless-pistons: trueStart your server
Start the server for changes to take effect.
Exploit Settings Reference
| Setting | Default | What It Controls |
|---|---|---|
allow-piston-duplication | false | TNT duping, carpet duping, rail duping via pistons |
allow-headless-pistons | false | Headless piston exploits for block breaking |
allow-permanent-block-break-exploits | false | Breaking bedrock and other "permanent" blocks |
📝 Note: These settings are marked "unsupported" because they re-enable bugs. They work fine but aren't officially maintained by Paper.
⚠️ Warning: Enabling piston duplication can be abused on public servers. Only enable on trusted/whitelisted servers or technical Minecraft communities.
💡 Tip: If you're running a technical Minecraft server and need full vanilla parity, consider using Fabric instead of Paper.
See also: Performance Guide | Server Types Explained
If you need help, join our Discord.
How is this guide?

How to Connect to Your Minecraft Server via SFTP
Set up FileZilla, WinSCP, or Cyberduck to upload and download files from your Minecraft Java server using SFTP.
How to Convert a Minecraft Bedrock World to Java Edition
Learn how to convert a Minecraft Bedrock Edition world for use on a Java Edition server.