Money

A Flarum extension that adds a configurable virtual currency and point ledger to your community.
Money lets a community reward, charge, redistribute, and audit points around common forum actions such as posting, replying, liking, registration, and moderator edits. It is designed for communities that want points to represent attention, contribution, participation cost, or other internal value.
This extension is based on flarum-ext-money by AntoineFr. Thanks to the original author for the excellent foundation. This fork keeps the original idea and adds more opinionated logging, redistribution, and Flarum 2.x compatibility features.
Compatibility
- Flarum:
^2.0.0-beta
- PHP:
^8.3
- Requires
flarum/likes ^2.0@beta
- Current release line:
2.x
- Flarum 1.x users should stay on the
0.x release line.
Features
- Adds a
money balance to every Flarum user.
- Displays the balance on user cards.
- Supports a custom display template, such as
[money] points.
- Can hide zero balances from the forum UI.
- Records every balance change in the
money_logs table.
- Adds a "Point Records" page under the signed-in user's profile.
- Grants new users an initial point balance when they register.
- Configures rewards or deductions for new discussions, replies, likes, and longer content.
- Can optionally redistribute reply/like deductions to the original author.
- Adds an
Edit money permission for moderators.
- Can automatically adjust balances when discussions or posts are hidden, restored, or deleted.
- Supports multi-level display, such as
Gold,Silver,Bronze.
Installation
Install with Composer:
composer require shebaoting/flarum-money:"^2.0"
php flarum migrate
php flarum cache:clear
Then enable the extension in the Flarum admin panel and configure the permission and point rules.
Updating
composer update shebaoting/flarum-money:"^2.0"
php flarum migrate
php flarum cache:clear
If your forum still requires the old package name, switch the Composer requirement first:
composer remove shebaoting/money --no-update
composer require shebaoting/flarum-money:"^2.0" -W
When upgrading from 0.x to 2.x, make sure your forum is already running Flarum 2.x beta and PHP 8.3 or newer.
Links