Skip to content

Piston Crusher v1.0.0

Choose a tag to compare

@BerndHagen BerndHagen released this 26 Apr 16:44
· 16 commits to main since this release

Piston Crusher 1.0.0 introduces an automation plugin that turns pistons into configurable block-crushing machines. When a piston extends and pushes a whitelisted block into a designated crusher block, the pushed block is destroyed and drops a configurable number of items directly into the world. All settings - the material whitelist, output multiplier, and crusher block type - are managed via commands with full tab completion and take effect immediately without a server restart. Only physically piston-moveable blocks qualify as crusher blocks, preventing exploitation with immovable materials such as obsidian or bedrock.

Crushing Mechanics

  • Block Whitelist System: Only blocks explicitly added to the whitelist are destroyed when pushed into the crusher block - all other materials pass through the piston normally without triggering any crushing behavior
  • Configurable Output Multiplier: Controls exactly how many items drop per crushed block - fractional values are supported for weighted drop counts (e.g., a multiplier of 2.5 yields either 2 or 3 items with appropriately weighted probability)
  • Crusher Block Selection: Any piston-moveable block can be designated as the crusher target - immoveable blocks such as obsidian and bedrock are explicitly validated and rejected to prevent abuse

Configuration and Commands

  • Live Configuration: All whitelist changes, multiplier adjustments, and crusher block selections take effect immediately without any server restart
  • Full Tab Completion: All material names in whitelist and crusher block commands are fully tab-completed using Bukkit material names for accurate and fast in-game configuration
  • /pistoncrusher whitelist add/remove <Material>: Add or remove material types from the whitelist at runtime
  • /pistoncrusher multiplier <Value>: Set the item drop multiplier - must be 1.0 or greater
  • /pistoncrusher crusherblock <Material>: Set or display the designated crusher block type

Note: If you encounter any bugs or issues, please don't hesitate to open an issue. For any questions or to start a discussion, feel free to initiate a discussion on the GitHub repository.