=== Gamilu Fair Play ===
Contributors: okmultimedia
Tags: gamification, moderation, points, block users, community rules
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 7.4
Requires Plugins: gamilu
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Write your community rules and show yellow or red cards: take points away, or block a user or a whole role from earning points and badges.

== Description ==

A free add-on for Gamilu Gamification. It needs Gamilu, active.

* **Your rules, numbered:** write one rule per line. When you show a card you pick the rule that was broken, so everyone knows why.
* **Yellow card:** a warning, with the option to take points away.
* **Red card:** the user is blocked until a date, or until you lift it. While blocked they earn no points and no badges.
* **The user finds out:** the next time they visit, the Gamilu otter shows them the card in the middle of the screen, with the rule, the points taken away and your message.
* **Roles that do not play:** administrators, your team or test accounts never earn points or badges.
* **Everything in one place:** who is blocked now, until when, and the latest cards with who gave them.

== Installation ==

1. Install and activate Gamilu Gamification.
2. Upload this plugin and activate it.
3. Go to Gamilu > Fair Play, write your rules and choose the roles that do not play.

== Frequently Asked Questions ==

= Does a blocked user lose the points they had? =

No. A red card stops them earning new points and badges. If you also want to take points away, type how many when you show the card.

= Can I change a rule after giving cards? =

Yes. Cards already shown keep the rule text as it was that day.

= Do users in a blocked role see a card? =

No. They simply do not take part.

== Changelog ==

= 1.0.0 =
* First version.
