ernestdefoe / rosette
Rosette: contests and game jams for Flarum. Members enter a discussion, a link, a file or a Garage build; judges and the community score them on weighted criteria; winners get a podium, category awards and prizes.
Fund package maintenance!
Requires
- php: ^8.3
- flarum/core: ^2.0
- intervention/image: ^3.0
Requires (Dev)
- flarum/phpstan: ^2.0
- flarum/tags: ^2.0
- flarum/testing: ^2.0
- phpstan/phpstan-strict-rules: ^2.0
Suggests
- ernestdefoe/garage: Members can enter one of their Garage builds.
- ernestdefoe/shutter: Photo contests. With both installed, Rosette's sidebar link reads Challenges.
- ernestdefoe/trust-levels: Only members from a trust level up can rate or vote.
- flarum/tags: Discussion entries can be limited to one tag.
- fof/badges: A badge for the winners, and badge triggers for contests won, podium finishes and entries.
- fof/gamification: Points for first, second and third place.
- fof/upload: Members can enter a file they upload.
Provides
None
Conflicts
None
Replaces
None
README
Run contests and game jams on your forum. Members enter their work, judges and the community score it on the criteria you choose, and the winners get a podium, category awards and prizes. A contest is a discussion, so the rules, the announcements and the conversation all live in one place.
Features
-
Contests and game jams. A jam keeps its theme secret until entries open, and starts with jam defaults: teams of three, links, judges and community, Fun 40% · Theme 30% · Polish 30%.
-
A contest is a discussion. Make a new discussion a contest from the composer, then finish the settings on the contest page. The contest is exactly as visible as its discussion: tags, private discussions and hidden discussions are all respected. Drafts are seen only by their organiser and moderators.
-
Phases on a schedule: announced, entries, an optional grace period for late entries (marked late), judging, results under review, final. Phases follow the clock, so they change on time whether or not your forum runs the scheduler.
-
Four kinds of entry:
- a link (to itch.io, GitHub, a video…), optionally limited to the sites you list, with an optional link to the source;
- one of the member's own discussions, optionally in a tag you pick;
- a file, uploaded through FoF Upload;
- a Garage build the member is on.
Every entry can have a cover picture, and teams (invite, accept, up to the size you set; everyone on the team shares the place). Entries freeze when entries close.
-
Judging the way you want:
- Criteria and weights: up to eight criteria, weights that add up to 100%, scored 1 to 5 or 1 to 10.
- Judges: named judges score every entry. With three or more, each judge's scores are put on the same footing before they're averaged, so one harsh or generous judge doesn't decide it.
- Community ratings (every criterion) or community votes (a few votes each).
- Mixed: judges and community, with a slider for the split.
- Category awards for the best entry on each criterion, and honorable mentions from the organiser.
-
Fair play:
- Nobody rates their own entry or their team's. Judges can't enter.
- Who made each entry can stay hidden until results, and every member sees the entries in their own order.
- A contest can require members to open an entry before rating it, and limit raters by account age, post count, group or (with Trust Levels) trust level.
- Rate next shows the least-rated entries first, and members who rate more see their own entry shown more.
- Community ratings use a Bayesian average and drop the top and bottom 10% once an entry has 10 ratings, so a handful of ratings can't jump the table.
- Fair-play review for staff: ratings from the entrant's own network, three or more raters from one network, accounts made during the contest, entrants who gave each other top marks, and bursts of ratings in a few minutes. Staff void or restore with one click; nothing is removed automatically, and every change is logged. Addresses are never stored, only a keyed hash of the network.
- Scoring can't change once judging has started (except by a manager, and that is logged).
-
Results: a podium with ties sharing a place, category awards, and a table of every entry with the judges' and community's parts and each criterion's score. Results can stay under review for a time you choose, so staff can check them before they're final and prizes are given.
-
Prizes: a FoF Badges badge for the winners, and FoF Gamification points for the top three once your FoF Gamification has point grants (until then the points fields stay hidden). Prizes need their own permission, so an organiser can't set up a contest for a second account and pay themselves. FoF Badges also gets three triggers: contests won, top-three finishes and contest entries.
-
Notifications (on the web, and by email for results): judging is open, your scores are wanted (judges), you placed or results are in, and team invitations.
-
A Contests page, a Contests tab on profiles, and a card under each contest's first post. With Shutter (photo contests) installed too, Rosette's link reads Challenges.
-
For other extensions: events when an entry is submitted, approved or disqualified, when results are published and when they're final (with every placed member and entrant), so XP, celebrations and prizes can follow.
-
Translatable throughout, works in light and dark mode and on phones. It adds about 4 KB (gzipped) of JavaScript to every page and no CSS beyond the composer button and the card; the contest pages and their styles load only when someone opens a contest.
Screenshots
| Rating an entry | The results |
|---|---|
![]() |
![]() |
| Running a contest | On a phone |
|---|---|
![]() |
![]() |
Installation
composer require ernestdefoe/rosette
Then enable Rosette in the admin panel.
Updating
composer update ernestdefoe/rosette php flarum migrate php flarum cache:clear
Permissions
| Permission | Default |
|---|---|
| View contests | Everyone, guests included (each contest is as visible as its discussion) |
| Enter contests | Members |
| Rate and vote in contests | Members |
| Run contests (their own) | Moderators |
| Manage every contest | Moderators |
| Attach prizes to contests | Admins |
Scheduling
Contests change phase on time without anything running. To send "judging is open" alerts on time, and to write results and make them final before anyone opens the contest, run Flarum's scheduler (php flarum schedule:run every minute from cron). Rosette's own task, php flarum rosette:tick, runs every five minutes. Without the scheduler, each step happens the first time somebody opens the contest after it is due.
Support
Questions and bug reports: ernestdefoe.online.




