# What a group can do

Every feature a community (a group or a store) has, in plain words, with its limits and who may use it.md` and `docs/client.md` under the same names. Ranks: member,
moderator, officer, owner. "Officers" means officers and the owner.

## A group and a store

- **One thing, two uses**: every community is a group (channels, voice, forums) until it sells something (a pick, a game
  on a shelf, a bundle, a game's own community) or has a Store channel; then it is also a store. A group has no Today
  or Sourcing pages. Officers turn a group into a store with Start selling… (adds the Store channel).
- **Kinds**: a player's community; a game's own community (turned on by the game's team in Developers > Selling: the
  team are its officers, the game's owner its owner, its forum is the game's discussions board, always open, can't be
  deleted, only switched off); Games Communities' own community (open, run by GC's admins, its store is GC's store).
- **Private or public** (the owner's setting, never its size; no member limit on either; a player owns and joins any
  number): a **private** group (friends) is never listed or found and never sells; its invites go to a person: a
  friend by name, or a link that lets in one person and is then spent. A **public** one is **open** (listed in Find
  stores, anyone joins and reads its channels) or **invite-only** (the same rules, not listed yet; reusable links).
  Stores are always public. Only the owner switches it (community settings); the new rules start at once and members
  are told in its first text channel.
- **Reach** (how much its code may do): private group, public group, or store (a public one that sells).
- **Make one**: Create a community: Private (friends), Public: open or Public: invite-only; Empty group (only #general, private), Game store (the store kit, open), or a
  starter kit: Friends hangout, Clip wall, Gaming clan, Study group. A kit brings categories, channels (topics, slow
  mode, a read-only #rules), roles, a look and GC switches already on. Friends can be invited while making it (up to 50).
  Also made from a template link (`#/template/<code>`) or a library kit.
- **Its settings** (officers, Community settings…): name (64), tagline (200), about (2000), up to 5 genres (the store's
  tags; they decide where it shows in Find stores), website (https), open or invite-only, icon and banner (2 MB each).
