# What server owners need from the addon API

Written 2026-12-05. This note asks which plugins Minecraft server owners actually run on Paper,
Spigot, PocketMine-MP, Nukkit, PowerNukkitX, Endstone and LeviLamina, what those plugins need
from their platform, and what JSPrismarine's addon API lacks for an owner to choose it over them.
It ends with a list of addons that would exercise each missing API and that owners could run.

The figures are as observed on 2026-12-05 and stay unmarked, as dated research does. The
commands at the end fetch them again.

## Findings

- **Most Bedrock players reach community servers through Java servers running Geyser.**
  bStats counts Floodgate on 70,258 servers and GeyserMC on 62,720. Paper reports 171,148. The
  Bedrock-native platforms that report to bStats are small: Endstone 867, Nukkit 287,
  PowerNukkitX 190, LeviLamina 154. The servers JSPrismarine competes with are therefore mostly
  Paper with Geyser, and second Endstone and LeviLamina, which run on top of BDS.
- **PocketMine-MP has reached end of support.** Its repository is archived, and its README is an
  end-of-support notice. The last release was 5.44.3 on 2026-07-06. poggit.pmmp.io redirects to
  a read-only release archive. PocketMine owners have to move somewhere, and they depend on a
  known set of libraries: forms, InvMenu, Commando, libasynql, ScoreHud and EconomyAPI.
- **Owners depend on the same dozen capabilities on every platform.** Placeholders, permissions,
  core commands, an economy other plugins can bind to, world editing, region protection, a
  sidebar and tab list, block logging, multiple worlds, holograms and NPCs, and menus. Each
  Bedrock platform has ported LuckPerms, PlaceholderAPI, an essentials plugin, WorldEdit and a
  protection plugin, and Endstone's team ports spark and PlaceholderAPI itself.
- **The plugins owners install most are libraries other plugins call.** PlaceholderAPI is first
  on bStats, packetevents third, ProtocolLib eighth, Vault eleventh. On Poggit, 104 projects
  depend on EconomyAPI, 61 on BedrockEconomy and 33 on PurePerms. Form libraries are bundled
  about 220 times, InvMenu 75 times. What makes a platform viable is that plugins can share
  services with each other, more than any one feature.
- **JSPrismarine already has a good part of this.** It has a
  LuckPerms-style permission system with a script API, a placeholder registry, forms, custom
  commands with client completion, multiple levels, a boss bar, outbound HTTP, a sandboxed hot
  reload and a console addon installer with a lockfile.
- **The largest gaps are the ones libraries need.** There is no way for one addon to offer a
  synchronous service to another, script scoreboards never reach a client, chat cannot be
  rewritten or targeted, there is no player identity beyond the entity, and storage stops at
  dynamic properties and one JSON config file. Without these, nobody can write the Vault,
  ScoreHud, EssentialsXChat or CoreProtect equivalent, and those are what the other addons build on.

## How popular each plugin is

bStats counts servers that run a plugin, from its plugin datatable. It misses plugins that do
not embed bStats: LuckPerms, ViaVersion, CMI, spark, Lands, Jobs and NuVotifier. Those are
ranked here by downloads. SpigotMC refused automated fetches (HTTP 403), so the Spigot download
counts come from Spiget, a third-party mirror of Spigot's counters. Modrinth's counts mix mods
and plugins for projects that ship both. The Poggit counts sum every version's downloads across
the 5,020 `info.json` files in the release archive.

### Paper and Spigot, servers on bStats

