ernestdefoe/armory 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

ernestdefoe/armory

Composer 安装命令:

composer require ernestdefoe/armory

包简介

Armory for Flarum 2 — Battle.net sign-in + a full World of Warcraft character armory: class-colored character cards on profiles and a tabbed character page (gear with item tooltips + 3D render, stats, talents, Mythic+, raids, professions, PvP, reputations, achievements). Dependency-free Battle.net O

README 文档

README

A World of Warcraft armory for Flarum 2. Members sign in with Battle.net, and the extension pulls their characters straight from the Blizzard API — gear with hover tooltips, stats, talents, Mythic+/raid progress, professions, PvP ratings, reputations and collections — on a tabbed, theme-aware character page that looks at home in light or dark mode.

Free and open source (MIT). The companion Convoro build shares the same data engine.

Features

  • Battle.net OAuth — one click to connect; characters sync automatically.
  • Full character page at /armory with tabs:
    • Gear — every slot with a big 3D character render and Wowhead-style item tooltips (item level, stats, sockets, set bonuses, sell price).
    • Stats — primary + secondary stats, defenses and resources.
    • Talents — active spec, talents, and the in-game loadout import string.
    • PvE — Mythic+ rating and best weekly runs, plus raid progress.
    • Professions — primary and secondary, with tier skill.
    • PvP — honor level and rated 2v2 / 3v3 / RBG ratings.
    • Reputations and Achievements / Collections (points, mounts, pets).
  • Roster sidebar to switch between your characters; pick a main, hide alts.
  • Role-Play tie-in — if ernestdefoe/roleplay is installed, an Add to Role-Play button imports a WoW character as a playable Role-Play character: a combat sheet (HP + might/agility/wits/heart scaled from item level and primary stats) plus a deck of signature class ability cards whose damage dice scale with item level. Re-run after a gear upgrade to rescale.
  • Theme-aware — colors follow your forum's light/dark scheme.
  • Caching — character data is cached so the page stays fast and stays well under Blizzard's rate limits.

Setup

  1. Install:
    composer require ernestdefoe/armory
    php flarum migrate
    php flarum cache:clear
  2. Create a Battle.net API client at develop.battle.net/access/clients. Set the Redirect URL to https://YOUR-FORUM/auth/battlenet/callback.
  3. In Admin → Armory, paste the Client ID and Client Secret, and choose your default region (Americas / Europe / Korea / Taiwan).
  4. Members open Armory from the navigation and click Connect Battle.net.

How it works

Public character data (gear, stats, raids, …) is fetched with an app-level client-credentials token, so refreshes never require the member to sign in again. The member's wow.profile token is used only once — to discover which characters belong to them.

License

MIT © ernestdefoe

统计信息

  • 总下载量: 1
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-07-01

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固