How to Configure TNT Duping and Exploits on Paper

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: true

Start your server

Start the server for changes to take effect.

Exploit Settings Reference

SettingDefaultWhat It Controls
allow-piston-duplicationfalseTNT duping, carpet duping, rail duping via pistons
allow-headless-pistonsfalseHeadless piston exploits for block breaking
allow-permanent-block-break-exploitsfalseBreaking 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?

40% Off — Limited TimeGet your Minecraft server todayInstant setup, DDoS protection, and 24/7 support included.
Get a Server

On this page