shebaoting/money

Adds a virtual currency system to the Flarum community, allowing users to earn and spend points.

Installs: 131

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:flarum-extension

0.6.0 2024-09-30 11:21 UTC

This package is auto-updated.

Last update: 2024-09-30 11:21:46 UTC


README

License Latest Stable Version Total Downloads

A Flarum extension. Adds a virtual currency system to the Flarum community, allowing users to earn and spend points.

This extension is modified from flarum-ext-money by AntoineFr. It's an excellent extension, and I want to express my gratitude to the original author. I have added some additional features that I needed and have published it here in the hope that you will enjoy it as well.

Features

  1. All original features: The extension retains all the functionalities of the original version.

  2. Points Record: Added a feature to record all points transactions.

  3. Initial Points on Registration: New users receive a set amount of points upon registration.

  4. Negative Points Deduction: If points are set to negative, they will be deducted from the user's own account. If the account has insufficient points, the operation cannot be performed.

  5. Points Redistribution: When points are negative, and the user replies to a discussion, the deducted points will be awarded to the discussion starter.

  6. Like Reward System: When points are negative, points deducted from liking a post will be awarded to the person who received the like.

Idea

The design philosophy behind this system is a metaphor for time.

Everything you do here consumes your time. If a task is completed without receiving any meaningful response, it’s as if the task was done in vain. If a person continues to engage in meaningless activities, they are essentially wasting their time.

For a similar concept, I recommend watching the movie In Time.

Contact

You can also contact me if you wish to pay something to develop the flarum extension. Email: th9th@th9th.com

Installation

Install with composer:

composer require shebaoting/money:"*"

Updating

composer update shebaoting/money:"*"
php flarum migrate
php flarum cache:clear

Links