fancynpcs, docs: update docs for commands

This commit is contained in:
Oliver
2025-03-29 19:31:21 +01:00
parent c9fb39adcd
commit a0dcb5b60a
2 changed files with 18 additions and 2 deletions

View File

@@ -151,6 +151,13 @@ Changes whether the NPC should turn to the player when in range.
- **Syntax**: `/npc turn_to_player (npc) [state]`
- **Permissions**: `fancynpcs.command.npc.turn_to_player`
### Turn npc to player distance
Changes the distance at which the NPC should turn to the player.
- **Syntax**: `/npc turn_to_player_distance (npc) [distance]`
- **Permissions**: `fancynpcs.command.npc.turn_to_player_distance`
### Move npc to your location
Teleports specified NPC to your location.
@@ -165,6 +172,13 @@ Teleports NPC to specified location.
- **Syntax**: `/npc move_to (npc) (x) (y) (z) [world] [--look-in-my-direction]`
- **Permissions**: `fancynpcs.command.npc.move_to`
### Center npc location
Centers the NPC to the specified location.
- **Syntax**: `/npc center (npc)`
- **Permissions**: `fancynpcs.command.npc.center`
### Show nearby npcs
Lists all NPCs in your world. Can be filtered and sorted.

View File

@@ -126,7 +126,8 @@ messages:
npc_show_in_tab: "<dark_gray> <gray>Syntax: {primaryColor}/npc show_in_tab {secondaryColor}(npc) (state)"
npc_skin: "<dark_gray> <gray>Syntax: {primaryColor}/npc skin {secondaryColor}(npc) (@none | @mirror | name | uuid | placeholder | url | file name) [--slim]"
npc_teleport: "<dark_gray> <gray>Syntax: {primaryColor}/npc teleport {secondaryColor}(npc)"
npc_turn_to_player: "<dark_gray> <gray>Syntax: {primaryColor}/npc turn_to_player {secondaryColor}(npc) (state) [distance]"
npc_turn_to_player: "<dark_gray> <gray>Syntax: {primaryColor}/npc turn_to_player {secondaryColor}(npc) (state)"
npc_turn_to_player_distance: "<dark_gray> <gray>Syntax: {primaryColor}/npc turn_to_player_distance {secondaryColor}(npc) (state)"
npc_type: "<dark_gray> <gray>Syntax: {primaryColor}/npc type {secondaryColor}(npc) (type)"
npc_visibility_distance: "<dark_gray> <gray>Syntax: {primaryColor}/npc visibility_distance {secondaryColor}(npc) (always_visible | default | not_visible | distance)"
@@ -177,7 +178,8 @@ messages:
- "<dark_gray> <hover:show_text:'<gray>Changes whether the NPC is shown in the player-list. This works only on NPCs of PLAYER type.<newline><newline>{errorColor}Re-connecting to the server might be required for changes to take effect.'>{primaryColor}/npc show_in_tab {secondaryColor}(npc) (state)"
- "<dark_gray> <hover:show_text:'<gray>Changes skin of the NPC.<newline><gray>Supports PlaceholderAPI and MiniPlaceholders.<newline><newline>{warningColor}@none <dark_gray>- <gray>removes the skin<newline>{warningColor}@mirror <dark_gray>- <gray>mirrors player skin<newline>{warningColor}(name) <dark_gray>- <gray>name of any player<newline>{warningColor}(url) <dark_gray>- <gray>url of the skin texture'>{primaryColor}/npc skin {secondaryColor}(npc) (@none | @mirror | name | url) [--slim]"
- "<dark_gray> <hover:show_text:'<gray>Teleports you to the specified NPC.'>{primaryColor}/npc teleport {secondaryColor}(npc)"
- "<dark_gray> <hover:show_text:'<gray>Changes whether the NPC should turn to the player when in range. Optionally specify a custom turn distance.'>{primaryColor}/npc turn_to_player {secondaryColor}(npc) (state) [distance]"
- "<dark_gray> <hover:show_text:'<gray>Changes whether the NPC should turn to the player when in range.'>{primaryColor}/npc turn_to_player {secondaryColor}(npc) (state)"
- "<dark_gray> <hover:show_text:'<gray>Changes the distance at which the NPC should turn to the player.'>{primaryColor}/npc turn_to_player_distance {secondaryColor}(npc) (distance)"
- "<dark_gray> <hover:show_text:'<gray>Changes the type of the NPC.'>{primaryColor}/npc type {secondaryColor}(npc) (type)"
- "<dark_gray> <hover:show_text:'<gray>Changes the visibility distance of the NPC.'>{primaryColor}/npc visibility_distance {secondaryColor}(npc) (default | distance | ...)"