| # | Plugin | Servers | What it does |
| ---: | --- | ---: | --- |
| 1 | PlaceholderAPI | 60,917 | Placeholder registry shared across plugins |
| 2 | EssentialsX | 59,674 | Homes, warps, kits, teleports, economy |
| 3 | packetevents | 58,403 | Packet interception library |
| 4 | WorldEdit | 55,416 | World editing |
| 5 | WorldGuard | 52,636 | Region protection with flags |
| 6 | TAB | 45,789 | Tab list, nametags, sidebar |
| 7 | Chunky | 44,792 | Chunk pregeneration |
| 8 | ProtocolLib | 42,523 | Packet interception library |
| 9 | SkinsRestorer | 41,980 | Skins on offline-mode servers |
| 10 | Multiverse-Core | 41,661 | Multiple worlds |
| 11 | Vault | 41,424 | Economy, permission and chat service registry |
| 12 | ItemNBTAPI | 40,536 | Item and entity NBT access |
| 13 | FastAsyncWorldEdit | 37,771 | Asynchronous WorldEdit |
| 14 | CoreProtect | 29,799 | Block logging and rollback |
| 15 | GSit | 23,343 | Sit and lie down |
| 16 | Skript | 20,336 | Scripting language for owners |
| 17 | EssentialsXChat | 20,229 | Chat formatting |
| 18 | Grim | 19,881 | Predictive anti-cheat |
| 19 | DecentHolograms | 19,293 | Holograms |
| 20 | Citizens | 17,991 | NPCs |
| 21 | FancyNpcs | 16,899 | Packet NPCs |
| 22 | BlueMap | 16,081 | 3D web map |
| 23 | DeluxeMenus | 15,729 | Configured chest-menu GUIs |
| 24 | DiscordSRV | 15,657 | Discord bridge |
| 25 | AuthMe | 14,184 | Login for offline-mode servers |

Further down: InvSee++ 13,685, MythicMobs 10,659, Multiverse-Inventories 9,290, Shopkeepers
7,450, EconomyShopGUI 6,899, BetterRTP 6,718, LibsDisguises 6,398, Plan 5,322, dynmap 4,470,
VotingPlugin 4,263, mcMMO 3,670, CrazyCrates 2,604, AdvancedBan 2,175, Towny 1,722.

The top of Spiget's download ranking adds the plugins bStats cannot see: LuckPerms 9.0M,
ViaVersion 8.2M, ViaBackwards 4.8M, Vault 3.6M, LoginSecurity 3.2M, EconomyShopGUI 2.5M,
NametagEdit 2.2M, ZNPCs 2.0M, ClearLagg 1.5M and Floodgate's Bedrock player manager 1.4M.
Hangar's ranking is led by the ViaVersion family, EssentialsX, WorldEdit, Geyser, Chunky,
SkinsRestorer and Floodgate.

On Velocity, the most-run proxy plugins are SkinsRestorer 5,313, MiniMOTD 3,718, Maintenance
2,372, TAB 2,148 and LimboAPI 1,709. WaterdogPE, the Bedrock proxy, reports 285 servers.

### PocketMine-MP, downloads from the Poggit archive

| # | Plugin | Downloads | What it does |
| ---: | --- | ---: | --- |
| 1 | BuilderTools | 194,169 | World editing |
| 2 | ScoreHud | 183,411 | Sidebar with tags other plugins fill |
| 3 | EconomyAPI | 182,264 | Economy |
| 4 | PurePerms | 153,268 | Permissions |
| 5 | Slapper | 143,525 | NPCs |
| 6 | PureChat | 123,768 | Chat format |
| 7 | MultiWorld | 111,547 | Multiple worlds |
| 8 | BedWars | 105,933 | Minigame |
| 9 | SkyBlock | 99,202 | Game mode |
| 10 | PureEntitiesX | 94,201 | Mobs and their AI |
| 11 | SimpleWarp | 89,388 | Warps |
| 12 | MyPlot | 84,608 | Plots |
| 13 | VanishV2 | 81,225 | Vanish |
| 14 | ScoreboardsPE | 76,151 | Scoreboards |
| 15 | essentialsTP | 70,765 | Homes and warps |
| 16 | WorldProtect | 68,418 | Protection |
| 17 | PiggyCustomEnchants | 67,412 | Custom enchantments |
| 18 | InvSee | 64,557 | Inventory viewing |
| 19 | ShopUI-FormAPI | 64,095 | Form shop |
| 20 | EasyCommandAutofill | 60,228 | Command completion for the client |
| 21 | AuctionHouse | 60,175 | Auction house |

Dependents declared in the archive: EconomyAPI 104, BedrockEconomy 61, PurePerms 33, ScoreHud
20, PiggyCustomEnchants 18, Slapper 16. Bundled libraries: libFormAPI 115, Commando 93,
InvMenu 75, libasynql 58, FormsUI 53, pmforms 43, SimplePacketHandler 32.

