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.Documentation Index
Fetch the complete documentation index at: https://pumpkings.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Creating a Zone
Grab the selection wand
Run
/shards wand to receive the configured wand item (default: a Blaze Rod). Hold it in your main hand.Select Position 1
Left-click any block. Particles will flash to confirm the corner has been registered.
Select Position 2
Right-click another block, ideally at the opposite corner and a different height so the zone is a proper 3D box.
Deleting a Zone
In-Zone Feedback
The moment a player crosses a zone boundary, NxShards triggers three layers of feedback (all configurable):| Element | Trigger | Notes |
|---|---|---|
| Entry title + subtitle | On enter | Customise text and duration in config.yml |
| BossBar | While inside | Color and style configurable per server |
| ActionBar / payout messages | Every interval tick | Optional — disable in config if too noisy |
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.
