/nme spawn it needs no player, so it works from the console, a command block, or any plugin that runs commands as console.
Usage
sa Permission: nmentities.spawnat Player-only: no
Arguments
Examples
Why it exists
/nme spawn answers “put one in front of me” and needs a player. This one answers “put one exactly here” and names its world outright — which is what lets a custom item from Nexo or ItemsAdder, a command block, or a scripting plugin spawn an NMEntities mob without either side knowing the other exists.
Notes
- The chunk is loaded before spawning. Coordinates given outright are routinely somewhere nobody is standing, and an entity cannot be added to an unloaded chunk — without this the command would silently do nothing exactly where scripted spawns tend to point.
- On Folia the spawn runs on the region that owns those coordinates, so it works from the console, which belongs to no region.
- The command confirms with the world and block coordinates it actually spawned at.
- Same guards as
/nme spawn: an unknown or disabled mob id, or a mob whose model isn’t loaded, is reported rather than half-spawned.

