sunlab / wn-levelup-plugin
A Level plugin for WinterCMS
Installs: 44
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 1
Forks: 1
Type:winter-plugin
Requires
- php: >=7.0
- composer/installers: ~1.0
- sunlab/wn-measures-plugin: ^v1.0.42
- winter/wn-user-plugin: ^2.0
This package is auto-updated.
Last update: 2024-12-18 04:15:36 UTC
README
This plugin allows increase the user's experience by creating a game-levels system. You configure some event that are fired by your users that will make them win experience points. User's profile can now integrate an experience gauge, and you can create a leaderboard page.
Installation
This plugin can be installed using composer:
composer require sunlab/wn-levelup-plugin
How to use
From the backend, create all the levels you want. Then create some "experience increasers": they are some event that should increase the user experience when they are fired. Experience increaser "measure name" attribute should correspond to one previously set with SunLab.Measures.
Components
The plugin provides two components:
- Experience gauge, that could be inserted into a public user's profil page or an account page
- Leaderboard, which displays the most experienced user in a descendant order
Note on gamification plugin
Totally optionally, this plugin fit perfectly with the SunLab.Gamification repository plugin already released, both are based on SunLab.Measures and are designed to increase the user experience providing a game-feeling.
TODO-List:
- Implements a user's experience win history component to let user knows precisely when he won all his points