Skip to content

Check for automated play

  • [E] (owner, 2026-11-14) Letting an AI or a program operate the interface is not allowed; the game can check it. D1: the admin switches the check on for one player; it is off by default.

  • [E] (owner, 2026-11-21) D2: only hints for the admin, a list of what is conspicuous; no automatic warning or suspension, the admin decides with the existing moderation. D3: at first only what the server sees anyway; signals of the browser only after a separate decision on the data (#232: the browser sends no key, position or scroll data). D4: kept 30 days, like the audit log. D5: a general rule in the Lexicanum and one sentence in the changelog; no message to a player when the check is switched on for them. Not retroactive: worked out only from the moment the switch is turned on. The switch stays on until the admin turns it off.

  • [V] (coordinator, 2026-11-21, Q37 to Q40) Raw facts only, no threshold, no verdict, no mark „auffällig“; worked out when the admin opens the record, no table of hints; only the newest period (switching off and on again starts anew).

  • [E] (owner, 2026-11-28, #468) More than the hints: a list „auffällige Spieler“ (S2), a stage control in the player record („Aus“, „Prüfen“, „Prüfen + leichte Bremse“, „Prüfen + starke Bremse“), deeper analyses while a player is checked (S3), and browser signals for a checked player only (S4). The brake: a lower action limit per minute than the 120 of everyone, and a minimum gap between two actions; the values of both stages are settings of the admin. A refused action of a braked player gets its own hint: „Dein Konto ist gebremst: Die Spielleitung prüft auffällig automatisierte Aktionen. Bitte warte kurz zwischen deinen Aktionen.“ Braking stays the admin’s decision; no automatic warning or suspension (D2).

  • [E] (owner, 2026-11-28, comment on #468) A server-wide switch „Nachricht bei Bremse“, valid across rounds, off by default. On: the player gets a report when the brake is switched on, and the own hint on a refused action. Off: a refused action shows only the general „Zu viele Aktionen in kurzer Zeit“, so nothing reveals the brake.

  • [V] (coordinator, 2026-11-28, B1) The thresholds, the brake values and the two switches of #468 are server-wide settings: rows of settings, in their own admin tab „Automatisierung“, touched by no preset of #441 and no „Neue Runde“.

  • [V] The switch is a row of bot_checks (migration 20261121T1900-bot-check): the player and since, the moment of the switch-on. No row is off. Since #468 (migration 20261128T1530-bot-stage) the row has a stage: 1 „Prüfen“, 2 „Prüfen + leichte Bremse“, 3 „Prüfen + starke Bremse“; a check that was on became 1. A change between the stages keeps since; „Aus“ deletes the row, and the next stage starts a new period [V]. The route takes { player, stage } (0 to 3) and refuses anything else with „Bitte eine Stufe wählen.“ [V]; the audit detail is { before, stage }. The row stays over a new round and goes with the account (ON DELETE CASCADE). The route POST /api/admin/bot-check ({ player, on }) is an admin write; its audit entry admin.write / botCheck names the admin (actor), the player (target), the time and { on }. A player that does not exist and a missing on/off are refused.
  • [V] The hints are part of the player record (POST /api/admin/player, an admin read as before): botCheck: { since, days } from src/server/game/bot-check.ts and the pure src/core/bot-hints.ts. The sources are what the server keeps anyway: the game actions of the audit log of that player (category game; the entries rateLimit are the hits of the action limit of #328, which the audit notes at most once an hour per account) and the intervals of active play time of #231. Both are read from max(since, now − 30 days): the audit log keeps 30 days, the play time until the round is deleted, so the cut of 30 days is made by the hints (pinned by a test with older data still present).
  • [V] A day (UTC) is shown when it has an action or a hit, newest first: the number of game actions; of them, those in no interval of active play time; the hits of the action limit; and of the gaps between two successive actions of that day the shortest, the median and the middle half (half of the gaps lie between the two values, a quarter below and a quarter above; the nearest-rank quartiles, in seconds to a tenth). This spread is the only measure: a very regular rhythm shows as a narrow middle half, a fast one as small values; there is no threshold.
  • [V] Account deletion: the audit rows of the account (as actor or target) are deleted by deleteAccount, the play time and bot_checks go by ON DELETE CASCADE; the hints read nothing else (not the journal).
  • [V] The player cannot tell: nothing of the check is in the state or in an answer (a test compares the state and an answer with the check on and off). A brake of #468 shows only in its refusals, and with „Nachricht bei Bremse“ in the report and the hint; „Prüfen“ alone still shows nothing. The admin’s page shows it in its own block below „Diagnose und Protokoll“ (AdminBotCheck.svelte), so the record keeps its frozen reference of #118.
  • src/core/bot-brake.ts holds the stages, the settings and the texts; src/server/http/action-limit.ts brakes. The general limit of 120 counts first, then the brake of a braked account: its own window of a minute (refused actions counted, as in #328) and the minimum gap since the last action it took (a refused one does not move it).
  • The brake counts only the actions the player starts, change and click of ACTION_KIND (the play actions of #335). The play time reports and what the page sends by itself (view, auto) keep only the general limit: otherwise the page of a braked player would fail at its own calls, and the strong brake would cut the play time the check reads.
  • A refusal is noted in the audit log at most once an hour per account, as the hits of the limit, under its own action brake (detail: limit and gap). The hints do not count it, neither as an action nor as a hit, so a braked player does not keep himself on the list by the brake alone.
  • The refusal names the brake only while „Nachricht bei Bremse“ is on; otherwise it is the general text of #328.
  • The report, while the message is on, when a brake is switched on from no brake (from „Aus“ or „Prüfen“); not between the brakes and not when it ends (coordinator, 2026-11-28). Push kind „Servernachrichten“.
  • Starting values (the issue’s examples): light 30 per minute and 1 s, strong 10 per minute and 5 s; ranges 1 to 119 per minute and 0 to 60 s. „Nachricht bei Bremse“ off.
  • The tab „Automatisierung“ (views/AdminAutomation.svelte) shows each setting with what it does; „Automatisierung speichern“ is the admin action botSettings, audited with the values before and after; one value out of its range refuses the whole save. The settings reach only the admin (botSettings in the state).
  • #468 S2 to S4: the list „auffällige Spieler“ with its thresholds and the automatic „Prüfen“, the message on landing on the list, the deeper analyses and the browser signals.