魔兽科普汇聚WoW玩家们专属综合资讯门户网站!

Creature Display DB

Creature Display DB 是一款魔兽世界插件,主要用于开发工具相关功能。建议根据自己的版本和插件环境先测试兼容性。

免费下载 举报 收藏插件
插件详情

插件中文资料库

中文说明、玩家点评、适用场景和替代推荐,方便快速判断是否适合你。

玩家一句话点评
Creature Display DB 适合需要开发工具、界面增强或玩法辅助的玩家,建议结合自己的职业和版本先测试再长期使用。
适用场景
  • 界面布局、头像框、姓名板和动作条优化

Creature Display DB 插件下载与使用指南

本页整理了 Creature Display DB 的功能用途、适用人群、安装方法和常见问题,方便玩家快速判断是否需要安装。

适合谁用

Creature Display DB 是一款 开发工具 / 数据导出 / 运行库 / 其他插件 / 插件扩展 类插件,适合需要优化界面、提升操作效率或补充游戏信息提示的魔兽世界玩家。

基本信息

  • 插件作者:psyny
  • 插件分类:开发工具 / 数据导出 / 运行库 / 其他插件 / 插件扩展
  • 适配版本:12.0.0,12.0.1
  • 累计下载:6,322

安装方法

  1. 点击上方下载按钮获取 Creature Display DB插件文件。
  2. 解压后将插件文件夹放入 World of Warcraft/_retail_/Interface/AddOns 目录。
  3. 重启游戏或在角色界面点击插件,确认 Creature Display DB 已启用。
  4. 如果插件不生效,请检查版本是否匹配,或关闭同类冲突插件后重试。

使用建议

Creature Display DB 安装后建议先在角色界面确认已启用,进入游戏后根据插件提供的命令、小地图按钮或设置面板进行调整。如遇到报错,可先单独启用该插件排查冲突。

Creature Display DB 常见问题

这个插件适合哪些玩家?

Creature Display DB 适合需要 开发工具 / 数据导出 / 运行库 / 其他插件 / 插件扩展 类功能的玩家,特别是希望提升游戏便利性、界面管理或战斗信息获取效率的用户。

下载后怎么安装?

下载后解压到 Interface/AddOns 目录,然后重启游戏并在角色界面启用插件。

为什么插件不显示或不生效?

常见原因是目录多套一层、游戏版本不匹配、依赖插件缺失或同类插件冲突。

有没有类似插件可以替代?

可以查看本页的替代插件推荐和相关插件区域,按下载量和分类选择同类工具。

插件 AI 问答

可以问:这个插件正式服能用吗、和 DBM 冲突吗、怎么设置、有没有替代插件。

Creature Display DB 是一款魔兽世界插件,主要用于开发工具相关功能。建议根据自己的版本和插件环境先测试兼容性。

插件用途

Creature Display DB 主要面向需要开发工具功能的玩家,用来改善游戏体验、减少重复操作或补充默认界面没有直接提供的信息。

适用场景

  • 开发工具相关功能

使用建议

安装后建议先在角色选择界面或插件管理器中确认已启用,再进入游戏测试是否与现有整合包、WA 和其他插件冲突。如遇报错,可以先禁用同类插件排查。

CreatureDisplayDB

World of Warcraft Addon for Developers

The goal of this addon is to help other addon developers to get NPCs NPCID and DISPLAYID by NPC Name.

This addon has a database of NPC Ids and Display Ids, it does not get it from ingame npcs directly.

For now, the database used is WAGO only. But I might add more in the future.

Creature Display Data

The creature display data is an object with 3 fields:

  • name: the name of the creature
  • npc_ids: a list of NPC Ids for that creature, ordered desc. (in theory, the first is the newest)
  • display_ids: a list of Display Ids for that creature, ordered desc. (in theory, the first is the newest)

How to use this addon

In your addon script, you can call this addon by a code like:

local getCreatureNpcID(name)

  if CreatureDisplayDB then

    # First, lets check if the creature has a fixed NPC Id for the current zone
    # This part can be skipped if your usecase dont care for npc ids locked by zone

    local creatureId = CreatureDisplayDB:GetFixedNpcIdForCurrentZone(npcName)
    if creatureId then
      return creatureId
    end

    # Lets look for other npc ids for this creature

    local npcIds = CreatureDisplayDB:GetNpcIdsByName(name)
    if npcIds then

      # Lets return the latest npcid (first on the list)
      return npcIds[0]

    end    

  end

  # Creature not found in the database or addon not found

  return nil

