← Назад к ресурсам

DK NPCS

Lightweight NPC system that creates realistic player NPCs with custom skins, interactions, and command support.

Modrinth management transportation utility

Описание

## Features - Realistic NPCs using ServerPlayerEntity (same technology as Citizens) - Custom skins from any Minecraft player - Action system executed by clicking on the NPC - Floating text lines above NPCs (holograms) - Simple and intuitive commands - Lightweight and optimized for servers ## Commands All commands require permission level 2 (OP). ### Basic Management - `/npc create ` - Creates an NPC with a player's skin - `/npc remove ` - Removes an NPC - `/npc removeall` - Removes all NPCs - `/npc list` - Lists all active NPCs - `/npc rename ` - Renames an NPC ### Positioning - `/npc teleport ` - Teleports an NPC - `/npc teleport ` - Teleports with rotation ### Skin - `/npc skin ` - Changes the NPC's skin ### Actions (executed when clicking on the NPC) - `/npc action add ` - Adds an action - `/npc action remove ` - Removes an action - `/npc action list` - Lists all actions - `/npc action clear` - Removes all actions ### Text Lines (holograms) - `/npc lines add ` - Adds a line of text - `/npc lines remove ` - Removes a line - `/npc lines list` - Lists all lines - `/npc lines clear` - Removes all lines ## Types of Actions When adding actions, you can use the following formats: - `MESSAGE: ` - Sends a message to the player (supports `&` for colors) - `PLAYER: ` - Executes a command as if the player had typed it - `CONSOLE: ` - Executes a command via the console - `/` - Executes a server command Use `%player%` in actions to replace it with the player's name. ## Examples of Use ``` # Create an NPC with Notch skin /npc create Vendor Notch # Add lines of text /npc lines Vendor add &6&lStore /npc lines Vendor add &7Click to buy! # Add actions when clicking /npc action Vendor add MESSAGE: &aHello, %player%! /npc action Vendor add CONSOLE: give %player% diamond 1 # Teleport the NPC /npc teleport Vendor 100 64 200 90 0 # Change the skin /npc skin Vendor jeb_ ```