All Projects → Muqsit → PMHopper

Muqsit / PMHopper

Licence: other
Hopper behaviour implementation for PocketMine-MP API 4.0.0

Programming Languages

PHP
23972 projects - #3 most used programming language

PMHopper

A PocketMine-MP plugin implementing vanilla hopper behaviour.

Optimizations

A hopper will continue to tick itself every transfer.tick-rate (default: 8) game ticks only if there is a container above it or on the side it's tube is facing.
When not in use, a hopper (or more precisely, it's behaviour) per se will NEVER contribute to any additional server load.
However, (item-sucking.per-tick number of) dropped items check for hoppers below them every item-sucking.tick-rate (default: 1) game tick(s).

Reconfiguring some variables may help reduce server load. The default configuration values for transfer.tick-rate and transfer.per-tick reflect vanilla. Tripling transfer.tick-rate as well as transfer.per-tick would reduce the frequency at which containers are scanned by 3x at the cost of transfers getting delayed by 3x.

# Optimization: instead of transferring 1 item every 8 ticks, transfer 3 items every 24 ticks.
transfer:
  tick-rate: 24
  per-tick: 3
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].