### Nukkit, PowerNukkitX, Endstone and LeviLamina

These catalogs are small, and their counts are low enough that the order matters more than the
numbers.

- **Nukkit** (Cloudburst resources by downloads): MobPlugin, Plan, WorldManager,
  SRegionProtector, LobbyNK, EssentialsNK, FAWE, Slapper, EconomyAPI, PlaceholderAPI,
  DiscordChat, a scoreboard plugin and holograms.
- **PowerNukkitX** (its Plugin Hub, 79 reviewed plugins): AnyVersion (several client
  versions), WorldManager, LuckPerms, SimpleWorldEdit, PlaceholderAPI, LlamaEconomy,
  AddonBridge (runs Bedrock add-ons), EssentialsPNX, InvMenuPNX, Scoreboard, NPC,
  SRegionProtector, ShopUI and Holograms.
- **Endstone** has no download index. On MineBBS: Chainminer, eLand (land claims), EShop,
  jsonmoney (an economy API), Menu (GUIs). Its team maintains spark, PlaceholderAPI and
  endweave (several client versions) themselves.
- **LeviLamina** (MineBBS): the LSE script loader, HeadShow, chain mining, CALL (building tools),
  an inventory viewer, titles with placeholders, an updater, a remote-call library, an
  anti-cheat, backups, and item sync across servers by XUID.

### What sets the Bedrock ecosystems apart

- Forms are the GUI. Form libraries are the most-bundled libraries on PocketMine, and every
  Bedrock platform ships one. Fake-inventory menus come second.
