/npc role
Change the role of an NPC
Syntax
/npc role <role> [--entity=<value>] [--world=<value>]/npc role [--entity=<value>] [--world=<value>]
- Main commandthe command name that starts it all
- SubcommandSubcommand: an additional word after the command
- Requiredrequired, in a fixed order
- Optionaloptional, with --name=value
Arguments
/npc role <role> [--entity=<value>] [--world=<value>]
Change the role of an NPC
| Argument | Type | Type | Description |
|---|---|---|---|
role | Required | The role to assign to the NPC | |
--entity | Optional | UUID A UUID representing an entity id | The entity to target |
--world | Optional | World A world folder name | The world to operate this command on |
/npc role [--entity=<value>] [--world=<value>]
Display the role of an NPC
| Argument | Type | Type | Description |
|---|---|---|---|
--entity | Optional | UUID A UUID representing an entity id | The entity to target |
--world | Optional | World A world folder name | The world to operate this command on |
Permissions
- Permission
hytale.npc.command.npc.role- Default group
- WorldEditorfrom the parent command
The groups build on one another: Adventurer, Builder, WorldEditor, ServerEditor, Admin. Higher groups inherit the permissions of lower ones; new players are Adventurers, and admins (OP) can do everything.