Skip to content

AFKless

By si7se

Keep iron golem traps and other farms running on a server with nobody online: place one anchor block and the chunks around it stay force-loaded and entity-ticking 24/7.

<1,000 downloads Updated
26.2

No ratings yet

Be the first to rate it.

Rate it

Community listing page

Community listing page, reviews may not be monitored by the author.

About

Description

Keep your farms running while nobody is online

On a server with no players, the chunks around your build stop being loaded and ticked — so iron golem traps, villager breeders, crop farms and furnaces all stop the moment the last player logs off. AFKless keeps the area you choose running 24/7.

How to use it

Craft an AFKless Anchor and place it near your farm. That's all — by default it keeps a 5x5 = 25 chunk area loaded and ticking whether or not anyone is online, and across server restarts.

O I O      O = Obsidian
I E I      I = Iron Ingot
O I O      E = Ender Pearl
  • Right-click the anchor to grow its radius, sneak + right-click to shrink it. The resulting chunk count is shown on the action bar.
  • Break it and the chunks are released again.

Commands (permission level 2)

Command What it does
/afkless status How many anchors and chunks are active
/afkless list Every anchor, in every dimension
/afkless add [radius] Anchor where you are standing, without placing a block
/afkless radius <radius> Change the radius of the nearest anchor
/afkless remove Release the nearest anchor
/afkless clear Release every anchor

Config

[chunks]
  defaultRadius = 2       # radius, in chunks, of a freshly placed anchor
  maxRadius = 8           # largest radius an anchor may be set to
  maxTotalChunks = 512    # server-wide cap, so nobody can bog the server down

[village]
  keepGolemConditions = true    # keeps villagers in anchored areas able to summon iron golems

[server]                        # 26.x builds only
  disablePauseWhenEmpty = true  # stops the server pausing itself once it is empty

Install

Put the jar for your version in mods on both the server and the client.

Good to know

  • Farms that need mobs to spawn naturally (zombie / skeleton grinders) still need a player nearby — that is vanilla behaviour and AFKless does not change it. This mod is for farms that run on their own: iron golems, villager breeders, crops, furnaces, hoppers, brewing, redstone clocks.
  • It plays nicely with other chunk loaders and with /forceload: AFKless only ever releases the chunks it loaded itself.
  • Every build was tested on a real dedicated server with nobody connected, up to an iron golem actually spawning.

日本語

サーバーに誰もいない間、トラップを動かし続けるMODです。

プレイヤーが1人もいないと、その場所のチャンクは読み込まれず動作も止まります。だからアイアンゴーレムトラップも、村人増殖も、畑も、かまども、最後の1人が抜けた瞬間に止まります。AFKless は指定した範囲だけを24時間動かし続けます。

使い方

常駐ロード装置をクラフトして、トラップの近くに置くだけ。既定で 5×5=25チャンクが、誰もいなくても、サーバーを再起動しても、動き続けます。

O I O      O = 黒曜石
I E I      I = 鉄インゴット
O I O      E = エンダーパール
  • 右クリックで半径を拡大、スニーク+右クリックで縮小。維持するチャンク数はアクションバーに表示されます。
  • 壊せばそのチャンクは解放されます。

コマンド(権限レベル2)

コマンド 内容
/afkless status 現在のアンカー数・維持チャンク数
/afkless list 全ディメンションのアンカー一覧
/afkless add [半径] 立っている場所を、ブロック無しで常駐化
/afkless radius <半径> 最寄りアンカーの半径を変更
/afkless remove 最寄りアンカーを解除
/afkless clear 全アンカーを解除

config

[chunks]
  defaultRadius = 2       # 設置直後の半径(チャンク)
  maxRadius = 8           # 指定できる半径の上限
  maxTotalChunks = 512    # サーバー全体の上限。重くなりすぎないための安全弁

[village]
  keepGolemConditions = true    # 常駐エリア内の村人がゴーレムを湧かせ続けられるようにする

[server]                        # 26.x 版のみ
  disablePauseWhenEmpty = true  # 無人になるとサーバー自身が一時停止する挙動を止める

導入

お使いのバージョンのjarを サーバーとクライアントの両方 の mods フォルダへ。

補足

  • ゾンビ・スケルトンなど自然湧きを使うトラップは、バニラの仕様上プレイヤーが近くにいないと湧きません。AFKless はそこを変更しません。対象は「本来プレイヤーがいなくても動く装置」——ゴーレム・村人増殖・畑・かまど・ホッパー・醸造・レッドストーン時計などです。
  • 他のチャンクローダや手動の /forceload と併用しても安全です。AFKless は自分が読み込んだチャンクしか解放しません。
  • 4バージョンとも、誰も接続していない実サーバーで、実際にアイアンゴーレムが湧くところまで検証しています。