/npc command

Commands relating to NPCs. It comes from the server's built-in npc plugin. Read from the command registry of the Hytale 0.7.7 server.

Usage

Who can run it by default: WorldEditor and up. Permission node: hytale.npc.command.npc.

Usage/npc

<name> is required, [--name=<name>] is optional, [--name] is a flag. Type it in chat with the slash, or in the server console.

Subcommands

UsageAlsoWhat it doesWho by default
/npc all [--distance=<distance>]–Spawn all NPC rolesWorldEditor and up
/npc appearance <model>–Set the model of an NPCWorldEditor and up
/npc attack <attack…>–Set an attack sequence that will override the normal attack for this NPCWorldEditor and up
/npc attack clear–Clear overriding attack sequenceAdmin only
/npc benchmark [--roles] [--sensorsupport] [--seconds=<seconds>]–Collect role metricsWorldEditor and up
/npc blackboard–Commands relating to the NPC blackboardWorldEditor and up
/npc blackboard chunks–Get information about block positions in chunksAdmin only
/npc blackboard chunk <position>–Get information about block positions for a specific chunkAdmin only
/npc blackboard drop–Clear entire blackboard cacheAdmin only
/npc blackboard views–List all existing partial views of the blackboardAdmin only
/npc blackboard view <chunk>–Get detailed info about a given blocktype viewAdmin only
/npc blackboard blockevents–Get info about the block event viewAdmin only
/npc blackboard entityevents–Get info about the entity event viewAdmin only
/npc blackboard resourceviews–List all existing resource views of the blackboardAdmin only
/npc blackboard resourceview <chunk>–Get detailed info about a given resource viewAdmin only
/npc blackboard reserve <reserve> [--entity=<entity>]–Reserve or release an NPCAdmin only
/npc blackboard reservation [--entity=<entity>]–Check on reservation status of an NPCAdmin only
/npc clean–Remove all NPCsServerEditor and up
/npc debug–Commands relating to NPC debug flagsWorldEditor and up
/npc debug show–Show debug flags of selected NPCsAdmin only
/npc debug set <flags>–Set debug flags of selected NPCsAdmin only
/npc debug toggle <flags>–Toggle debug flags of selected NPCsAdmin only
/npc debug defaults–Enable all default debug flags on selected NPCsAdmin only
/npc debug clear–Clear debug flags on selected NPCsAdmin only
/npc debug presets [--preset=<preset>]–Show all available debug flags and presets or show all flags for a specific presetAdmin only
/npc dump [--json]–Dump all component info about an NPCWorldEditor and up
/npc flock–Add or remove NPCs from a flockWorldEditor and up
/npc flock leave–Remove all NPCs in view from their flocksAdmin only
/npc flock grab–Pull all flockless NPCs in view into the player's flockAdmin only
/npc flock join–Join the target NPC's flockAdmin only
/npc flock playerleave–Leave the current flockAdmin only
/npc freeze [--all] [--toggle] [--entity=<entity>]–Freeze an NPCWorldEditor and up
/npc give <item>–Give an item to an NPCWorldEditor and up
/npc give nothing–Clear the held item of an NPCAdmin only
/npc path <instructions>–Set a transient path on the target NPC using a series of comma-separated rotations and distancesWorldEditor and up
/npc path polygon <sides> [--length=<length>]–Set a transient path on the target NPC using a polygon with a defined number of sidesAdmin only
/npc role <role>
/npc role
–Change the role of an NPCWorldEditor and up
/npc runtests [--roles=<roles>] [--preset] [--pass] [--fail] [--abort]–Run a set of test NPCsWorldEditor and up
/npc sensorstats–Dump sensor related informationWorldEditor and up
/npc spawn <role> [--count=<count>] [--radius=<radius>] [--flags=<flags>] [--speed=<speed>] [--nonrandom] [--position=<position>] [--posOffset=<posOffset>] [--headRotation=<headRotation>] [--bodyRotation=<bodyRotation>] [--randomRotation] [--facingRotation] [--flock=<flock>] [--test] [--spawnOnGround] [--frozen] [--randomModel] [--scale=<scale>] [--bypassScaleLimits]
/npc spawn
–Spawn NPCsWorldEditor and up
/npc step [--all] [--entity=<entity>] [--dt=<dt>]–Move the NPC behavior forward a set number of execution stepsWorldEditor and up
/npc test–NPC test commandsWorldEditor and up
/npc test probe–Test Probe classes with player at current positionAdmin only
/npc thaw [--all] [--entity=<entity>]unfreezeUnfreeze an NPCWorldEditor and up
/npc message <message> [--expiration=<expiration>] [--all] [--entity=<entity>]–Send a beacon message to an NPCWorldEditor and up
/npc descriptors–Save an NPC descriptors file out to disk in the server folderWorldEditor and up

