diff --git a/src/net/citizensnpcs/command/command/NPCCommands.java b/src/net/citizensnpcs/command/command/NPCCommands.java index 91560dbe5..ef69a7f98 100644 --- a/src/net/citizensnpcs/command/command/NPCCommands.java +++ b/src/net/citizensnpcs/command/command/NPCCommands.java @@ -32,6 +32,17 @@ public class NPCCommands { npcManager = plugin.getNPCManager(); characterManager = plugin.getCharacterManager(); } + + @Command( + aliases = { "npc" }, + desc = "Show basic NPC information", + max = 0, + permission = "npc.info") + public void showInfo(CommandContext args, Player player, NPC npc) { + Messaging.send(player, StringHelper.wrapHeader(npc.getName())); + Messaging.send(player, " ID: " + npc.getId()); + Messaging.send(player, " Character: " + npc.getId()); + } @Command( aliases = { "npc" },