Redstone & lag

Updated:

Redstone machines and big farms are very welcome on ToxMania. To keep the server smooth for everyone, three rules apply: you build machines on your claim, very fast clocks are slowed down, and each chunk has a maximum number of animals, items and vehicles.

In short: build machines only on your own claim, keep clocks slow, give farms a lever to switch them off and spread big farms over several chunks.

Machines only on claims

You can only place these parts where you have at least build rights on a claim: your own, someone else's with build or manage trust, or guild land where you may build.

Claims onlyAllowed in the wilderness
Redstone dust, repeaters, comparators, observersLevers, buttons, pressure plates, tripwire
Pistons and sticky pistonsDoors, trapdoors, fence gates
Hoppers, droppers, dispensers, craftersNormal rails and powered rails
Daylight detectors, sculk sensors, calibrated sculk sensorsTNT (lit by hand)
Redstone torches, redstone blocks, targets
Detector rails and activator rails
TNT minecarts and hopper minecarts
  • In the Nether there are no claims, so you can build machines anywhere.
  • In the End there are no claims either, which means you cannot place the parts above there.
  • Dispensers only put TNT and hopper minecarts onto rails within the same claim.
  • Pistons never push a block across a claim border.
  • Natural structures such as temples or trial chambers are not affected. Only what players place is checked.

Machines that were already in the wilderness before this rule stay where they are.

Tip: to build a farm with a friend on their claim, you need build trust: /claim trust Name build. More under Trust.

Clocks that are too fast

A clock is a circuit that keeps switching itself on and off. Very fast clocks slow down the whole server. Every redstone change in a chunk counts: power switching on or off at dust, torches, repeaters, comparators and observers, plus every piston movement.

StageWhenWhat happens
Warningmore than 1,000 changes in 10 seconds (100 per second on average)You get a message with the location if you are online
Switch-offthe clock keeps running like that for 60 seconds after the warningRedstone in the chunk is off for 10 minutes. Power stays as it is and pistons do not move.
Removalswitched off for the second time within an hourUp to 16 of the most active parts are broken and drop as items. Redstone then stays off for 10 minutes.

Only redstone dust, repeaters, comparators, observers, redstone torches, pistons, sticky pistons, redstone blocks and targets are broken. Nothing is lost; just pick the parts up again.

After a warning there is no new one for 30 minutes. If the clock starts up again during that time, it is switched off after 60 seconds without another warning.

Throttle per claim

On top of that, the server counts all redstone changes on a whole claim, even when they are spread over several chunks. More than 300 changes per second per claim are slowed down: once the budget for a second is used up, power stays as it is until the next second. Repeaters, comparators, observers and redstone torches are then triggered again, so the machine keeps running, just more slowly, instead of stopping. Pistons follow the slowed signal.

You and others with build rights nearby get a message at most every ten minutes. Only very fast clocks reach this limit; normal farms stay well below it.

Limits per chunk

A chunk is an area of 16 × 16 blocks covering the full height of the world. Press F3 + G (Java Edition) to see chunk borders.

WhatMaximum per chunk
Animals50
Villagers30
Other creatures (monsters, fish, golems and more)60
Items on the ground200
Experience orbs100
Projectiles (arrows, for example)100
Armour stands30
Minecarts30
Boats20

A whole claim can also hold at most 500 animals and 50 villagers, however many chunks it covers. Animal stacks count with their real size here: “Chicken ×12” is 12 animals. For the per-chunk limit, on the other hand, a stack counts as one animal.

What happens when a limit is reached

  • Animals, villagers, creatures: breeding, spawn eggs, eggs from dispensers, building golems and natural spawning no longer work there. You get a hint. Existing animals and villagers stay.
  • Spawners on claims no longer spawn mobs; they store loot and experience instead, see Spawner storage. Spawners in the wilderness and trial spawners always keep running. Their mobs do count, though.
  • Items: the oldest ones disappear.
  • Experience is merged, so nothing is lost.
  • Projectiles: arrows stuck in blocks disappear.
  • Armour stands, minecarts, boats can no longer be placed.

Every five minutes the server also clears out surplus other creatures that the game would despawn anyway, oldest first. Mobs with a name, a lead, a rider or an owner, or that came from a bucket, stay, and so do golems.

In the wilderness

Outside claims, natural spawning stops at 10 animals and 15 other creatures per chunk. Wild animals above that can disappear in the clear-out. Animals that were bred, named, leashed, tamed, placed with a spawn egg or released from a bucket stay here too. Your animals are safest on your own claim.

Animal stacks

Every 10 seconds the server merges identical adult farm animals on a claim: chickens, cows, pigs, sheep and rabbits standing within 4 blocks of each other become one animal with the number in its name, for example “Chicken ×12”. You see the name when you look at the animal. A stack holds up to 20 animals. Sheep need the same colour and the same shear state, the other animals the same variant.

WhatHow it works with a stack
EggsThe stack lays one egg per chicken.
WoolShearing gives the wool of every sheep in the stack, by hand and with a dispenser.
FeedingEvery 2 food give one baby, at most one per pair in the stack and only up to the claim limit. Then the usual 5-minute breeding pause applies. The babies grow up and join the stack later.
KillingOne animal dies and drops its normal loot; the rest stays in the same place. Cooking and kill farms work as usual.

Never stacked:

  • babies
  • animals with a name tag, on a lead, in a boat or with a rider
  • animals in love
  • cosmetic pets
  • animals in the wilderness

If you put an existing stack on a lead, the whole stack comes along. For the claim limit of 500 animals a stack counts with its real size, for the per-chunk limit (50) as one animal; see Limits per chunk.

Building lag-free farms

  • Make it switchable: give every farm a lever. Whatever nobody needs right now stands still.
  • Slow clocks: use repeater clocks with a delay rather than observer clocks, and only run observer clocks briefly.
  • Spread out: split large animal and mob farms over several chunks so that no chunk hits the limit.
  • Collect items: hoppers or water channels that lead quickly into chests keep the item count low. You can sort with filter hoppers.
  • Limit animals: several small pens are better than one with a huge number of animals.
  • Iron farms: iron golems count as other creatures. Once more than 60 gather in one chunk, no new ones spawn there. Build the farm so that golems do not stay around for long.

Tip: for raw materials without a running machine there are production buildings. They keep working while you are offline.

Commands

CommandWhat it does
/claim infoshows whether you have build rights here and can place machines
/claim showshows claim borders nearby
/claim trust <name> buildlets a friend build machines on your claim
F3 + Gshows chunk borders (Java Edition key, not a command)

Every server command is listed under Commands.

Frequently asked questions

Why can't I place a hopper or piston in the wilderness?

Redstone machines only work on a claim where you are allowed to build. Create a claim with /claim create. Levers, buttons, doors and rails work everywhere.

Can I build machines in the Nether?

Yes. There are no claims in the Nether, so you can place machines anywhere there. Clock detection and the per-chunk limits still apply.

Why was my redstone switched off?

Your clock was too fast, more than 1,000 changes in 10 seconds in one chunk. After a warning and 60 seconds, redstone there is switched off for 10 minutes. Slow the clock down or add a lever to turn it off.

Why can't I breed animals any more?

The chunk is full (50 animals) or your claim has reached 500 animals. Animal stacks count with their real size. Spread them out over more space; the ones you have stay.

Why have my chickens turned into a single chicken?

Identical adult farm animals on claims merge into one stack with the number in its name, for example “Chicken ×12”. The stack lays one egg per chicken, and when one animal dies, the rest stays. More under Animal stacks.