Sueta
AN

AntiPiston

0.1.0

Piston configuration utility

·Plugin

AntiPiston is a simple utility plugin that allows server owners to configure a blacklist (or whitelist) of blocks that pistons are allowed to push/break.

Use Cases

  • Preventing auto-farms
  • Preventing flying machines
  • Preventing lag machines

Installation

  1. Place the resource in your plugins folder.
  2. Start your server.
  3. Add any blocks you wish to prevent pistons from moving to the "master-list" option in config.yml.
  4. Type /ap reload (or restart your server)

Configuration

config.yml
enable-master-list: true
master-list-whitelist: false
master-list:
   - SUGAR_CANE
  - BAMBOO
debug: false
  • enable-master-list: Whether or not to check blocks against the master list.
  • master-list-whitelist: If true, only blocks on the master-list may be pushed. If false, all blocks but those on master-list may be pushed.
  • master-list: The list of blocks that the plugins check against
  • debug: Whether or not to log debug messages to the console

Commands

  • /ap reload - Reload the configuration file.

Planned Features
This plugin is still in beta, and has many planned features. These include:

  • Permission-specific whitelists (Allowing certain permission nodes to move different blocks with pistons).
  • Preventing pistons from moving certain entities.

Demonstration
AntiPiston with default config (Allows moving all blocks but Bamboo and Sugar Cane)

GIFs

Slime/Honey Blocks can't fool AntiPiston!

Similar projects

Plugin →