Download the PHP package hypejunction/hypegamemechanics without Composer
On this page you can find all versions of the php package hypejunction/hypegamemechanics. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download hypejunction/hypegamemechanics
More information about hypejunction/hypegamemechanics
Files in hypejunction/hypegamemechanics
Package hypegamemechanics
Short Description Gamification for Elgg
License GPL-2.0
Homepage http://hypejunction.com
Informations about the package hypegamemechanics
hypeGameMechanics
User points and game mechanics for Elgg
Features
hypeGameMechanics allows your users to:
- Earn points actively for performing certain actions / activities on the site
- Earn points passively by receiving interactions on their content items (e.g. ratings, comments, likes)
- Claim badges when a set of defined criteria are met
Introduction
This plugin is governed by a set of rules
- conditions that describe an event (action).
Each rule has a unique name and defines a set of conditions that should be met
for the points to be awarded or deducted.
Rule Definitions
A set of rules can be extended / modified via the hook.
Each rule definition accepts the following parameters:
Throttling
Global settings are exposed in the plugin settings, but you also override those for individual rules.
-
- maximum number of points the user can accumulate each day with all rules
-
- maximum number of points the user can accumulate each day with a given rule
-
- maximum number of points the user can accumulate with a given rule
-
- maximum number of times the points can be collected each day with a given rule
-
- maximum number of times the points can be collected with a given rule
-
- maximum number of times the points can be collected for a single object with a given rule This can be helpful to throttle rules that apply to multiple events, such as and . Another example would be likes that only apply once to an object
-
- maximum number of points the user can collect each day by performing actions on a single object
-
- maximum number of points the user can collect by performing actions on a single object
-
- maximum number of points the user can collect with a given rule on a single object For example, you can limit the maximum number of points for commenting on an object
Badges
Badges are rewards given to users upon fulfillment of predefined conditions. Each badge can be conditioned with 4 criteria:
- A minimum number of points the user should have
- Up to 10 rule definitions with a number of recurrences for each rule
- A number of points a user should spend to uncover the badge
- Other badges that are required before a badge can be claimed
There are 3 types of badges:
-
- status badges will define current user status on the site
-
- experience badges will be displayed on the user profile to symbolize achievements/contributions
-
- surprise badges will not be visible in the badge gallery
Notes
- Administrators are exempt from point rules
Examples
To understand rule definitions, review various preset rules in
Here as some additional examples:
- Award points when user updates their profile with a location
Screenshots