Skip to main content

Anti-exploit

Two checks stop players from farming progress the easy way.

Progress already counts actions instead of items (see Progression), so enchantments cannot inflate it. These two checks handle the other common tricks.

Placed-block check

Some resources skip blocks the player placed themselves. This stops the place-and-break loop where a player drops a stack of stone and mines it back for free progress.

  • Resources turn this on with ignore-player-placed: true.
  • The plugin remembers placed blocks per chunk, and this memory survives a server restart.
  • It applies to BLOCK_BREAK resources only.

In the default config, ores and logs use this check. Bamboo and sugar cane do not, because they regrow naturally and are meant to be farmed.

note

Blocks that were already in the world before the plugin was installed are treated as natural, so normal mining counts as expected.

Crop-growth check

Some crops only count when fully grown. This stops players from breaking and replanting seedlings for quick progress.

  • Resources turn this on with require-fully-grown: true.
  • It applies to BLOCK_BREAK resources only.

In the default config, Wheat, Carrot, and Potato require full growth. Breaking a young crop gives no progress.

Turning the checks on or off

Both checks are per resource, set in categories.yml:

trigger:
type: BLOCK_BREAK
targets: [STONE, COBBLESTONE]
ignore-player-placed: true # skip blocks the player placed
trigger:
type: BLOCK_BREAK
targets: [WHEAT]
require-fully-grown: true # only count fully grown crops

Leave a setting out or set it to false to turn that check off for the resource.