Draft: this page is not final and contains placeholders. It is not indexed by search engines.
Clanflame Privacy Policy
Draft written by AI on 2026-11-20, not legal advice; review before the first real sale.
Version: 2026-11-26 (draft v5: the play statistics note which kind of site a new account came from) · Written for the GDPR (EU 2016/679) and the Estonian Personal Data Protection Act.
Placeholders to fill before publishing: [Company name], [registry code], [address], [contact email].
This policy describes what the game stores at the time of the first sale (the shop, with Flames, is part of it). Sections marked (when live) describe tools that must exist before we sell anything; see the note for the owner at the end of this file.
1. Who is responsible
[Company name], registry code [registry code], [address], Estonia ("we"). We decide why and how your data is used (the "controller"). Contact for anything about your data: [contact email]. We have no data protection officer; the same address reaches the person who handles this.
2. The short version
- We keep what a game with accounts needs: a username, a password (stored only as a scrambled hash we cannot read), your game actions and the messages you write.
- We do not ask for your real name, address, phone number or birth date. An email on your account is optional: if you give one, we use it only to help you back in when you forget your password and for important notices about your account, never for ads. If you buy Flames, the payment page asks for an email so that we can send a receipt.
- We never see your card number. Stripe handles payments.
- To stop cheating and fraud we keep IP addresses and a random browser id for a short time (30 days), and a longer login record for accounts that paid (2 years).
- Records of purchases are kept for 7 years because the law makes us.
- You can ask to see, fix, download or delete your data (section 11).
- We do not sell your data and we do not use it for advertising. We count play statistics under a code (not your name) on our own servers (section 3.6); you can switch that off in your account.
3. What data we keep, why, and on what legal ground
3.1 Your account (all worlds)
| Data | Why | Legal ground (GDPR art. 6) |
|---|---|---|
| Username, password hash (scrypt), chieftain portrait choice, created and last login time | Run your account; let you sign in | Contract (the game) |
| Which worlds you entered and when | Show "your worlds", route you | Contract |
| Badges, Hall of Fame entries, cosmetic looks you own | Your results and purchases | Contract |
| Staff role, ban and mute status and reason | Enforce the terms | Legitimate interest (fair play, safe community) |
| Sign-in attempt counter for a name (failed tries) | Stop password guessing | Legitimate interest (security) |
| Email address (optional) you add at sign-up or on the Account page, whether and when you confirmed it, and the one-time links we mailed you (stored only in a scrambled form, they stop working after 24 hours or, for a new password, 30 minutes) | Let you set a new password when you forget yours (we only send that link to a confirmed email); tell you when your password or email was changed and other important account notices. One email belongs to one account. No newsletters, no ads, never shown to other players, never sent to the play statistics | Contract (account recovery); legitimate interest (security notices) |
| Sign in with Apple or Google (if you use it): the provider's account id for our service, the email the provider gives us (for Apple possibly a private relay address; marked as such) and whether it is verified, the time it was linked | Let you sign in that way and keep one account whichever way you sign in; recognise an existing account with the same verified email (we then ask for its password once, we never merge on our own) | Contract |
Invite link: a random invite code of your account; for an account made through someone's link, who invited it (account numbers) and the best points reached; the first three parts of the address you signed up from (for example 203.0.113, never the full address; IPv6: the first 48 bits); hashes of device ids (3.3) | Give the inviter free Flames when a friend reaches a points milestone, and refuse rewards for people who invite themselves (same device, network or payment card), cap the rewards per inviter | Legitimate interest (fair play, prevent abuse); the reward itself: contract |
Your username is public: other players see it on the map, in rankings, in clans, in reports and mail.
3.2 Playing in a world
| Data | Who sees it | Why | Legal ground |
|---|---|---|---|
| Villages, buildings, troops, movements, reports, statistics, achievements | The game rules decide: some of it is public on the map and in rankings (your name, clan, points, village positions), the rest is yours | Run the game | Contract |
| Mail (subject and text), clan chat, clan forum posts, clan descriptions and applications | Mail: sender and recipient. Chat and forum: the clan. Staff only when reported | Run the game | Contract |
| Private notes, tags, troop groups, raid lists | Only you | Run the game | Contract |
| Reports to staff about a message, forum post or player (reporter, who was reported, a copy of the text or name at that moment, the reason from a fixed list, your note), support tickets and the answers. The reported player is never told who reported | Moderators and administrators | Handle abuse and complaints | Legitimate interest |
| Ban appeals: the username you type and your message (no sign-in is needed; we do not store your IP address for this) and our decision and note | Moderators and administrators | Review a suspension | Legitimate interest |
| Last-active time | The game (to decide when a village is abandoned) | Run the rules about inactivity | Contract |
| "Ask Mags" questions, if the advisor is switched on: a snapshot of your game state and your question | Our service provider Anthropic (section 7) | Answer you. Only your question's count is kept, not the text | Contract |
Stand-in player. If you name a stand-in in a world, that player can see your game data in that world (villages, troops, reports, mail, notifications) for the period, at most 14 days, and can act on your account within limited rules. Their actions are logged and shown to you under "While you were away". The stand-in's own IP address and device are recorded for their own account, not added to yours. The period data and the action log are deleted 30 days after the period ends. Our staff can see the audit entries (start, end, switch).
3.3 Security and fair play (staff only)
| Data | Kept | Why | Legal ground |
|---|---|---|---|
| IP addresses per account (first and last seen) | 30 days after last use | One account per person; find hacked accounts and attacks | Legitimate interest |
A random browser id (we store only a hash of it) and a cookie cf_device | Hash 30 days; the cookie lasts up to 400 days in your browser | Link several accounts on one device | Legitimate interest |
| 10-minute activity slots, a log of attacks and shipments between pairs of accounts | 30 days | Judge multi-account and "pushing" cases | Legitimate interest |
| Audit log of important actions (sign-ins, bans, admin actions) with the IP | Entries stay; the IP is erased after 30 days | Prove what happened, fix mistakes | Legitimate interest |
| Fair-play counts per account and hour: how many game actions (build, train, send, ship ...), how many of them were sends, how many came with no game screen open, and a summary of the gaps between actions (count, average, spread). Not which action, not its content, not the exact time | 14 days | Spot bots, scripts and auto-clickers, which the rules forbid | Legitimate interest (fair play for all players) |
| Staff reviews of the fair-play list (looks human / keep watching, by whom, when) | 90 days | Show staff what already happened | Legitimate interest |
| Browser signals against bots and AI agents (only in worlds where this is switched on): a few yes/no signs of automation your browser reports (for example that it is remote-controlled, runs headless, or has automation tools' leftovers in the page; never a list of your extensions, fonts or screen details), and counts per account and hour: how many mouse clicks, how many had no pointer movement before them, how many landed at the exact centre of the button, how many were made by a script, and a summary of the gaps between clicks (count, average, spread). Never mouse paths, positions, keystrokes or what you clicked | 14 days | Refuse game actions from automated browsers, and show staff play that looks like an AI browser agent (the rules forbid it) | Legitimate interest (fair play for all players) |
| Server logs (requests, which may include your IP) | A few weeks, then they roll over | Keep the service running, find errors | Legitimate interest |
We do not fingerprint your browser beyond this random id and the automation signs above (we do not collect fonts, canvas, audio or hardware data). Nothing here bans you automatically: a person looks. The fair-play counts never block you: only staff see them. There is no outside service, no cookie and no tracking script for this. IPs and device hashes are shown only to our staff, never to players.
3.4 Buying Flames (when live)
| Data | Kept | Why | Legal ground |
|---|---|---|---|
| Purchase record: Stripe payment id, pack, net price, VAT amount, VAT rate and country, currency, time, the IP at purchase, your consent tick (time and terms version), receipt sent | 7 years | Accounting, tax, prove the purchase and your consent, defend against disputes | Legal duty (Estonian accounting law); legitimate interest for the consent proof and the IP |
| Email address you entered at checkout | 7 years with the purchase record | Send your receipt and notices about this purchase | Contract; legal duty |
| Flames ledger: every change to your balance and the reason (bought, spent on what in which world, refunded, removed after a dispute, support gift) | 7 years for entries linked to a purchase; the rest while the account exists | Show your balance; settle refunds and disputes | Contract; legitimate interest |
| Login history of accounts that bought something: time, IP, browser type, world entered | 2 years | Fraud prevention and the evidence we send to Stripe in a dispute | Legitimate interest |
| Parental consent confirmation for players under 18 | As long as the purchase record | Prove the rule was followed | Legal duty; legitimate interest |
Payment details (card number, bank data) are entered on Stripe's pages. We receive from Stripe only the result, a payment id, the last digits of the card, the card brand and country.
3.5 What we do not do
- No advertising, no ad networks, no data sales.
- No tracking scripts in your browser, no social media pixels, no advertising profiles. (The play statistics of section 3.6 are counted by our own servers and store nothing on your device.)
- No profiling that has a legal effect on you. The one automatic step is payment fraud screening by Stripe (Radar), which may block a payment; you can ask us to have a person look at it.
3.6 Play statistics (under a code, not your name)
We want to know where new players get stuck, which pages are used and whether the shop works, so that we can improve the game. Our servers (not your browser) send a few small events to our own analytics service. Nothing is stored on your device for this.
| What | Detail |
|---|---|
| Events | Account created; early-game steps reached (joined a world, first build, first training, first raid, first report, joined a clan, second village); the day you entered a world (at most once a day, with the world's id); which page of the game you opened (a fixed page name such as "map", once per visit); shop opened; a Flames purchase or refund (pack, price without VAT, currency, first purchase or not); Premium bought |
| Where you came from | When you create an account, the game notes which kind of site you came from, such as a search engine or a named community, and a campaign label from the link you used, but never the full address you came from |
| Who it is | A pseudonymous id: a code our servers compute from your account number with a secret key. It is the same in all worlds, and nobody without our secret key can turn it back into you or match it to your account |
| Never sent | Your username, email, messages, clan, village names, coordinates, IP address, browser details or location. The service sees our server's address, not yours |
| Where | Amazon Web Services, us-east-1 (USA), in an account run by us. AWS is certified under the EU–US Data Privacy Framework |
| How long | Single events 400 days, then they are deleted. A summary per id (first and last day seen, level, purchases) stays until we delete it |
| Legal ground | Legitimate interest (GDPR art. 6(1)(f)): running and improving the game. The data is pseudonymous, minimal, and you can switch it off |
| Your choice | Account page, "Share play stats" (on by default). Off = we send nothing about you, from the account service or from any world. A world you are already in follows the next time you enter it. You can also object or ask us to delete the record (section 11) |
4. Children and young players
- You may create an account on your own from age 16. Between 13 and 15 a parent or guardian must agree (you confirm this when you register). Under 13 you may not play.
- Players under 18 may buy only with a parent's consent and within a monthly limit (see the refund policy).
- We keep children's data to the same minimum as everybody's. We do not ask a child for more. A parent may ask us at any time to see, fix or delete the data of their child (section 11).
5. Cookies and browser storage
We use only what the game needs:
| Name | Where | What it does | How long |
|---|---|---|---|
tw_lobby | cookie, only for the account service | Keeps you signed in | Up to 60 days; signs out after 14 days of no use |
tw_oauth, tw_oauth_pending | cookie, only for the account service, only while you sign in with Apple or Google | Make sure the browser that started the sign-in finishes it; hold the step "choose your name" or "enter your password to link" | 10 and 15 minutes |
tw_session | cookie, per world | Keeps you signed in to a world | Up to 60 days, or 12 hours when you enter through the account service |
cf_device | cookie | The random browser id described in 3.3 | Up to 400 days |
Local storage (clanfire_device, village choice, notification and map settings) and session storage (sign-out marker) | your browser | Remembers your choices, the browser id | Until you clear it |
These are all set by us, not by anybody else. The sign-in cookies are essential; if you block them you cannot play. The browser id exists to protect the game from cheating. You can delete the cookie and local storage in your browser at any time.
6. Who sees your data
- Other players: only what the game shows: your username, clan and tag, points, villages on the map, rankings, badges, reports of fights, and the messages you send.
- Our staff: moderators and administrators, for the reasons in section 3. Staff cannot act against staff of an equal or higher role.
- Service providers (section 7), only as needed.
- Authorities, courts, banks, Stripe in a dispute: when the law requires it or to defend our rights. We give the minimum.
- A buyer of our business, if it ever happens, under the same promises.
7. Service providers and countries
| Provider | For | Data | Where |
|---|---|---|---|
| Amazon Web Services (hosting, storage and backups) | Run the servers, database, backups | Everything on the game servers | EU (Frankfurt, eu-central-1) [confirm when hosting is set up] |
| Stripe Payments Europe, Ltd. (Ireland) and Stripe, Inc. | Take payments, work out VAT, fraud screening, refunds, disputes | Payment details you enter; your email; purchase data we send | EU and USA. Stripe is also responsible for its own legal duties (anti-fraud, banking rules); see stripe.com/privacy |
| Amazon Web Services (Amazon SES, our email sender; only if you gave us an email) | Deliver the mails of 3.1 (confirm your email, new password, account notices) | Your email address and the text of that mail | EU (Frankfurt, eu-central-1) |
| Apple Inc. and Google LLC (only if you choose "Sign in with Apple" or "Sign in with Google") | Check who you are | They learn that you sign in to Clanflame and what they need to run the sign-in; we get your account id with them and your email as in 3.1. They are responsible for their own use under their privacy policies | USA and elsewhere; see their notices |
| Amazon Web Services (our analytics service, section 3.6) | Play statistics under a code | Pseudonymous id and the events of 3.6, nothing else | USA (us-east-1); EU–US Data Privacy Framework |
| Anthropic (only if "Ask Mags" is switched on) | The in-game advisor | Your question and a snapshot of your game state, no name or contact data | USA |
If data leaves the EU/EEA, it goes only to a provider that uses the EU's Standard Contractual Clauses or is certified under the EU–US Data Privacy Framework. We have the contracts that GDPR demands with the providers that work for us.
8. How long we keep data (summary)
| Data | Kept |
|---|---|
| Account, game data, messages | While your account exists, until you delete it. In each world, after about 30 days without play your villages become abandoned villages (terms, section 4); your account stays |
| IPs, browser id hashes, activity slots, pair log | 30 days |
| Fair-play counts and check results | 14 days (staff reviews 90 days) |
| Stand-in periods and their action log | 30 days after the period ends |
| Device id hashes used for the invite check (3.1) | 400 days after last use; gone when you delete the account |
| Sign-in links to Apple or Google | Until you unlink them or delete the account |
| Your account email | Until you remove or change it, or delete the account |
| Mailed one-time links (confirm email, new password) | Deleted one day after they stop working (24 hours / 30 minutes) |
| Invite code and the sign-up network (first three parts of the address) | While the account exists. For an account made through a link, the link record (account numbers, best points) is kept, without a name, as long as the inviter's account exists, so that the limit of 20 rewarded friends cannot be undone by deleting an account |
| Login history of accounts that bought something | 2 years |
| Play statistics (section 3.6) | Single events 400 days; the per-id summary until deleted (on request, or when you switch it off and ask) |
| Reports and tickets sent to staff | 12 months after they are closed |
| Ban appeals (your message, status, our note) | 365 days after we handled the appeal; deleted with your account |
| Bans (name and reason, so that a banned person cannot simply return) | While the ban lasts and 2 years after |
| Purchase records, receipts, Flames ledger entries, consent ticks, refund and dispute records | 7 years from the end of the financial year |
| Backups | Up to 30 days longer than the live data (backups roll over) |
| Server logs | A few weeks |
When a time is up, the data is deleted or made anonymous.
9. If you delete your account
- Your account, username, password hash, your account email and any links we mailed you, linked Apple and Google sign-ins (and the email from them), invite code, device id hashes, worlds list and personal settings are deleted. Your cosmetics, badges and Flames go with it.
- Your villages in running worlds become abandoned villages. Your name in mail, forum posts, chat and reports is replaced by "deleted player". Mail you sent may stay in the other person's mailbox without your name. Private notes, troop groups, raid lists and fair-play counts and checks are deleted.
- What we keep because the law requires it or because we need it to defend a claim: purchase records and Flames ledger entries linked to purchases (7 years), the login history of paying accounts (2 years), ban records (section 8). They are kept apart from the game and used only for those purposes.
- The play statistics (3.6) are tied to a code, not to your name. Deleting your account stops them; to have the record under your code removed too, write to us (section 11).
- Backups age out within about 30 days.
10. Data security
Passwords are stored with a slow one-way hash (scrypt). Sessions use a token that we store only as a hash. Connections use HTTPS. Sign-in cookies are HttpOnly and SameSite. The signing key for entering worlds stays on the account server. Access for staff is limited by role. Servers are hardened and backed up. No system is perfect: if a breach puts your data at risk, we tell you and the Estonian Data Protection Inspectorate within the times the law sets.
11. Your rights
You can ask us for:
- Access: a copy of the data we hold about you.
- Correction of wrong data.
- Deletion ("right to be forgotten"), except for records we must keep (section 9).
- Restriction of how we use it, or objection to the uses based on our legitimate interest (the security and fair-play data in 3.3 and the play statistics in 3.6, which you can also switch off yourself in the account page). If you object, we stop unless we have a strong reason that outweighs yours, or need the data to defend a claim.
- A portable copy of the data you gave us, in a common file format (the "Download my data" button in the account page, which includes your IPs with first and last seen, browser id labels, notes, mail, and purchases).
- Withdrawal of consent (for example parental consent) at any time. That does not undo what happened before.
Use the account page buttons or write to [contact email] from an address we can connect to you; we may ask you to prove it is you. We answer within one month. It is free, unless the requests are clearly unfounded or excessive.
12. Automated decisions
We do not make decisions that have legal effects on you by machine alone. Fraud screening by Stripe may block a payment automatically; you can ask for a human to check. Multi-account and cheating findings (including the fair-play counts) are shown to staff as hints; a person decides on every ban. The only automatic step is, in worlds where it is switched on, the refusal of game actions from a browser that reports itself as automated or from a request that declares itself an AI agent. That refusal only stops automated play (you can still read the game and write to us), it never bans, and if a real person is stopped by mistake (for example by a browser add-on that marks the browser as remote-controlled) you can write to us and a person looks at it.
13. Complaints
If you think we are handling your data wrongly, please write to us first at [contact email]. You also have the right to complain to a data protection authority, in particular in the country where you live or work. In Estonia: Andmekaitse Inspektsioon (Data Protection Inspectorate), Tatari 39, 10134 Tallinn, info@aki.ee, www.aki.ee.
14. Changes to this policy
We will update this text when the game or the law changes and tell you in the game and by email (where we have one) before a significant change takes effect. The date and version are at the top.
Notes for the owner (delete before publishing)
These points are about the code, not the player text. The policy promises them, so they must be true on the day of the first sale:
- ~~Account deletion and data export~~ built 2026-11-20 (lobby Account page;
docs/PRIVACY.md). - Account email (built 2026-11-24, optional): section 3.1, 7, 8 and 9 describe it. Receipts and dispute notices still use the email Stripe collects at checkout, stored with the purchase record (7 years). Mail goes through Amazon SES in Frankfurt (owner decision 2026-11-24); section 7 names it. The AWS GDPR DPA is part of the AWS service terms.
- Login history for paying accounts (2 years) does not exist: today IPs are purged after 30 days. The shop needs its own log (time, IP, browser type, world) kept 2 years, only for accounts with a purchase.
- Inactive-account deletion after 24 months was DROPPED (owner 2026-11-20): accounts stay until the player deletes them. 12-month report retention is a default I chose; no job does this yet.
cf_devicecookie and the localStorage device id: decided 2026-11-20, no banner (strictly necessary security storage), created only at sign-in/register/enter, one-line note under the sign-in forms; reasoning indocs/PRIVACY.mds.3.- ~~Google Fonts~~ fonts are self-hosted since 2026-11-20; the Google row was removed from section 7.
- Server logs: check whether the Fastify logs contain client IPs and how long Docker keeps them (now 10 MB x 5 files); the text says "a few weeks".
- Production hosting (AWS Frankfurt) is a plan, not confirmed; the 30-day S3 backup lifecycle is still open.
- Ask Mags (Anthropic): remove the row if the advisor stays off; if on, a data processing agreement with Anthropic is needed.
- Play statistics (3.6): built 2026-11-20 (
docs/ANALYTICS.md,docs/PRIVACY.mds.5). Confirm before publishing: that the analytics AWS account is the owner's own (so "run by us" and the DPF line are true), the 400-day retention in the analytics repo, and that the lobby and every world carry the sameANALYTICS_SALT. Deleting one person's record from the analytics service is a manual operator step (admin_delete_player); account deletion does not trigger it. - Records of processing (GDPR art. 30) and a short DPA with Stripe/AWS are an internal paperwork duty; not part of this text.