- Sidebars are filled by tag providers (ScoreHud's tags), the Bedrock counterpart of TAB with
  PlaceholderAPI.
- Economy is split between EconomyAPI, BedrockEconomy, Capital and others, and libraries exist
  only to abstract over them. That is the cost of having no Vault-style registry.
- Command completion was a separate plugin on PocketMine (60k downloads), because the client
  completes only what the server's command enums list.
- Minigame and lobby plugins rank much higher than on Java.
- Mob AI shipped as plugins on PocketMine and Nukkit, because those cores had none.
  JSPrismarine, Endstone and LeviLamina all have vanilla behavior in the core.

## The ranked list

Importance combines reach (servers or downloads across ecosystems) and how many other plugins
depend on it. The status column is JSPrismarine's addon API today, from the audit in the next
section.

| Rank | Capability | Plugins that define it | What the plugins need from the platform | JSPrismarine today |
| ---: | --- | --- | --- | --- |
| 1 | Permissions | LuckPerms, PurePerms | Nodes with defaults, groups, meta, contexts, offline subjects | Available, without node declaration, contexts or offline subjects |
| 2 | Placeholders | PlaceholderAPI, ScoreHud tags | A shared registry other addons call per player | Available; consumers poll |
| 3 | Core commands | EssentialsX, CMI, EssentialsNK | Command framework, teleports, per-player storage, item serialization | Partial: flat parameters, startup-only registration |
| 4 | Economy | Vault, EconomyAPI, BedrockEconomy | A service registry other addons bind to, durable storage | Missing |
| 5 | Client versions and editions | ViaVersion, Geyser, endweave, AnyVersion | Per-player protocol, identity across editions | Core feature, outside the addon API |
| 6 | World editing | WorldEdit, FAWE, BuilderTools | Bulk block reads and writes, schematics, selection wand events | Partial: fills and structures exist, throughput unmeasured |
| 7 | Region protection | WorldGuard, GriefPrevention, MyPlot | Cancellable events with priorities, region storage | Partial: before-events exist, no priorities |
| 8 | Sidebar, tab list, nametags | TAB, ScoreHud, NametagEdit | Scoreboard display, tab header and footer, nametags | Partial: script scoreboards never reach clients |
| 9 | Chat | EssentialsXChat, PureChat, DiscordSRV | Rewrite messages, choose recipients | Partial: cancel only |
| 10 | Packets and fake entities | packetevents, ProtocolLib | Packet interception, per-player entities | Missing |
| 11 | Block logging and rollback | CoreProtect | Monitor events, container events, high-volume storage | Missing storage |
| 12 | Multiple worlds | Multiverse, MultiWorld, WorldManager | Create, load and unload worlds, generators | Available |
| 13 | Holograms and NPCs | DecentHolograms, Citizens, Slapper | Text displays, per-player visibility, interaction | Partial |
| 14 | Menus | DeluxeMenus, InvMenu, forms | Chest GUIs with click events, forms | Forms available; chest menus missing |
| 15 | Moderation | AdvancedBan, InvSee, VanishV2 | Bans by identity, offline data, inventory views | Partial: no ban API, no identity |
| 16 | Performance tools | spark, Chunky, ClearLagg, Plan | Profiler, pregeneration, metrics | Partial |
| 17 | Discord and webhooks | DiscordSRV, DiscordChat | Outbound and inbound network, chat events | Partial: outbound HTTP behind beta |
| 18 | Web maps | BlueMap, dynmap | Chunk reads, an HTTP server | Missing |
| 19 | Shops, auctions, crates, votes | EconomyShopGUI, AuctionHouse, CrazyCrates, NuVotifier | Economy, item data, randomness, an inbound vote socket | Missing economy and inbound network |
| 20 | Anti-cheat | Grim, Vulcan | Movement and packet hooks | Server-authoritative movement is a core concern |
| 21 | Skins | SkinsRestorer | Skin data per player | Missing; Bedrock has Xbox skins, so lower priority |
| 22 | Login | AuthMe, LoginSecurity | Pre-login event, movement freeze | Not needed with Xbox authentication |

## What JSPrismarine's addon API has today

An addon is a behavior pack whose scripts run in the script host, one QuickJS context per pack,
on the level's tick thread ([ADR 0020](https://jsprismarine.dev/adr/0020-scripts-run-in-quickjs-on-the-world-thread.md)).
A pack has no Node API, filesystem or network except `@minecraft/server-net`. JSP-only members
live in `@jsprismarine/server` and `@jsprismarine/placeholders`
([guide](https://jsprismarine.dev/guide/jsprismarine-module.md)). Embedding the server is a lower-level path, but ADR
0020 says it is "no longer the plugin format", and its internal classes are not a stable API
before 1.0 ([versioning](https://jsprismarine.dev/guide/versioning.md)).

Available now:

- `@minecraft/server` 1.19.0 and 2.11.0, 2.12.0-beta, and `@minecraft/server-ui` with every form
  kind ([extending](https://jsprismarine.dev/guide/extending.md)). A member with no behavior throws
  `NotImplementedError`, and the load log reports each pack's use of unimplemented members.
- About 76 after-events and 17 before-events, among them chat, break, place, interact with a
  block or an entity, explosion, item use and hurt. A before-event can cancel.
- `CustomCommandRegistry` with every parameter type, enums the client completes, permission
  levels and aliases. Every script command is a permission node.
- Permissions with groups, weights, parents, wildcards, negation, meta and expiry, and a script
  API to check, grant and listen for changes ([permissions plan](https://jsprismarine.dev/plans/permissions.md)).
- Placeholders with templates, conditions, animation and gradients, and a standard provider addon.
- Dynamic properties on the world, entities, players and items, compatible with BDS, and a per-addon
  JSON config file with change events.
- Levels: list, create, attach, detach, transfer players ([world management](https://jsprismarine.dev/plans/world-management.md)).
- A boss bar per player, the player's ping, TPS and tick milliseconds, server list text.
- Outbound HTTP through `@minecraft/server-net`, and `server-admin` secrets, transfer, kick and
  the allow list, both beta.
- `/reload` hot reload, a step-counting watchdog and a memory limit per pack, a debugger.
- `addon install|update|remove|sync` from the console with `addons.json` and a sha256 lockfile, and
  a marketplace pipeline whose `addons/listings.json` is still empty.

## What is missing, by impact

Impact is how many of the ranked plugins a gap blocks, and whether they are libraries other
addons build on. A gap that blocks one library blocks every addon that would use it.

1. **A service registry and dependencies between addons.** Packs never share a `globalThis`, and
   script events arrive a tick later, so one addon cannot offer another a synchronous API.
   `addon.json` has no dependency field, and the installer only warns about a missing pack UUID.
   This blocks Vault's role, so it blocks economy, and through economy shops, auctions, jobs,
   crates and land claims. Dependencies are out of scope in the
   [placeholders plan](https://jsprismarine.dev/plans/placeholders-and-tab-list.md). No issue tracks it.
2. **Player identity and offline players.** `Player.id` is an entity id. A script cannot read a
   player's XUID, device, IP or skin, and cannot look up a player who is offline, so permissions,
   bans, balances and statistics cannot key on a stable id or change a player who left. The
   permission API's user methods all take a `Player` ([permissions plan](https://jsprismarine.dev/plans/permissions.md)).
   No issue tracks it.
3. **Durable storage beyond dynamic properties.** A dynamic property holds at most 32,767 bytes,
   and the config file is one JSON document. An economy, a block log, an auction house or a land
   claim index needs keyed records that grow without limit, written off the tick. PocketMine's
   libasynql has 58 dependents. A host-provided key-value store, or SQLite per addon, fills this
   without opening the filesystem. Saving the world for a backup is
   [#3636](https://github.com/JSPrismarine/JSPrismarine/issues/3636).
4. **Script scoreboards never reach clients.** Only `/scoreboard` sends a display slot, so no
   addon can draw a sidebar. This blocks TAB and ScoreHud, two of the most-run plugins. The
   [script API plan](https://jsprismarine.dev/plans/script-api-host.md) records it; no issue tracks it.
5. **Chat cannot be rewritten or targeted.** `chatSend`'s `message` has no setter and `targets`
   has no behavior, so formatting means cancelling and resending, and every other
   listener then sees a cancelled message. Chat prefixes change `chatDisplayName` but not
   the line. This blocks chat formatting, channels, mentions and a Discord bridge. No issue
   tracks it.
6. **`Math.random` repeats on every restart and reload.** It is seeded from the world seed. Crate
   rolls, random teleports, loot and generated ids repeat the same sequence each run. This is a
   correctness bug for every game-mode addon and costs little to fix: seed each load from the
   operating system. It is documented in [extending](https://jsprismarine.dev/guide/extending.md) but has no issue.
7. **Event priorities and observers after cancellation.** Before-event callbacks run in
   subscription order across packs. A protection addon and a logging addon cannot agree on who
   decides and who records the result, which is what WorldGuard and CoreProtect rely on. A
   monitor phase that sees the final cancelled state is enough for most uses. No issue tracks it.
8. **Chest menus.** There is no way to open a virtual container and receive slot clicks.
   DeluxeMenus runs on 15,729 servers and InvMenu has 75 dependents. Forms cover much of this on
   Bedrock, but owners coming from Java expect chest GUIs, and shops look wrong without item icons.
9. **Beta gating for owner-facing features.** Outbound HTTP, secrets, transfer, kick and the allow
   list all need the world's Beta APIs experiment and an `allowed_modules` edit. Beta modules can
   break on any BDS update. Stable `@jsprismarine/server` members for these would let an addon
   avoid beta altogether. WebSocket is [#3640](https://github.com/JSPrismarine/JSPrismarine/issues/3640),
   request limits [#3638](https://github.com/JSPrismarine/JSPrismarine/issues/3638).
10. **Commands registered only at startup, with flat parameters.** No subcommand tree, no command
    added or removed while running, no enum updated at runtime. Warps, homes and kits want enums
    that change as players create them. Essentials-style addons have dozens of subcommands.
    No issue tracks it.
11. **Per-player entities and packets.** Holograms, NPCs, nametags and disguises on Java are
    packet entities only some players see. Packet access is
    [#3639](https://github.com/JSPrismarine/JSPrismarine/issues/3639). A higher-level API for
    per-player text entities and entity visibility would cover holograms and NPCs without
    exposing the wire format, which changes each protocol. `CustomName` is not saved, and NPCs
    have no health attribute ([#3289](https://github.com/JSPrismarine/JSPrismarine/issues/3289)).
12. **Bulk world editing.** Each block read is an FFI host call, and all jobs share 100 interpreter
    steps per tick. Nobody has counted how many host calls a 100,000-block `//set` or a schematic
    paste costs. Structures drop entities and are not saved past unload
    ([#3315](https://github.com/JSPrismarine/JSPrismarine/issues/3315)). WorldEdit and
    BuilderTools are the top editing plugins on both editions.
13. **Tab list and boss bar limits.** One boss bar per player
    ([#4117](https://github.com/JSPrismarine/JSPrismarine/issues/4117)). The tab list API only sets
    display names: no header, footer, ordering or hiding.
14. **Permission node declaration, contexts and offline subjects.** An addon cannot declare its
    nodes with defaults and descriptions the way `plugin.yml` does, so `/perms` cannot list them.
    No per-world contexts.
15. **Profiling and diagnostics.** The debugger profiles by lines run. `@minecraft/diagnostics`
    throws ([#3262](https://github.com/JSPrismarine/JSPrismarine/issues/3262),
    [#3322](https://github.com/JSPrismarine/JSPrismarine/issues/3322)). An owner whose server
    slows down cannot tell which addon costs the most steps. Per-pack step counts, which the
    watchdog already keeps, would answer that.
16. **Chunk load and unload events, and inbound network.** Maps, pregeneration and vote listeners
    need them. A web map is better as a first-party feature outside the sandbox than as a script.
17. **No ban API, no inventory view of another or an offline player.** Moderation addons fall back
    to `runCommand`.
18. **Communication across levels.** Each level has its own runtime, and scripts in one level
    cannot reach another. A server with a lobby level and game levels needs one economy and one
    chat across them.

The two gaps that cost the least and help the most are the `Math.random` seed (6) and the script
scoreboard display (4): each is a local change in the script host and unblocks a top-ten
category.

## Addons to build

Each addon below is something owners would install, and each exercises one or more of the gaps
above, so it doubles as the API's acceptance test. Building them in this order means each wave
builds on the APIs the last one added.

### Wave 1: what every server installs

| Addon | What owners get | APIs it needs and tests |
| --- | --- | --- |
| `economy` | Balances, `/pay`, `/balance`, `/baltop`, a currency other addons use | Service registry (1), identity and offline lookup (2), keyed storage (3), placeholders |
| `essentials` | Homes, warps, spawn, `/tpa`, `/back`, kits, `/msg`, AFK, vanish | Subcommands and runtime enums (10), teleport, item serialization, permission node declaration (14), forms |
| `chat` | Format by group, channels, mentions, a word filter, mute | Chat rewrite and targets (5), permission meta, placeholders, identity for mutes |
| `sidebar` | ScoreHud-style sidebar from placeholder templates | Script scoreboard display (4), placeholders |

The existing `tab-list`, `standard-placeholders`, `motd`, `multiverse` and `tps-bar` addons
belong to this wave already. `tab-list` grows a header and footer once 13 lands.

### Wave 2: protection and building

| Addon | What owners get | APIs it needs and tests |
| --- | --- | --- |
| `protect` | Regions with a wand and flags (build, PvP, mob spawning, entry), land claims for players | Event priorities and a monitor phase (7), keyed storage (3), debug shapes for borders, forms |
| `blocklog` | CoreProtect-style lookup and rollback of block and container changes | Monitor events (7), container change events, high-volume storage written off the tick (3), bulk block writes (12) |
| `edit` | `//wand`, `//set`, `//replace`, `//copy`, `//paste`, undo, schematics | Bulk editing throughput (12), `runJob` budget, structure saving, selection events |

`protect` and `blocklog` installed together are the test for event ordering: the log must record
what protection allowed, never what it cancelled.

### Wave 3: menus, people and the outside world

| Addon | What owners get | APIs it needs and tests |
| --- | --- | --- |
| `shop` | A server shop and player auction house, as forms or chest menus | Chest menus (8), the economy service (1), item data and serialization |
| `holograms` | Floating text with placeholders, per player | Per-player text entities (11), placeholders, saved `CustomName` |
| `npcs` | NPCs that run commands, open a shop or transfer to a server | Per-player entity visibility (11), interact events, transfer |
| `moderation` | Bans, temp bans, warnings, mutes, `/invsee`, `/history`, by XUID | Ban API and identity (2, 17), offline inventory, storage |
| `discord` | Chat and console relay, join and death messages, linked accounts | Stable HTTP and WebSocket (9), chat events (5), secrets |
| `votes` | Vote listener and rewards | Inbound network (16), the economy service |
| `crates` | Keys, crates and rewards with a preview | Randomness (6), forms or chest menus, economy |
| `rtp` | Random teleport with biome and border rules | Randomness (6), chunk loading |

### Wave 4: proving it holds together

| Addon | What owners get | APIs it needs and tests |
| --- | --- | --- |
| `minigame` demo | A lobby level plus BedWars-style or SkyWars-style arenas that reset | Levels, cross-level communication (18), sidebar, teams, forms, transfer, world reset |
| `profiler` | `/jsp profile` naming the addons and callbacks that cost the most steps | Per-pack step counts (15) |
| `pregen` | Chunky-style pregeneration with progress | Probably a core console command rather than an addon, since it drives the generation pool |

A web map is better as a first-party feature outside the sandbox, because it needs an HTTP
server and region reads the sandbox should not have.

A demo is worth building only when it tests an API an owner-facing addon will use. Every addon
above is meant to ship. `minigame` is the exception: it ships as an example, since minigame
networks write their own.

## What makes a platform a realistic choice

From what the other platforms provide owners beyond their plugins:

- **A large catalog that reports real use.** Paper's plugins report to bStats, and Hangar lists
  4,503. JSPrismarine's `listings.json` is empty. Wave 1 and 2 above put the categories owners
  install first into it.
- **A path for each population that is moving.** PocketMine owners need forms, menus, economy
  and sidebar APIs with the same shape as the libraries they used. Owners running Paper with
  Geyser for Bedrock players need the Java client support the
  [Java multiprotocol plan](https://jsprismarine.dev/plans/java-multiprotocol.md) covers, and parity with the plugins in
  the ranked list.
- **Vanilla behavior in the core.** Endstone and LeviLamina get it from BDS. PocketMine and
  Nukkit never had it, which is why mob AI plugins rank so high there. JSPrismarine's
  data-driven vanilla work puts it in the second group.
- **A profiler owners can read.** Endstone and Paper both ship spark. Item 15 above is the
  equivalent.
- **A stable API with a stated policy.** The [versioning policy](https://jsprismarine.dev/guide/versioning.md) lists the
  addon API as a stable surface. Owners benefit most when the JSP members that fill the gaps above
  are stable, not beta, so an addon written today runs on the next release.

## Decisions

Decided on 2026-12-05:

- A web map and pregeneration past the spawn area are addons, not server features. They need the
  sandbox to offer what it does not yet: an inbound HTTP listener for the map, chunk and block
  reads for its tiles, and a way to ask for chunks to generate with progress for pregeneration.
- The profiler belongs in the developer tools, beside the script debugger, rather than in an addon.

Still open:

- Whether the service registry is synchronous across pack contexts in one QuickJS runtime, or an
  asynchronous request and reply over script events with a typed wrapper. The synchronous form is
  what Vault offers and what economy callers expect inside a before-event.
- Whether storage is a key-value API backed by LevelDB, which the server already embeds, or SQLite
  per addon. Either stays inside the sandbox.

## Reproduce

The plugin figures:

```sh
curl -s https://bstats.org/api/v1/datatable > bstats.json
curl -s 'https://api.spiget.org/v2/resources?sort=-downloads&size=30'
curl -s 'https://api.modrinth.com/v2/search?facets=[["project_type:plugin"]]&index=downloads&limit=50'
curl -s 'https://hangar.papermc.io/api/v1/projects?sort=-downloads&limit=25'
curl -s https://powernukkitx.org/api/v1/plugins
git clone --depth 1 https://github.com/poggit/release-archive
```

PocketMine-MP's end of support is on its archived repository, https://github.com/pmmp/PocketMine-MP,
and Poggit's in https://github.com/poggit/poggit. Endstone and LeviLamina counts come from
MineBBS's `endstone.88` and `levilamina.87` categories sorted by download count, and Nukkit's
from https://cloudburstmc.org/resources/?order=download_count.

The JSPrismarine audit reads the guides, plans and ADRs linked above, and
`packages/script-host/src/generated/scriptApi.ts` for the event lists. Check the scoreboard gap with:

```sh
git grep -n showDisplaySlot packages/prismarine/src
```
