Skip to main content
AFK Zones are the heart of NxShards. Define a 3D region in your world, set how many Shards it pays out and how often, and players standing inside automatically earn currency — complete with on-screen feedback through titles, action bars, and a configurable boss bar.

Creating a Zone

1

Grab the selection wand

Run /shards wand to receive the configured wand item (default: a Blaze Rod). Hold it in your main hand.
2

Select Position 1

Left-click any block. Particles will flash to confirm the corner has been registered.
3

Select Position 2

Right-click another block, ideally at the opposite corner and a different height so the zone is a proper 3D box.
4

Create the zone

Run the create command, supplying a name, the interval in seconds, and the amount of Shards to award each tick:
Example:
Players inside vip_afk now receive 5 Shards every 60 seconds.
Zone names are case-sensitive and must be unique. Use short, descriptive names — they are referenced in messages and command arguments.

Deleting a Zone

The region is removed immediately and any players inside stop earning Shards on the next scheduler tick.

In-Zone Feedback

The moment a player crosses a zone boundary, NxShards triggers three layers of feedback (all configurable): Example configuration block:

Folia Behaviour

On Folia, each zone’s reward timer runs through the entity scheduler of the players currently inside, not a global tick task. This means zones scale linearly with player count and never block the main thread.

Listing Active Zones

Use /shards reload after editing the config to reload the in-memory zone registry; new zones created with /shards zone create are saved instantly without a reload.
Avoid placing two zones that overlap unless intentional — a player inside both regions earns Shards from both, which can break your economy balance.