- **Its own address**: `gamescommunities.com/c/<address>` (3-30 small letters, digits, dashes; GC's words reserved),
  for open communities; `#/c/<address>` in the client.
- **Who it's for** (owner): all ages, 16+ (birth date) or 18+ (verified by the card check). Raised only once the owner
  and every member fit (officers see who doesn't); lowered any time. Under-age players don't find it and can't open or
  join it. 18+ also gives its scripts more room.
- **Joining**: Join on an open one; invites from members with the Create invite permission (friends only, not banned,
  blocked players never); invite links by officers (1 to 30 days, 7 unless set; a link shows the community's name, tagline, icon and
  members before joining); an invite can be declined. Leave the
  community any time (not the owner of a game's community).
- **Handing over and deleting**: the owner makes someone else owner (they become an officer); the owner deletes a
  player's community (Delete the community).
- **Its front** (`#/communities/<id>`): banner, name, numbers, Go inside, about, founded, friends here, members playing
  now, its store and channels, Suggest a game.
- **Getting around**: joined communities in the row of stores under the header on every page (each card shows what's
  going on there), dragged into order, put in folders (name, colour; rename, take one out, ungroup), the
  same on every device; Ctrl+K quick switcher (`#` channels, `@` people, `*` communities); Alt+Up/Down between
  channels (Shift: unread only).

## Ranks, roles and permissions

- **Ranks**: member, moderator (also kicks, bans, times out, manages messages, reads the log, runs game nights),
  officer (everything, can't touch higher ranks), owner. Officers set ranks below their own.
- **Roles** (as Discord's, Manage roles): up to 250 a community and 50 a member; name (50), colour, emoji or icon, shown apart in the
  members list, mentionable; ordered by seniority; each adds Discord's permission bits. A role manager gives and changes
  only roles below their own and only bits they hold. GC's own **Develop** lets a role build the group as officers do:
  its code, page and their files, AI keys and the AI page, Library installs, the Development and Library buttons. @everyone's permissions set what plain members may do.
- **Channel permissions**: per channel or category, for @everyone, moderators, a role or one member: take away, leave,
  give (up to 100 overwrites a channel); a channel follows its category until given its own (Sync with its category). A channel nobody may see is left
  out of everything (messages, typing, mentions). Private channels show a lock.
- **Nicknames**: one's own (Change nickname) or others' below one (Manage nicknames), 32 characters; chat shows the
  nickname, the top role's colour and emoji.
- **Flair** (officers): a member's short label (24) and colour beside their name.
- **Ranks' names and colours**: renamed and recoloured in Design….
- **Linked roles**: a role members claim themselves by connecting an account (Twitch, YouTube, Spotify, Steam, GitHub,
  Reddit, or the group's own sites); dropped on its own when the connection goes.

## Channels

- **Kinds**: text, announcements (officers write; others can follow them), forum (each post a thread), voice, category,
  thread, widget (an activity filling the channel), Home (the community's own page front) and Store (its store page).
  Home and Store sit at the top, one of each, no messages.
- **Managing** (Manage channels): new channel, new category, rename, topic (200), move (or drag onto another), delete,
  slow mode (up to 6 hours between a member's messages; Bypass slow mode skips it), permissions. Up to 500 channels.
- **A card on top** (channel types): a script's card drawn at the top of a text channel with the chat under it
  (A card at the top of #channel…).
- **Following announcements**: an announcements channel followed into a channel of another community (Manage webhooks
  there; up to 50 follows a community); Publish on a message copies it to every follower.
- **Today** (officers of a store): the week's numbers, one next step, what sold, the road from Just started to Landmark, the fest,
  Bring your people (message, link and a drawn shopfront picture to share).

## Chat

- **Messages**: up to 2000 characters, live, typing shown, full history; Discord's Markdown (bold, italics, underline,
  strikethrough, spoilers, headings, small text, quotes, lists, inline code and code blocks coloured by language); replies, edits by the
  author, deletes, pins (moderators), reactions (any emoji or the community's own, 20 kinds a message), forwarding to
  another channel, copy its text or its link, report it, jump to any message; links that leave GC ask first.
- **Mentions**: @name, @role (mentionable roles), @everyone (officers or the permission), @here; the mentions inbox;
  a bell notification; the band counts unread and mentions.
- **Pictures and files**: pictures pasted or attached (4 MB); files of any kind but programs (10 a message, 10 MB each),
  marked as spoilers. In a private group a bigger file goes straight from the sender's PC to members who download it
  (while the sender's GC stays open; the calls' "hide my address" answer counts).
- **Links**: previews fetched safely (5 embeds a message, the sender can remove them); YouTube, TikTok, Spotify,
  SoundCloud, Vimeo, Twitch and Instagram links become the site's own player (shown after a click); game links become
  game cards.
- **Polls**: a question (300) and up to 10 answers (55, an emoji each), one or several picks, open for set hours or
  until ended; votes change while open.
- **Search**: words plus `from:`, `mentions:`, `in:`, `has:`, `before:`, `after:`, `during:`, `pinned:`.
- **Threads**: from a message or in a channel; public or private (members and managers only), invitable; archive after
  1 hour, 1, 3 or 7 days idle; lock, pin (forum posts), rename, delete; join, leave, members list.
- **Forums**: posts are threads with a first message or picture; moderators lock, pin and delete them.
- **A forum post on a game's board**: an open, all-ages community's forum post can also show on a game's or topic's
  board (Boards, `#/boards`); it reads live from the thread, its replies stay in the community, and it goes with the thread.
- **Emoji and stickers** (Manage expressions): up to 250 own emoji (256 KB, animated too) and 60 stickers (512 KB;
  Lottie or Rive animated ones too), PNG, JPEG, WebP or GIF.
- **Read marks**: per channel, mark the community read.

## Voice and video

- **Voice channels**: talk, camera (720p), Go Live (screen share with sound); the call stays while browsing GC.
- **Each person**: mute for me, volume up to 200%; with the bits, server mute, server deafen, move to another voice
  channel, disconnect (each in the log).
- **Voice settings**: microphone, speakers, camera, voice activity or push to talk (a key or mouse side button; works
  while a game has focus in the app), noise suppression (Strong, Standard, Off), echo cancellation, automatic gain,
  call sounds, soundboard volume.
- **Soundboard**: up to 100 sounds (MP3, Ogg, WAV, 512 KB; name (32), emoji, volume; Manage expressions), played in
  the call (one every 2 s; Use soundboard); each member picks an entrance sound.
- **Activities in a call**: start, join or watch an activity in a voice or text channel.
- **Calls with friends** (direct messages and group DMs): small ones (4 with video, 8 voice only) go straight between
  the players' PCs, free for GC; the player is told once that the others see their address and may hide it (GC's
  relay). Bigger ones move to GC's voice server without hanging up. Children's addresses are always hidden. A private
  group's voice channels work the same; a moderator's server mute or deafen moves the call to GC's server, which
  enforces it.
- **Encrypted chat** (switched off for now): adults in a friend's DM or a group DM can turn on end-to-end encryption
  with the lock button, and in a private group of adults whoever manages a text channel (up to 20 who see it) can: then only their devices can read new messages, kept on each device. Reports still work: the
  report shows the message with proof of who sent it. Pictures and files still go through GC's checked file store.
- **Encrypted calls**: private groups' calls and calls with friends are end-to-end encrypted: only the people in the
  call can hear and see it, never GC's servers or a hosting member's PC. A new key each time someone joins or leaves;
  a safety code everyone in the call can read out to check no one is listening in.
- **A member's PC hosts the group's calls** (private groups, and calls with friends or in group DMs): a member ticks
  *My connection hosts my calls* in Voice settings, and while their GC app is open the group's voice channels and
  their own calls run on their connection (up to 25 people), free for GC. A router without UPnP takes two ports
  forwarded by hand. The calls stay encrypted, so their PC can't listen; joiners are told once that the host sees
  their address and may hide it. When the PC goes or fills up, the call moves to GC's servers by itself. GC's own
  voice servers sit in several regions; a call goes to the one nearest whoever starts it.

## People

- **Presence**: online, away, do not disturb, invisible; a custom status (emoji, 128 characters, for a time).
- **A profile per community**: its own bio (190) and picture (4 MB).
- **Notifications**: per community and per channel (all, mentions, nothing) and mutes for a time or until lifted.
- **The members list**: by rank and hoisted roles, online, what each plays; tucks to faces.
- **Regulars**: 4 of 5 stamps (a month in, came to a night, bought here, voted, 10 messages) show as a regular's line on
  profiles and reviews.
- **Home** (`#/home`): events, game nights, deals, mentions, members playing, picks, shelves, rising votes and
  announcements from all one's communities and friends.
- **Across all stores**: Members' Deals (`#/member-deals`: every open store's members' deals, biggest first, with the
  player's own store's price) and Events (`#/nights`, the header's Events: one's own groups' events first, I'm in, Play once it's on,
  then every other store's next one).
- **Bots and you**: a member's own yes or no to the community's bots seeing their achievements, sending them DMs and
  its widgets knowing who they are, its page and widgets using the microphone and camera; all off until they say yes, erased when they leave.
- **What groups may do** (Settings): every yes a member gave any group, in one list like a phone's app permissions;
  each taken back with one button, and the group asks again next time.

## Moderation and safety

- **Kick, ban, time out** (moderators, on lower ranks): bans with a reason (512), an end, and up to seven days of their
  messages deleted; time outs (no writing, reacting or voice) for set minutes.
- **AutoMod**: up to 25 rules: words (wildcards, allowed words, 1000 a rule, 60 characters each), spam, mention floods; block, alert a
  channel or time out.
- **Verification levels** 0-4: none; account 5 minutes old; a day old; also a member 10 minutes; also an account a week
  old.
- **Rules** (4000 characters) members accept before talking.
- **Delete many messages** at once (2 to 100).
- **The log** (moderators): kicks, bans, ranks, time outs, deleted messages, pins, channels, roles, permissions,
  voice moderation, design and code changes, switches, library installs, outside games added.
- **Reports**: anyone reports a message, the community or its page; a reported community's store and page are kept for
  GC's admins.
- **Viewers' own filters**: profanity and slur filtering, words to always or never filter; no moving shops; no widgets.
- **GC's own checks**: the shop words check (no passwords, codes, cards or speaking as GC) on designs, themes, pages and
  bot posts; link checks (no IP addresses, shorteners, lookalikes); private groups have neither (links still warn when
  clicked; going public, GC asks first to change what breaks the public rules); admins can clear a design and page or stop a
  community's code, with a statement of reasons.
- **Known-illegal pictures and videos**: every one sent anywhere on GC, private groups too, is checked against the
  lists of known child-abuse, intimate-image abuse and terror content before it's kept; a match is never shared and
  goes to GC's admins.
- **Outside links**: before a link leaves GC, GC says where it goes; links on lists of harmful sites don't open, and
  ones that hide where they go warn. Members can always open a site they trust. A group's own page has GC's strip
  above it saying whose page it is; a page or widget keeping the computer busy (sooner while GC is out of sight) is
  paused, with "Run it again".
- **Adult pictures**: in public groups and stores every picture (and video, once GC's box reads them) is checked once; one flagged adult is shared only in
  18+ groups (elsewhere it's refused, and hidden if the group stops being 18+). Private groups' pictures aren't checked. Profile pictures and board pictures flagged adult aren't kept.
  In 18+ groups each member's safety level decides: blurred until clicked (Standard, the default), hidden (Strict,
  always under 16) or shown (Off, 18+ only).
  Such a picture can be forwarded only into another 18+ group, where the same rules apply.

## Its look

- **The shop's look** (officers): tint (plum, night, rose, mint, amber, sky) and stage frame (cream, gold, lilac, ink).
- **Design…** (officers; a draft or published; every live change kept as a version, 50 kept, any one restored):
  colour and font, background (wallpaper and dim), effect, bursts, seasons (by date, or takeovers between two
  moments, up to 60 days), labels and scores, ranks' names, the welcome for new members, its building, its address,
  its channels' look.
- **Built-in choices**: fonts (Germania, Bungee, Pacifico, Press Start, Creepster, Cinzel, Fredoka, Permanent Marker,
  Orbitron, Lobster, Bangers, Silkscreen); effects (snow, petals, fireflies, leaves, stars, bubbles, confetti); header
  styles (wide, framed, split); buildings (shop, cafe, arcade, castle, cottage, tower) with windows; scores
  as paws, stars, hearts, stamps or numbers.
- **The store designer** (officers): its header (a picture, style, position, title, words (1000), signed, links,
  its numbers, an animation), then blocks in any order: text (4000), picture, spotlight (one game), trailer,
  countdown, people (a line for each), links, questions and answers, top members, carousel (slides with
  captions and links), tabs, Markdown, HTML (64 KB; built by dragging pieces in the visual editor, or written),
  widget, card (a script's live card), music (8 MB, loops), effect (a scene in a box, 60-720 px high), animation.
- **Its own tabbed pages**: pages beside the store (`#/c/<id>/store/<slug>`, a name of 30), each its blocks in
  order or one widget filling it (an app of its own).
- **Scores and labels**: labels of its own (name, colour), any on a game, and a score of 1-5, shown on its cards.
- **Welcome**: a title, words and rules shown to new members.
- **Its look in its channels too**: colour, background, font, effect and seasons over its chat, forum and voice.
- **Everything from day one**: every part of the look and code is every community's from its first member; widgets,
  activities and shaders stay off for 30 days after GC takes a design of its down.
- **Scenes** (the scene editor: presets to start from, a live preview as made or as a weak PC plays it): layers of
  pictures (depth, drift, sway; blend normal, add, screen, multiply), particle emitters (from a point, line, box, ring
  or the edge; rates, gravity, wind, colours,
  sprites, the mouse pushing or pulling), lights (rays, spot, vignette), fog, colour grade, bloom; 400 particles at once. A different scene per place (the store, a page, channels, one channel, the header, overlay).
- **Bursts**: confetti, hearts, sparks or own ones (300 pieces each), played on a join,
  a buy, a word, a !command, or by a script or widget (30 a minute).
- **Animations**: Lottie or Rive (2 MB) in the header, rank badges, blocks, scenes and stickers.
- **Shaders**: own GLSL (or WGSL) layers in scenes, with up to 4 pictures each; turned off for everyone if
  they crash players' GPUs.
- **3D backdrops**: a sky, lights (one casting shadows), fog, a camera (orbit, mouse, scroll), uploaded `.glb` models (8 MB,
  100,000 triangles, textures of 2048 px, their own animations) that turn, spin and bob, particle emitters, bloom;
  200,000 triangles together.
- **CSS**: its own CSS for its store page (256 KB) and for its channels (side column, bar, members, chat, forum, voice),
  kept away from GC's own parts (prices, Play and Buy, labels, Report, names, avatars, call controls); own
  fonts (WOFF/WOFF2, 1 MB each); a check that says what cleaning would take out. A viewer can turn a channel's look off for
  themselves.
- **Hide GC's header**: a store hides GC's own store header and uses its own header block or HTML.
- **Shelves' styles**: cards, row, tiles, big, list.
- **Themes**: a gallery of shared looks (search, Try it as a draft, install with pictures and fonts) and six built-in
  starter themes; a community shares up to 50 of its own (name 40, about 200).

## Its own pages (its own website inside GC)

- **Files**: any site of up to 5,000 files (HTML, CSS, JS, JSON, SVG, WASM, pictures, fonts, sounds, `.glb`; a file up
  to 512 MB), as a draft, then published; 50 versions kept, any one brought back. Upload one file, or a zipped folder.
- **Where it shows**: in the Home and Store channels, at `#/c/<id>/p/<path>`, and on the website at `/c/<id>` (with its
  words written out for search engines).
- **What a page can use** (`GC.*`): `me` (who is looking, asked once), `store` (its pieces), `games` and `game` (its
  games with pictures and trailers), `theme`, `open` (a game), `addToCart`, `playtest` (start a game's trial), `go`
  (channels, join, a channel or a member), `toast`, `burst`, `data` (public data), `picture`, `on` (its scripts'
  events), `music` (played by GC across its pages, faded in, muted by the viewer); 31 built-in fonts named in its CSS.
- **Outside sites and devices**: a page's `gc.json` lists the sites it reads (`fetch`, through GC, so viewers' IP
  addresses stay theirs) and the devices it uses; widgets tick theirs. The microphone and camera work once a member says
  yes (asked once for the group, taken back in Settings; never for under 18s outside private groups); a gamepad and
  fullscreen once listed; nothing else, ever. A page's own game servers (WebSockets) connect straight from the member's
  PC only after their yes (asked once; those servers see their IP address; members only, under 18s only in private
  groups, never children).
- **Its own game page**: a `game.html` shown in place of GC's game page for games opened from the store, under GC's fixed
  bar (Buy, Install, Play, sale and lowest price, Standard page); the page gets the game's words, pictures, trailers,
  and can add it to the cart or start its trial on a click.
- **Page starters**: a store's home, a group's home and a `game.html`, working pages its AI helper starts from.
- **First page**: a new community gets a written page from its parts (name, tagline, about, Join and Channels, its
  shelves); every older one got its store written out once.
- **Tools**: AI helpers write, preview (screenshots at window, full and phone sizes, with errors listed) and publish it;
  `gc-cli page push|pull <folder> --community=<id>` syncs a folder.
- **Safety**: published only after GC's words check; paused when it keeps the computer busy; Report in GC's bar.

## Widgets and activities

- **Widgets**: small sealed pages (no network unless allowed, no forms, popups or way out) in the store or a page; their
  own HTML and JS or TS (256 KB), npm packages (MIT, ISC, BSD, Apache licences; bundled on Save, 2 MB), GC's UI kit in
  the store's accent, written in the code editor. Off for 30 days after GC takes a design down.
- **What a widget can use** (`GC.*`): `me`, `store`, `theme`, `open`, `toast`, `send` (to its scripts' `widget()`),
  `on` (their `live()` messages), `data` (public data), `picture`, `sounds` and `sound` (the soundboard), `burst`, `fetch`
  (allowed https hosts, 256 KB an answer), `show` (GC's own pieces: words, real game cards, buttons,
  progress), `resize` and `autoResize`, `room` (an activity's live room), `scare`.
- **Viewers decide**: a widget runs only after the viewer says yes for that shop; `GC.me` only for members who said yes.
- **Activities**: a widget marked as an activity (2-50 players) is a live shared room (Yjs) started in a channel:
  players write, others watch; officers clear rooms. A room holds 1 MB.
- **Widget channels**: a channel that is one activity filling it.
- **Jump scares** (the app only): a widget shows the store's picture over the whole screen with a sound, after the
  viewer lets it, one every 10 s.

## Its own code (scripts and bots)

- **Who**: officers (Code and AI helpers…). Changing a store's code needs two-factor login, a public group's when its
  owner asks for it (community settings), a private group's never;
  writing a store's script (not a group's) or sharing one to the library always does.
- **Languages**: JavaScript, Luau, Python, WebAssembly, and Blueprints (nodes and wires, no typing: events, actions, flow,
  data, maths, members and text nodes; View as code, Turn into code).
- **Events it hears**: join, leave (kicked or not), message, edit, delete, reaction, thread, roles given or taken,
  buy (a game bought through the store), achievement, quest done, status (a member went live or a new song), playing (a
  member's game), webhook, widget calls, button, menu and form presses, !commands and slash commands, every N minutes,
  at a time of day. Filters narrow them (channel, starts with, contains, game, emoji, role).
- **What it does**: posts and replies as its bot (up to 10 buttons, five a row, link buttons, a menu of 25 options,
  forms of 5 fields asked on a press, a card), edits its own posts, DMs members
  who said yes (3 a run, 60 an hour, 5 a member a day, kept 30 days), community data (50,000 keys, 16 KB a value; `public.` ones readable by pages and widgets), members' data
  (50 keys of 4 KB each; leaderboards), flair, the design and its blocks (a countdown's end, a block's words), live messages to pages, cards, bursts, soundboard sounds in voice, quests,
  league data, members' linked accounts and live status, members' games, outgoing webhooks, and library pieces it
  uses (`use`).
- **Powers**: each script asks only what its code names (read chat, post, members, flair, data, design, live, cards…);
  saving approves them and the log says when new ones come.
- **Commands**: `!name` and slash commands with options (text, number, yes/no, member, channel, role; choices,
  min and max), listed in the "/" menu; answers only the runner sees.
- **Cards** (up to 500): Adaptive Cards (text, pictures, media, columns, facts, tables, inputs, bars, countdowns, buttons) in a
  store block, a channel's top, or a message; filled in live for each viewer (their own data, leaderboards); a secret
  overlay link shows one live in OBS.
- **Settings forms**: a script declares a form (fields: text, numbers, yes/no, lists, colours, channels) so
  officers change it without code.
- **Quests** (play a game, or any GC game, for N minutes by a date); members join and see their progress;
  scripts hear when one finishes.
- **Learning**: 11 learning quests that teach scripts step by step (Script Learner badge).
- **Writing and testing**: an editor with TypeScript's help (completion, hovers, red lines), Try it on a made-up event,
  a test room (a pretend copy of the community with five pretend members; nothing real touched), a debugger (breakpoints,
  steps, variables), each run's log streamed live, the cost of each run (time, statements, memory), errors in plain
  words with the line marked, Copy for my AI; Your editor (in the app) puts the group's one folder (`site/` its page,
  `scripts/`) on the PC and opens VS Code or any editor, each save saved to the group; `gc-cli dev` does the same from a browser or a terminal.
- **Data in and out**: export the community's and members' data (JSON or CSV), import members' data from CSV (tried
  first).
- **Take it with you**: the owner downloads the whole group as a zip (channels, roles, look, pictures, page, scripts and
  their data) from its settings, and anyone makes a new group from one (Create a community › From an export): scripts
  start switched off, the page as a draft; its shared themes come too, members' data only the importer's own.
- **Run it yourself**: `gc-cli host` runs a private group's scripts on the owner's own server, always on (GC's client
  doesn't take over while it's connected).
- **Its own domain** (public groups, free): the owner names it in the group's settings, adds the TXT record and CNAME
  GC shows, presses Check; GC gets its certificate at the first visit, and the domain opens the group (an open group's
  page and preview at the domain itself, for search engines and shared links; search engines find only that page there).
- **Its own voice server and file bucket** (any group): the owner gives its LiveKit (address, key, secret) and/or an
  S3-compatible bucket in the group's settings; GC checks it answers, keeps the secret sealed, and sends the group's new
  calls and all its files there (old files copied over; taken off, they come back). Known illegal pictures still checked.
- **Limits**: scripts of 256 KB each, 8 MB together (names of 40); a run gets 300 ms and 24 MB; 600 runs an hour
  (60 by one member), 10 posts a run and 600 an hour, 120 live messages a minute, library pieces within the 8 MB; 20
  failures in a row switch a script off; the last 50 runs kept with their logs; private groups and
  18+ get double time and memory; a private group's scripts run on its owner's PC while their GC client is open (ten
  times the time and memory), on GC's when it isn't (or when the owner turns it off in Settings). When GC's server is busy, a group doing much more than the others waits its turn
  a little (scripts, live rooms, outside sites); the others aren't slowed by it.
- **Library** (shared between communities): share a script or a whole kit (layout, up to 20 scripts and its theme);
  others search it, rate it, try it in their test room, install it (pinned version, auto-update unless it asks new
  powers), remix it, or make a new community from a kit.
- **Leagues** (Code › Library): points tables two to 20 communities share a leaderboard, season or event and its data; officers invite, join, leave;
  a community is in up to 50.

## AI helpers

- **Keys** (officers, up to 5 each, 180 days): connect Claude Code, Codex, Cursor or any MCP client to one community;
  a prompt to paste is copied for them.
- **Its tools**: get the community, the store and the design, search GC's games, list and view uploads and pictures,
  upload a file or from a link, list, read, write, edit and delete page files, page starters, sample data, preview,
  publish, edit the store's words, save and delete shelves, save channels, mark games, add outside games, list, read,
  try, save, switch and delete scripts, script templates, get and set data, the reference.
- **What a key can change**: the page and its files, the design, channels' CSS, channels (widget ones too), the store's
  shelves and labels, uploads, scripts (try in the test room, save), data, outside games; it reads the reference and
  the manual and previews the page as players see it. Never money, members, ranks or chat.
- **AI chat** (AI › AI chat; the app only): tell Claude Code (your own install and Claude plan) what you want, in a
  chat like Claude's app: it reads and edits the group's folder and uses its tools; pick its model; Sign in to Claude.
- **AI helper on this PC's models** (hidden for now; the app only): a chat with a model on this PC: GC's own (the best for the
  PC picked, downloaded once into a folder you pick, deleted from the same place), Ollama, LM Studio or another server
  here (the choice, its context and whether it sees kept on the PC); each step on one line, Stop, New
  chat; keeps going in the corner dock; undo from Design… › History…. Share this chat to help train GC's helper:
  ticked per chat (adults), keys and members' names taken out, withdrawn by unticking or Withdraw all.
- **AI Code** (the app only, settings › AI): PowerShell on this PC in the same folder as Code (`site/`, `scripts/`; its saves are the group's), set up so Claude
  Code, Codex and Cursor reach its AI helpers with no prompt to paste; Start Claude Code or Start Codex; keeps running
  in a corner dock.
- **Safety**: a page is published by AI only after it looked at it; a key stops when its officer leaves or steps down.

## Integrations (Discord's, so Discord's tools work)

- **Incoming webhooks**: per channel (15), posted to at Discord's own addresses.
- **Apps and bots**: developers' apps with bot tokens (25 each, 50 in a community, 100 commands an app), slash commands
  sent to the app,
  OAuth2 (`#/authorize`), Discord's REST and Gateway, so discord.js, discord.py and JDA bots connect unchanged.
- **What Discord bots can do here** (Discord's v10 addresses): read, send, edit and delete messages and delete many at
  once, list channels, read the community and the bot's own account and communities, register slash commands (for all or
  one community), answer interactions, send and edit through webhooks, OAuth2 tokens, the Gateway's events.
- **Members' own apps**: officers allow apps members added to their own account to answer in the community.
- **Script webhooks**: in (GitHub, Twitch, YouTube, Standard Webhooks or plain, signatures checked) and out
  (up to 5: signed events to an https address, retried, the last 100 deliveries listed, test sends).
- **Automation**: n8n, Activepieces and Zapier pieces (send, edit, delete messages; new message and event triggers).
- **Members' connections**: Twitch, YouTube, Spotify, Steam, GitHub, Reddit accounts shared with the community, their
  live status and what's playing for scripts and linked roles.
- **Private groups' own apps**: officers paste their own Twitch, YouTube, Spotify, GitHub or Reddit app keys, or add any
  OAuth2 site (up to 5).
- **Game status**: a game's Rich Presence (Discord's RPC) shared with the member's communities' scripts.
- **Templates**: a template link (one a community) makes a new community with its roles, channels and permissions.

## A store

- **Its store page**: the stage (one shelf shown big at the top), shelves (up to 100, 200 games each, each its own style;
  outside games too), picks (up to 5000) with a blurb (200) and link, write-ups (4000 characters and 6 pictures, shown on the game page opened from the store), labels (up to 4 a game)
  and a score (1-5) on games, members' votes (50 each), wanted (members' wishlists), what members played and play now, its studio's
  games and DLC (a game's community), reviews by members, Suggest a game. GC's standard game page is never changed.
- **Arranging it** (officers): the store's pieces in order or hidden (up to 100), shelves made and filled, an event planned.
- **Events** (moderators, any group): a name, a time and, with GC's own games on, a game; members say they're going
  and are reminded ten minutes before.
- **Sourcing** (officers): Outside games and what members suggest; with GC's games, pitches from developers (accept to a shelf, the stage or picks; decline with a reason; later;
  ask a review copy: 3 a game, 100 a month), the brief (what it wants, never, prices, rating, trailer or demo needed, languages,
  pitches open, closed or by invitation), lanes of games that fit (members' tastes, its kinds, similar stores, fresh
  ones) with why, save or pass, invite a developer to pitch (300 characters), deals asked and running
  (10 live at once), reach (visitors, games opened,
  wishes, buys, earnings).
- **Today** (officers): the week's new members and messages, a next step, how it grows.
- **Being found**: Find stores (each player's top matches by the topics they picked and their groups' topics; topics
  to require or hide, who runs it, size, age, its shop; sorts; every choice in the address), the Stores page's feed,
  its directory row, Not for me, the news strips between rows (an event on, a lively group), a new player's first
  groups (pick topics), the street, neighbours, Share the shop (its website link).
- **Bundles**: 2-10 priced games at 10-90% off (10 a store); each game's team approves.
- **Members' deals**: 10-90% off for its members for 1-14 days, offered by the game's team or asked by the store; both
  agree; one copy a member, never a gift; the 30-day low shown.
- **Group deals**: a game's team sets a deal that unlocks once N members wish for it.
- **Store events**: 1-14 days with a name and words; developers find them and join with a deal.
- **The fest** (open stores' officers): when GC runs a street-wide fest (up to 14 days), a store enters with what it's
  putting on (a title of 80, a game) and shows on the Stores page's fest.
- **Disclosures**: cards say "Review copy from the developer", "Sent by the developer", "Members' deal from the
  developer"; developers' sales and beta tests for members show too.
- **Money**: a player supports one store for 14 days and the owner gets 15% of what they buy (after VAT and the payment
  fee, paid out of GC's cut, not on the owner's own games); a game put in the cart from the store pays the owner 12%
  instead (never the buyer's own store, never the game's owner); Earnings… shows it, paid with payouts. Both
  need an open store of 100 members. Supporting can't be changed or stopped during its 14 days.
- **After play**: after a real session of a game bought at a player's store, one tap tells that store what they thought
  (a message from them in its first text channel); asked once a game.
- Off with `gc-extras` (`docs/parked/groups.md`): Scout, finding stores by their games.

## Games from other stores (outside games)

- **Paste a link** (officers, Sourcing > Outside games; or an AI helper): a Steam, Epic, GOG or itch.io page link builds
  a game page on GC: name, words, developer, publisher, genres, release, age rating, pictures, screenshots, trailers.
  The same game is reused by every community that pastes it.
- **Other stores**: GC finds the game on the other stores (Wikidata, Steam's and GOG's search); officers tick the right
  ones or paste a missing store's page.
- **On shelves and the stage**: shown as game cards with the cheapest store's price in the viewer's country and its
  sale ("-50% $9.99 on Steam"); prices from Steam, GOG and itch.io, checked often; Find stores shows "N games on sale".
- **Its page** (`#/app/og:<id>`): facts, screenshots, videos after a click, About, Where to buy (each store's price,
  cut, lowest, countdown) with Buy on <store> (opens Steam's client when installed); says the stores sell it, not GC;
  no cart or library entry; Report and Claim (the real developer asks GC to give it to them).
- **Members suggest** (Suggest a game on the store's page): members paste a Steam, Epic, GOG or itch.io link with a
  note (300, 5 a day); officers see the most suggested first and
  take or dismiss them.
- **Removing**: officers take a game out of the community and its shelves; GC's admins take a game page down on a
  complaint.

## Things only GC decides

- GC's standard game page, prices and the 30-day low, Play and Buy, paid placements' labels and Report stay out of
  every community's CSS, HTML, pages and scripts.
- AI keys never reach money, members, ranks or chat.
- GC's admins can stop one script, a community's code or every script, clear a design and page, stop a library piece,
  and take down outside games.
- Direct messages and group DMs (up to 10 friends) are separate from communities.
