插件中文资料库
中文说明、玩家点评、适用场景和替代推荐,方便快速判断是否适合你。
- 界面布局、头像框、姓名板和动作条优化
Krowi's Currency 插件下载与使用指南
本页整理了 Krowi's Currency 的功能用途、适用人群、安装方法和常见问题,方便玩家快速判断是否需要安装。
适合谁用
Krowi's Currency 是一款 运行库 类插件,适合需要优化界面、提升操作效率或补充游戏信息提示的魔兽世界玩家。
基本信息
- 插件作者:Krowi
- 插件分类:运行库
- 适配版本:12.0.0,11.2.7,1.15.8,5.5.3,2.5.5
- 累计下载:7,738
安装方法
- 点击上方下载按钮获取 Krowi's Currency插件文件。
- 解压后将插件文件夹放入 World of Warcraft/_retail_/Interface/AddOns 目录。
- 重启游戏或在角色界面点击插件,确认 Krowi's Currency 已启用。
- 如果插件不生效,请检查版本是否匹配,或关闭同类冲突插件后重试。
使用建议
Krowi's Currency 安装后建议先在角色界面确认已启用,进入游戏后根据插件提供的命令、小地图按钮或设置面板进行调整。如遇到报错,可先单独启用该插件排查冲突。
Krowi's Currency 常见问题
Krowi's Currency 适合需要 运行库 类功能的玩家,特别是希望提升游戏便利性、界面管理或战斗信息获取效率的用户。
下载后解压到 Interface/AddOns 目录,然后重启游戏并在角色界面启用插件。
常见原因是目录多套一层、游戏版本不匹配、依赖插件缺失或同类插件冲突。
可以查看本页的替代插件推荐和相关插件区域,按下载量和分类选择同类工具。
插件 AI 问答
可以问:这个插件正式服能用吗、和 DBM 冲突吗、怎么设置、有没有替代插件。
Krowi's Currency 是一款魔兽世界插件,主要用于插件库、数据接口或依赖支持。建议根据自己的版本和插件环境先测试兼容性。
插件用途
Krowi's Currency 主要面向需要运行库功能的玩家,用来改善游戏体验、减少重复操作或补充默认界面没有直接提供的信息。
适用场景
- 插件库、数据接口或依赖支持
使用建议
安装后建议先在角色选择界面或插件管理器中确认已启用,再进入游戏测试是否与现有整合包、WA 和其他插件冲突。如遇报错,可以先禁用同类插件排查。
A comprehensive currency formatting library for World of Warcraft addon development, providing flexible and customizable formatting for in-game currency (gold, silver, copper) and other currency values.
Features
Currency Formatting (Krowi_Currency_2)
- Money Formatting: Format copper values into gold, silver, and copper with customizable display options
- Custom Separators: Support for comma, period, or space thousands separators
- Abbreviations: Abbreviate large values with "k" (thousands) or "m" (millions) - automatically localized
- Color Options: Optional colored currency text matching WoW's visual style
- Icon Support: Display currency with WoW's official coin icons or text labels
- Flexible Display: Show gold only or include silver and copper
- Menu Generation: Automatically generate options menus for currency and money settings
- Krowi LibMan: Integrated with Krowi's Library Manager for dependency management
Usage Examples
Basic Setup
local currency = KROWI_LIBMAN:GetLibrary('Krowi_Currency_2')
Format Money
-- Format 1234567 copper (123g 45s 67c)
local formatted = currency:FormatMoney(1234567, {
ThousandsSeparator = "Comma", -- "Comma", "Period", "Space", or ""
MoneyAbbreviate = "None", -- "None", "1k", or "1m"
MoneyColored = true, -- Colorize currency
MoneyLabel = "Text", -- "None", "Text", or "Icon"
MoneyGoldOnly = false, -- Show only gold
TextureSize = 14 -- Icon size (if using icons)
})
-- Result: "|cffffd100123g|r |cffe6e6e645s|r |cffc8602c67c|r" (colored)
-- Note: Labels are automatically localized based on MoneyLabel setting
Format Currency
-- Format arbitrary currency values
local formatted = currency:FormatCurrency(1500000, {
ThousandsSeparator = "Comma",
CurrencyAbbreviate = "1m" -- Abbreviate millions
})
-- Result: "1m"
API Reference
Currency Functions
| Function | Parameters | Returns | Description |
|---|---|---|---|
FormatMoney |
value, options |
string | Formats copper value into gold/silver/copper with custom options and localized abbreviations |
FormatCurrency |
value, options |
string | Formats numeric currency value with separators and localized abbreviations |
CreateCurrencyOptionsMenu |
parentMenu, menuBuilder, options, addTitle |
void | Generates a submenu for currency abbreviation options. Set addTitle to false to skip title creation (defaults to true) |
CreateMoneyOptionsMenu |
parentMenu, menuBuilder, options, addTitle |
void | Generates a submenu for money formatting options including label, abbreviation, separator, and display settings. Set addTitle to false to skip title creation (defaults to true) |
Options Table
FormatMoney Options
| Option | Type | Values | Description |
|---|---|---|---|
ThousandsSeparator |
string | "Comma", "Period", "Space", "" | Thousands separator style |
MoneyAbbreviate |
string | "None", "1k", "1m" | Abbreviation level |
MoneyColored |
boolean | true/false | Whether to colorize currency |
MoneyLabel |
string | "None", "Text", "Icon" | Label display type (localized automatically) |
MoneyGoldOnly |
boolean | true/false | Show only gold portion |
TextureSize |
number | any | Icon texture size (default: 14) |
FormatCurrency Options
| Option | Type | Values | Description |
|---|---|---|---|
ThousandsSeparator |
string | "Comma", "Period", "Space", "" | Thousands separator style |
CurrencyAbbreviate |
string | "None", "1k", "1m" | Abbreviation level |
Examples
Gold Only Display
local gold = currency:FormatMoney(1234567, {
MoneyGoldOnly = true,
MoneyColored = true,
MoneyLabel = "Text"
})
-- Result: "|cffffd100123g|r"
Icon Display
local withIcons = currency:FormatMoney(1234567, {
MoneyLabel = "Icon",
TextureSize = 16
})
-- Result: WoW's official gold, silver, and copper icons with values
Abbreviated Currency
local abbreviated = currency:FormatCurrency(1500000, {
ThousandsSeparator = "Comma",
CurrencyAbbreviate = "1m"
})
-- Result: "1m"
local thousands = currency:FormatCurrency(5500, {
CurrencyAbbreviate = "1k"
})
-- Result: "5k"
Menu Generation
-- Create currency options menu (for use with a menu builder system)
local parentMenu = {} -- Your menu system's parent menu
local menuBuilder = {} -- Your menu builder object with required methods
local options = {} -- Your addon's options table
currency:CreateCurrencyOptionsMenu(parentMenu, menuBuilder, options)
-- Creates submenu with:
-- - Currency Abbreviate (None/1k/1m)
currency:CreateMoneyOptionsMenu(parentMenu, menuBuilder, options)
-- Creates submenu with:
-- - Money Label (None/Text/Icon)
-- - Money Abbreviate (None/1k/1m)
-- - Thousands Separator (Space/Period/Comma)
-- - Money Gold Only (checkbox)
-- - Money Colored (checkbox)
Note: Abbreviations are automatically localized (e.g., "k/m" for English, "T/M" for German, "千/百万" for Chinese).
Use Cases
- Display player gold in custom UI frames
- Format auction house prices
- Show currency costs in tooltips
- Display quest rewards
- Format currency in chat messages
- Create custom currency displays with consistent formatting
- Generate options menus for currency/money formatting settings in your addon
Requirements
- Krowi's Library Manager (KROWI_LIBMAN)
用户评价
暂无 / 5,0 条评价相关推荐
继续看看这些内容