forumaker / arena
Arena battle system for Flarum — card-based PvP duels
Package info
Language:TypeScript
Type:flarum-extension
pkg:composer/forumaker/arena
Requires
- php: ^8.3
- flarum/core: ^2.0
README
Adds a card-based PvP battle system — members build a deck, challenge each other and fight turn by turn right inside a discussion. Supports Flarum 2.x
🚀 Features
- 🎴 Unlockable card backs tied to win thresholds
- 🤝 Propose and accept draws or surrender mid-battle
- 🎨 Customizable colors and icons for elements and bonuses
- 🔥 Element advantage cycle grants bonus attack and defense
- ✨ A dozen-plus bonus effects — heal, shield, poison, reflect, drain, and others
- ⏰ Notifications and visibility settings for the stats badge on the user profile
- 🛠️ Full admin panel — manage cards, battles, card backs, and recalculate statistics
📸 Screenshots
User profile. The «Player parameters» block is only visible to moderators
A system post that appears after both players have submitted their cards blindly
A card slider with support for surrender and draw
An admin panel for managing cards, card backs, and battles
A modal shown when starting a battle if the deck hasn't been built yet in the profile
📦 Installation
Run in your Flarum root directory:
composer require forumaker/arena:"*"
🔗 Links
ℹ️ Information
About support
This extension is under minimal maintenance. I'll fix bugs upon request, but new features will only be added if I decide to release an update
Where to get cards for the game
I hand-drew the artwork for my cards without using AI. You can do the same and come up with your own cards, or use characters from existing universes
❤️ Special Thanks
- The admin design and recalculation system are taken from fof/badges by Hüseyin Filiz
- If you enjoyed this extension, consider giving it a star on GitHub 🌟