Piston Dupes

Piston Dupes basically enables piston duping like rail duping and tnt duping etc.

303 downloads 0 followers

PistonDupes

PistonDupes is a Purpur/Paper plugin that automatically enables piston-based duplication mechanics by modifying Paper's global configuration.

When the server starts, the plugin:

  1. Looks for:

    config/paper-global.yml
    
  2. Searches the file for:

    allow-piston-duplication:
    
  3. If it finds:

    allow-piston-duplication: false
    

    it changes it to:

    allow-piston-duplication: true
    
  4. Before making the modification, it creates:

    config/paper-global.yml.backup
    

    as a backup of the original configuration.

  5. It does not rely on a specific line number, so it continues to work even if the setting moves somewhere other than line 136.

  6. If piston duplication is already enabled:

    allow-piston-duplication: true
    

    the plugin makes no changes.

  7. If the setting cannot be found, it reports a warning in the server console instead of modifying unrelated configuration.

  8. After successfully changing the file, it tells the server administrator that a server restart is required for Paper/Purpur to load the new setting.

What the setting enables

The plugin itself doesn't implement individual duplication mechanics. It simply enables Paper's allow-piston-duplication setting, allowing piston-based duplication mechanics supported by the server, which can include things such as:

  • Rail duplication
  • TNT duplication
  • Carpet duplication
  • Other piston-based duplication mechanics that depend on this Paper setting

So the plugin is essentially an automatic configuration manager for Paper's piston-duplication setting, rather than a custom rail/TNT/carpet duplication implementation.

No gallery available for this project.

Version Minecraft Loader Download

0.2

1.14, 1.14.1, 1.14.2, 1.14.3, 1.14.4, 1.15, 1.15.1, 1.15.2, 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.10, 1.21.11, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 26.1, 26.1.1, 26.1.2, 26.2, 26.3
paper, purpur
Download

0.1

1.21.10, 1.21.11, 26.1, 26.1.1, 26.1.2, 26.2
paper, purpur
Download