promotional bannermobile promotional banner

PeaversCommons

Commons library for Peavers addons. All Peavers addons require this library.

PeaversCommons

A common library for Peavers addons providing shared utilities and UI components.

Website: peavers.io | Addon Backup: vault.peavers.io | Issues: GitHub

Features

  • Standardized event handling
  • Slash command registration
  • Utility functions (formatting, table operations, player info)
  • Common UI components and frame utilities
  • Configuration UI framework
  • Settings integration
  • Patron support system

Installation

  1. Download from CurseForge
  2. This library is required by other Peavers addons

For Developers

Add as a dependency in your .toc file:

## Dependencies: PeaversCommons

Basic Usage

local addonName, MyAddon = ...
local PeaversCommons = _G.PeaversCommons

-- Initialize addon
PeaversCommons.Events:Init(addonName, function()
    -- Register events
    PeaversCommons.Events:RegisterEvent("PLAYER_ENTERING_WORLD", function()
        -- Your event handler
    end)
end)

-- Register slash commands
PeaversCommons.SlashCommands:Register(addonName, "myslash", {
    default = function() end,
    config = function() end
})

Available Modules

  • Events: Event handling and OnUpdate timers
  • SlashCommands: Slash command registration
  • Utils: Debug, Print, formatting, table utilities
  • FrameUtils: UI element creation (buttons, sliders, dropdowns, etc.)
  • ConfigUIUtils: Settings panel creation
  • ConfigManager: Configuration handling with defaults
  • SettingsUI: WoW Settings panel integration
  • Patrons: Patron support system

The PeaversCommons Team

profile avatar
Owner
  • 6
    Followers
  • 14
    Projects
  • 1.2M
    Downloads

More from PeaversView all

  • PeaversCurrencyData project image

    PeaversCurrencyData

    • 196.4K
    • Addons

    Real world currency and WoW token price updated hourly

    • 196.4K
    • May 17, 2026
    • Addons
  • PeaversTalentsData project image

    PeaversTalentsData

    • 799.6K
    • Addons

    Data library of daily updated talent export strings based on Archon, Wowhead, and Icy Veins.

    • 799.6K
    • May 17, 2026
    • Addons
    • +1
  • PeaversBestInSlotData project image

    PeaversBestInSlotData

    • 104.0K
    • Addons

    A data library addon for World of Warcraft that provides Best in Slot gear recommendations for all classes and specs.

    • 104.0K
    • May 17, 2026
    • Addons
  • PeaversDynamicStats project image

    PeaversDynamicStats

    • 31.8K
    • Addons

    Provides visual bars representing your secondary stats. These bars dynamically update during combat letting you know exactly if you're about to do huge damage.

    • 31.8K
    • May 17, 2026
    • Addons
    • +1
  • PeaversCurrencyData project image

    PeaversCurrencyData

    • 196.4K
    • Addons

    Real world currency and WoW token price updated hourly

    • 196.4K
    • May 17, 2026
    • Addons
  • PeaversTalentsData project image

    PeaversTalentsData

    • 799.6K
    • Addons

    Data library of daily updated talent export strings based on Archon, Wowhead, and Icy Veins.

    • 799.6K
    • May 17, 2026
    • Addons
    • +1
  • PeaversBestInSlotData project image

    PeaversBestInSlotData

    • 104.0K
    • Addons

    A data library addon for World of Warcraft that provides Best in Slot gear recommendations for all classes and specs.

    • 104.0K
    • May 17, 2026
    • Addons
  • PeaversDynamicStats project image

    PeaversDynamicStats

    • 31.8K
    • Addons

    Provides visual bars representing your secondary stats. These bars dynamically update during combat letting you know exactly if you're about to do huge damage.

    • 31.8K
    • May 17, 2026
    • Addons
    • +1