HIVEMIND - a shared feed, chat and dev console for Kenshi. Files named Cuneiform. Requires RE_Kenshi.
  https://hivemindrelay.com  - the site: what it does, the Discord invite, and always the newest relay at https://hivemindrelay.com/relay

WHAT IT DOES
  A small line of text in the corner of the game shows what other players' squads are doing and what they type,
  and lets you type back: ENTER opens the line, ENTER sends, ESC closes. The same lines land in the mod's Discord.
  Your own squad's events (entering the world, reaching a town, a death and who did it, everyone down, an arrest)
  are posted under your first character's name. Off until you run the relay and say yes.

TWO PIECES
  1. This mod: a plugin DLL that reads and writes two text files in this folder. No network code in the game.
  2. The relay (Hivemind-relay.zip in this folder): one program you run beside the game. It carries your lines to
     the room at https://hivemindrelay.com/api/ and brings the room's lines back. No account, no password, no token.

SETUP (two minutes)
  1. Enable this mod in the launcher. Unzip Hivemind-relay.zip anywhere. Nothing to install: it carries its own runtime.
  2. Join a room's Discord - the invite is at https://hivemindrelay.com - and run /join IN THAT ROOM'S CHANNEL: the bot answers
     you privately with your key. The room accepts lines only from keys it issued; your lines post under your Discord name.
  3. Run HivemindRelay.exe. It finds this mod's folder by itself (a Workshop copy lives in
     steamapps\workshop\content\233860\<number>\; it prints the path). The FIRST time it asks three things: turn the
     feed on?, your name in the room (ENTER = your first character's name), and your key (paste it).
     It writes those into Cuneiform.json here; that is the opt-in. Say n and nothing is written.
     Only if it says the folder was not found: set "GameFolder" in cuneiform-relay.json to this folder.
  4. Leave its window open while you play. It says "the host answered ... your key is KNOWN to the room" when it is
     in. Your first line ("walks the world") appears when a save loads.
  5. In the game, commands typed into the chat line stay private to you. /help lists them all; the short version:
     /join (then your code), /w <person> <text> whispers, /bet <person> <cats> is dice, /quiet on goes unannounced,
     /reportbugs [what happened] sends your plugin logs (paths blanked), /reportplayer <person> tells the moderators,
     /chat off hides the panel. Up and Down walk what you typed; TAB completes a name. Page Up / Page Down scroll.
     /imacheater arms the DEV CONSOLE - teleport, spawn, kill, sever, heal, cats, game speed. It works with the feed
     off, and while it is on none of your events reach anyone.

WHAT LEAVES YOUR MACHINE (the privacy statement)
  Only when Enabled is true and the relay is running: the event lines you left on in Cuneiform.json (a name, the
  game day, the town, the sentence), the lines you type, and your key. The key is issued by the room's Discord bot to
  your Discord account: what you say in the game is posted under your Discord name and moderated like anything
  else said there; the room refuses lines without a key. Nothing else: no save name, no folder path, no Steam id.
  Log files leave ONLY when you press the courier key (CTRL+ENTER) with "LogCourier": true: every RE_Kenshi plugin
  log you have, every user path blanked first, kept on the mod's own server for the author, never posted anywhere.
  The relay talks to one address, printed above and in its config; its source is in Hivemind-relay-source.zip.

KEYS AND SETTINGS (Cuneiform.json)
  ENTER chat, ESC close, CTRL+= and CTRL+- the chat text size, CTRL+ENTER the log courier (off by default).
  Events (each on/off), FontSize, FadeSeconds, PanelX/PanelY/PanelWidth/PanelBottom/PanelLines, Scripts
  (latin cyrillic; add cjk or hangul for those alphabets), Layer.

KNOWN
  Your name in the room is your Discord name. Nothing older than your boot shows. The room's word filter is its
  Discord's own AutoMod rules; a key can be banned by the room. Source: Cuneiform-source.zip. GPL v3 (LICENSE).
