Manarion Guild Contributions Logger

Fetch guild contributions via Manarion public API (no UI clicking) and export totals. Sortable table, totals row, CSV export, and number-abbreviation toggle.

作者
Owchy
今日安裝
0
安裝總數
3
評價
0 0 0
版本
2.2.0
建立日期
2025-08-10
更新日期
2025-08-13
尺寸
20.1 KB
授權條款
未知
腳本執行於

Manarion Guild Contributions Logger

Version: 2.2.0
Compatible with: manarion.com

A powerful Tampermonkey userscript that fetches and analyzes guild contribution data from the PBBG Manarion—now rebuilt to use the official Manarion API for maximum speed and reliability.


✨ Features

  • Direct API Access – No more slow page clicks; retrieves data instantly via /guilds/{id} endpoint.
  • Polished Results Table – Sort, filter, and search contributions by member or resource type.
  • Totals Row – Automatically calculates totals for all visible rows.
  • Export to CSV – Download your filtered or full dataset in one click.
  • Persistent Settings – Saves your Guild ID and API key for quick reuse.
  • Runs Anywhere – Works from any page on manarion.com.

📦 Installation

  1. Install Tampermonkey (or similar userscript manager).
  2. Click here to install the script.
  3. Refresh any manarion.com page after installation.

🔑 Setup

Please do not give your API ID or Key to anyone that you do not trust

  1. Find your Guild ID – Available on your guild page URL or in the /guilds endpoint.
  2. Get your API Key – As a guild leader, view the guild info page to copy your API key.
  3. Enter both into the toolbar on any manarion.com page.

🚀 Usage

  1. Open any manarion.com page.
  2. Enter your Guild ID and API Key into the toolbar.
  3. Click Fetch via API.
  4. View, sort, and filter contributions.
  5. Export results via the Export CSV button.

📊 Data Fields

The script collects the following contribution categories (matching in-game labels):

  • Mana Dust
  • Elemental Shards
  • Codex
  • Fish
  • Wood
  • Iron
  • Battle XP

⚡ Advantages over the Old Version

  • Much faster – No UI interaction delays.
  • More reliable – No dependence on fragile DOM selectors.
  • Better analysis – Built-in filters, sorting, and totals.

📜 Changelog

2.2.0 — Abbreviated numbers + simpler report

  • New Numbers toggle: Abbrev (K/M/B/T) ↔ Raw (defaults to Abbrev)
  • Removed per-column filters; kept sorting and totals
  • CSV always exports raw numbers regardless of the view
  • Minor UI copy updates

2.1.0 — Map numeric contribution codes → labels

  • Maps API numeric keys to columns: 1→Mana Dust, 2→Elemental Shards, 3→Codex, 7→Fish, 8→Wood, 9→Iron, 42→Battle XP
  • Fix: CSV newlines, regex escape in TitleCase converter

2.0.5 — Preserve Member IDs + Raw JSON viewer

  • Keeps member IDs when Members is an object-map; adds ID column to table/CSV
  • Adds Raw JSON button to inspect response after fetch
  • Clear hint when contributions are missing from the payload

v2.0.0

  • Rewritten to use the official Manarion API.
  • Added sortable/filterable table with totals.
  • Persistent Guild ID & API Key.
  • CSV export includes visible filters.
  • Removed UI click automation (no more “menu didn’t open” issues).