Permissions

Each node is what the server checks before it runs the command. "Who by default" is worked out from the server code's rules: the groups a command's code names get its node, a group has everything the groups below it have, Admin has every node (*), and players start in Adventurer. The permissions list has every group and node.

To give a node to a group or a player, an admin runs /perm, for example /perm group add hytale:Builder hytale.npc.command.npc.attack.clear. Changes are stored in permissions.json.

NodeChecked byWho by defaultGroups named in the code
hytale.npc.command.npc/npcWorldEditor and upWorldEditor
hytale.npc.command.npc.all/npc allWorldEditor and up–
hytale.npc.command.npc.appearance/npc appearanceWorldEditor and up–
hytale.npc.command.npc.attack/npc attackWorldEditor and up–
hytale.npc.command.npc.attack.clear/npc attack clearAdmin only–
hytale.npc.command.npc.benchmark/npc benchmarkWorldEditor and up–
hytale.npc.command.npc.blackboard/npc blackboardWorldEditor and up–
hytale.npc.command.npc.blackboard.chunks/npc blackboard chunksAdmin only–
hytale.npc.command.npc.blackboard.chunk/npc blackboard chunkAdmin only–
hytale.npc.command.npc.blackboard.drop/npc blackboard dropAdmin only–
hytale.npc.command.npc.blackboard.views/npc blackboard viewsAdmin only–
hytale.npc.command.npc.blackboard.view/npc blackboard viewAdmin only–
hytale.npc.command.npc.blackboard.blockevents/npc blackboard blockeventsAdmin only–
hytale.npc.command.npc.blackboard.entityevents/npc blackboard entityeventsAdmin only–
hytale.npc.command.npc.blackboard.resourceviews/npc blackboard resourceviewsAdmin only–
hytale.npc.command.npc.blackboard.resourceview/npc blackboard resourceviewAdmin only–
hytale.npc.command.npc.blackboard.reserve/npc blackboard reserveAdmin only–
hytale.npc.command.npc.blackboard.reservation/npc blackboard reservationAdmin only–
hytale.npc.command.npc.clean/npc cleanServerEditor and upServerEditor
hytale.npc.command.npc.debug/npc debugWorldEditor and up–
hytale.npc.command.npc.debug.show/npc debug showAdmin only–
hytale.npc.command.npc.debug.set/npc debug setAdmin only–
hytale.npc.command.npc.debug.toggle/npc debug toggleAdmin only–
hytale.npc.command.npc.debug.defaults/npc debug defaultsAdmin only–
hytale.npc.command.npc.debug.clear/npc debug clearAdmin only–
hytale.npc.command.npc.debug.presets/npc debug presetsAdmin only–
hytale.npc.command.npc.dump/npc dumpWorldEditor and up–
hytale.npc.command.npc.flock/npc flockWorldEditor and up–
hytale.npc.command.npc.flock.leave/npc flock leaveAdmin only–
hytale.npc.command.npc.flock.grab/npc flock grabAdmin only–
hytale.npc.command.npc.flock.join/npc flock joinAdmin only–
hytale.npc.command.npc.flock.playerleave/npc flock playerleaveAdmin only–
hytale.npc.command.npc.freeze/npc freezeWorldEditor and up–
hytale.npc.command.npc.give/npc giveWorldEditor and up–
hytale.npc.command.npc.give.nothing/npc give nothingAdmin only–
hytale.npc.command.npc.path/npc pathWorldEditor and up–
hytale.npc.command.npc.path.polygon/npc path polygonAdmin only–
hytale.npc.command.npc.role/npc roleWorldEditor and up–
hytale.npc.command.npc.runtests/npc runtestsWorldEditor and up–
hytale.npc.command.npc.sensorstats/npc sensorstatsWorldEditor and up–
hytale.npc.command.npc.spawn/npc spawnWorldEditor and up–
hytale.npc.command.npc.step/npc stepWorldEditor and up–
hytale.npc.command.npc.test/npc testWorldEditor and up–
hytale.npc.command.npc.test.probe/npc test probeAdmin only–
hytale.npc.command.npc.thaw/npc thawWorldEditor and up–
hytale.npc.command.npc.message/npc messageWorldEditor and up–
hytale.npc.command.npc.descriptors/npc descriptorsWorldEditor and up–

Changes by version

No change to /npc in the updates compared so far: 0.8.0-pre.7 (pre-release), 0.8.0-pre.6 (pre-release) and 0.8.0-pre.5 (pre-release).

Checked on Hytale 0.7.7, data from 28 November 2026. The page is rebuilt from the server itself with each update.

More