Language

RegionDispatcher

RegionDispatcher

Modrinth

Spread your lobby players across multiple zones with one command, so Folia's per-region threads can actually work in parallel. Built-in lobby protection and void rescue. No WorldGuard, no setup hell.

16 downloads 1 followers updated 2mo ago
Modrinth
Folia 1.21 – 1.21.11 ManagementOptimizationUtility

RegionDispatcher

A standalone Folia plugin that distributes incoming players across multiple lobby zones to take advantage of Folia's per-region multi-threading.

When several hundred players land in the same area on a Folia server, only one region thread does all the work and the other CPU cores stay idle. By splitting your lobby into several copies of the same build and dispatching players between them, RegionDispatcher lets Folia parallelize the load and keeps the server responsive even with very high player counts.

The plugin has no external dependencies: no WorldGuard, no WorldEdit, nothing. Zones are defined by a simple radius around a spawn point, and an in-game command lets you create them just by standing where you want and typing one command.

Highlights

  • Automatic dispatch on join with three strategies (LEAST_FILLED, ROUND_ROBIN, RANDOM)
  • In-game region creation with /regionspawn add <name> — no YAML editing
  • Built-in lobby protection (no break/place, drops, damage, PvP, projectiles…) bypassable with a permission
  • Void rescue: players falling below the configured Y level are automatically re-dispatched
  • Folia-safe: entity scheduler for teleports, ConcurrentHashMap + AtomicInteger for counters
  • Zero external dependencies

Documentation

Full documentation, configuration reference, command list and permissions are in the README on GitHub:

➡️ github.com/Lorn87/RegionDispatcher

Source code

github.com/Lorn87/RegionDispatcher

Issues / bug reports

github.com/Lorn87/RegionDispatcher/issues

Versions

No version history available. Use the Download button to get the latest from the source.

Comments 0

No comments yet. Be the first to share your thoughts.

Download RegionDispatcher

Files are served directly from the original source. Modgrid does not host or modify them.