end

See below the other functions this addon provides

Main Functions

1. CreatureDisplayDB:GetCreatureDisplayDataByName(name)

Retrieves display data for a creature based on its name from the database.

  • Parameters: name (string) – The name of the creature.
  • Returns: Table with display data or nil if the name is not found.

2. CreatureDisplayDB:GetCreatureDisplayDataById(npcid)

Retrieves display data for a creature based on its NPC ID from the database.

  • Parameters: npcid (number) – The NPC ID of the creature.
  • Returns: Table with display data or nil if the NPC ID is not found.

3. CreatureDisplayDB:GetNpcIdByName(name, latest)

Retrieves an NPC ID based on the given creature name.

  • Parameters:
    • name (string) – The name of the creature.
    • latest (boolean) – If true, returns the latest NPC ID. If false, returns a random NPC ID.
  • Returns: NPC ID (number) or nil if the name is not found.

4. CreatureDisplayDB:GetNpcIdsByName(name)

Retrieves a list of all NPC IDs associated with the given creature name.

  • Parameters: name (string) – The name of the creature.
  • Returns: Table of NPC IDs or nil if the name is not found.

5. CreatureDisplayDB:GetNpcNameById(npcid)

Retrieves the name of a creature based on its NPC ID.

  • Parameters: npcid (number) – The NPC ID of the creature.
  • Returns: Name (string) of the creature or nil if the NPC ID is not found.

6. CreatureDisplayDB:GetDisplayIdByName(name, latest)

Retrieves a display ID based on the given creature name.

  • Parameters:
    • name (string) – The name of the creature.
    • latest (boolean) – If true, returns the latest display ID. If false, returns a random display ID.
  • Returns: Display ID (number) or nil if the name is not found.

7. CreatureDisplayDB:GetDisplayIdsByName(name)

Retrieves a list of all display IDs associated with the given creature name.

  • Parameters: name (string) – The name of the creature.
  • Returns: Table of display IDs or nil if the name is not found.

8. CreatureDisplayDB:GetDisplayIdByNpcId(npcid, latest)

Retrieves a display ID based on the given NPC ID.

  • Parameters:
    • npcid (number) – The NPC ID of the creature.
    • latest (boolean) – If true, returns the latest display ID. If false, returns a random display ID.
  • Returns: Display ID (number) or nil if the NPC ID is not found.

9. CreatureDisplayDB:GetDisplayIdsByNpcId(npcid)

Retrieves a list of all display IDs associated with the given NPC ID.

  • Parameters: npcid (number) – The NPC ID of the creature.
  • Returns: Table of display IDs or nil if the NPC ID is not found.

10. CreatureDisplayDB:GetFixedNpcIdForZone(zoneName, zoneId, npcName)

Retrieves a fixed NPC ID for a specific zone and NPC name.

  • Parameters:
    • zoneName (string) – The name of the zone.
    • zoneId (number, optional) – The ID of the zone. Defaults to 0 if not provided.
    • npcName (string) – The name of the NPC.
  • Returns: Fixed NPC ID (number) or nil if no matching NPC ID is found.

11. CreatureDisplayDB:GetFixedNpcIdForCurrentZone(npcName)

Retrieves a fixed NPC ID for the current zone based on the player's location.

  • Parameters: npcName (string) – The name of the NPC.
  • Returns: Fixed NPC ID (number) or nil if no matching NPC ID is found.

Slash Command

/CreatureDisplayDBTargetInfo

A support command that prints target NPC display information. Useful for debugging and gathering information about the current target.

  • Output:
    • Name: The name of the target.
    • Server: The server of the target.
    • ID: The NPC ID of the target.
    • GUID: The GUID of the target.
    • Zone Name: The name of the current zone.
    • Zone ID: The ID of the current zone.

Notes

...

CurseForge: https://www.curseforge.com/wow/addons/creature-display-db

用户评价

暂无 / 5,0 条评价
免费插件下载后可以评价;付费插件 / WA 购买后可以评价;委托订单完成后可以评价。
暂无评价。

相关推荐

继续看看这些内容

全站搜索