Skip to content

v1.0.0-beta.1

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 30 Oct 19:06
· 57 commits to main since this release

The first public beta. CC: Cloud needs CC: Tweaked 1.120.0+ next to it (Minecraft 26.1.2, NeoForge 26.1.2.109+,
Java 25) – for 26.1.2 it is on Modrinth only. Drop both jars into mods/ on the
client and the server, place a Cloud Mainframe and follow the pairing code
– or read Getting started. Found a bug? Report it in the
Discord #help forum or as an issue.

Fixes and follow-ups

  • Cloud Redstone devices placed by /setblock, a structure or a schematic paste with their link in the block data now
    show on the dashboard at once; before, they only appeared after their first state change.
  • Cloud Probes are their own kind of device on the network map: own icon and label, and a thin purple line to the
    machine they read on the 2D map, in the 3D view (with a frame on the machine) and on the mini map of the mainframe
    screen; the detail panel says which machine and how far away. Before, a probe looked like an advanced uplink. For Lua:
    cloud_mainframe.getNetwork() now reports probes as type = "probe" (was "advanced_uplink") with target.
  • Map tiles on disk no longer grow forever: purging a mainframe deletes its cave slices, and tiles that were neither drawn
    nor shown for 30 days are deleted (new config mapTileMaxAgeDays, 0 keeps them).
  • Production statistics: a huge stock change (thousands of item types at once, e.g. emptying a drive) no longer creates
    a short-lived statistics entry for every changed item; only the items that will be tracked are created.
  • CC: Tweaked wired networks: an uplink on a computer now also shows cards for the machines the computer reaches through
    its wired modems and networking cable – the same cards an uplink on each machine would show, with the same controls and
    permissions (up to 8 per uplink, new config wiredMachineCards). Lua bridge widgets (itemSearch, watchlist, jobs)
    accept a bridge on the computer's cable network when the uplink sits directly on the computer.
  • Railcraft Reborn: new cards for iron and steel tanks, coke ovens and blast furnaces. Like the steam boiler, an uplink
    or a Cloud Probe on any block of the formed multiblock shows the whole structure (fill and fluid; cooking progress,
    creosote and output; smelting progress, fuel, output and slag).
  • Dashboard: buttons take the colour picked for them in the layout editor, also the buttons of Cloud Buttons (which
    were always cyan); purple and orange work as button colours too, readable in the dark and the light theme.
  • Discord bot deployment: a NetworkPolicy (nothing in; out only DNS and HTTPS to public addresses) and how to pin the
    image by digest (discord-bot/README.md); the image workflow shows the digest in its summary.
  • Dashboard: the storage browser and the "Watch an item" sheet keep their height while you type a filter; their top edge no longer jumps up and down as the results change.

Security review before the release

  • API keys end with the browser that created them: revoking a browser (in game, /cccloud devices revoke, the Account
    page) also revokes the API keys made with it, so a lost phone cannot keep control through a key. The key list no longer
    shows other players' IP addresses to moderators.
  • Cloud Probe: the target is checked on every read and action, not only when linking – a lower probeRange applies to
    probes linked before, a chunk another team claims stops the reading, and a probe moved with its data (contraptions,
    block movers) forgets its target. Linking checks claims and spawn protection again; a picked machine must be handed to
    a probe within 10 minutes.
  • Creative players without op can no longer place CC: Cloud blocks with copied block data (made-up targets, links or ids).
  • Map slices: a chunk claimed by another team is also removed from tiles that were cached before the claim.
  • Dashboard: a saved layout with overlapping cards can no longer make the dashboard hang (big layouts are placed in one
    pass); the 3D view's cached blocks are deleted as soon as the role loses "See coordinates".
  • Smaller limits: at most 256 map tiles wait for the server, screen actions are limited per player, and before login a
    compressed WebSocket message may not inflate beyond 2 KB.

Live recipes in the dashboard docs – right grids on modpack servers

  • The dashboard's recipes now come from the server: packs that change CC: Cloud recipes with datapacks, KubeJS or
    CraftTweaker (All the Mods, …) no longer get the mod's default grids in /docs. A changed recipe carries the badge
    "Changed by this server/modpack" (the default one click away), a removed one "Not craftable on this server", a
    recipe the pack added for one of our items "Added by this server/modpack"; conditional variants that do not load on
    this server (AllTheModium vs. *_fallback) shrink to one line. Without a server (offline) the defaults show as before.
  • New read-only endpoint GET /api/recipes: public like the docs and item icons (game data only; LAN-only rule,
    60 requests per minute per IP), only our items' recipes, built once per recipe reload (/reload, KubeJS) and cached.
  • The website's recipes page says that it shows the defaults. The recipes page ends with "For pack makers": every
    recipe id, the c: tags (AlmostUnified), the AllTheModium / *_fallback variants, removing a recipe with a
    datapack, a KubeJS example, and that the FTB Quests chapters use items, not recipes.

Big bases and big servers

  • Hundreds of machines per mainframe, many mainframes and many browsers: on the scale benchmark (500 + 10 × 100
    devices, 100 rules, 50 browsers) CC: Cloud's server-thread time under load went from 6.4 to 1.6 ms per tick on average
    (p95 18 → 4 ms); a single mainframe with 500 devices and 10 browsers costs about 0.5–1 ms per tick. Network
    recomputes, redstone cards and history sampling no longer cause 30+ ms ticks.
  • Dashboard: one message per update batch instead of one per value (5 800 → 12 messages per second for a big base),
    compressed WebSocket (webCompression, the 1.1 MB snapshot of a 500-device base is 112 KB on the wire), only the
    changed cards render again, cards far off screen render when they come near, big pages lay out in milliseconds instead
    of a minute: a 500-device mainframe shows its cards after 0.3 s (the old dashboard never finished rendering it).
  • Fixed for big bases: the mainframe screen of a big network stayed empty (its view was over the packet limit), the
    Cloud Tablet never got a big base's snapshot (over the payload limit), browsers were disconnected as "too slow" right
    after a big snapshot, layouts with more than 256 cards could not be saved, only 256 cards of an unloaded base survived
    a restart.
  • When many rules run in the same second, the server log gets one line for all of them.
  • New config: webCompression (on), historyMaxTotalMB (128 MB of long-term statistics for all mainframes together).
  • For developers: ./gradlew runGameTestServer -PscaleTest (docs/SPEC.md "Scaling"), tools/e2e/scale-render.mjs.

Cloud Redstone devices – a lamp on your phone without a computer

  • Four small blocks that are linked with the Link Card like an uplink – no computer, no Lua, no channels:
    Cloud Switch (on any face like a lever, strong into its block and weak around; on/off or analog 0–15),
    Cloud Button (a pulse of 2–40 ticks), Cloud Lamp (light 0–15 set from the dashboard, optionally also lit by
    redstone) and Cloud Sensor (reads 0–15, also right after a world load). Right-click switches, sneak + right-click
    opens a small screen (name, group, mode, pulse, PIN/confirm, connection).
  • Devices with the same group share one card (e.g. "Hall" with six lamp switches and All on / All off); devices without
    a group go to the mainframe's automatic "Redstone" card. The cards are normal cards: layout editor, Cloud Tablet,
    Cloud Display, share links, rules (e.g. "when the door sensor is on → push"), scenes, the public API and history
    (lamp light, sensor level). Rules and scenes follow a device to its new card when its group changes.
  • Controls need "Switch redstone"; PIN and confirmation per device; at most 4 dashboard changes per second and device.
    A device counts 0.25 of the mainframe's capacity and costs 1 FE/t (range 32 blocks, radio only; all in the config).
    Shown on the network map (rename/regroup there), in the 3D view, the Cloud Analyzer and Jade.
  • Cheap recipes from a lever / stone button / comparator / redstone lamp and prismarine crystals; new dashboard icons
    lever, button, lamp and sensor. Docs page "Redstone devices" (EN/DE), FTB Quests quests.

Cloud Probe – read machines built into walls

  • Cloud Probe (new block): reads exactly one machine up to 8 blocks away (server config probeRange, max 16) as
    if an uplink were attached to it – for machines built into walls or with every face taken by pipes and cables.
    Link Card: sneak + right-click the machine, then right-click the probe; claims and spawn protection are respected
    (the click is a normal interaction), only the picking player can use it, the uplink screen shows what it reads and
    can clear it, the Cloud Analyzer draws a line to the machine. Expensive on purpose: Advanced Cloud Uplink, Cloud Core,
    an eye of ender and 6 vibranium ingots (without Allthemodium: diamonds and netherite scrap); counts as 2 devices and costs
    24 FE/t (config). Normal uplinks stay adjacent-only.
  • The uplink screen says when a machine exposes nothing on the touched face but does on another ("attach to another
    side (e.g. top) or use a Cloud Probe"). Cards already read side-configured machines through their internal view.
  • Uplinks on a Productive Metalworks foundry part (tank, drain, capacitor) or a Productive Farming hatch show the
    controller's card, like Powah reactor parts, Advanced AE and Railcraft boilers already did.

Visual polish: compact uplinks, quieter JourneyMap

  • Compact uplink: on faces that cannot carry the 14x14 plate – slab sides, tray-height machines such as Energized
    Power solar panels, carpet-height blocks – the uplink becomes a small module on the visible part of the face instead
    of a plate sticking out like a sign. Chosen automatically from the attached block's shape, follows it when that block
    changes, and fixes itself in existing worlds after loading. The hitbox matches. Top and bottom faces only take the
    plate: placing an uplink on top of a slab or solar panel is refused with a hint ("Attach the uplink to the side of
    this block"); uplinks that already sit there keep working.
  • JourneyMap: by default only mainframes and Ender Relays become waypoints (client config
    journeyMapWaypointTypes adds relays, uplinks, bridges), all in one waypoint group "CC: Cloud" that JourneyMap can
    hide at once; only mainframes get the in-world marker and beam; names are the card title (computer label) or the
    block name instead of "CC: Cloud – Mainframe @ x y z: uplink".

v0.10 – Scenes, schedules, production statistics, public API

  • Scenes: one named button that runs several actions in order (widgets on any card, redstone, crafting, alerts,
    the dashboard switch) with delays counted in server ticks, optional confirmation and PIN. Every step is checked
    against the rights of whoever pressed it, so a scene never does more than its presser could by hand; saving needs
    every permission the steps need. Scenes show up as a Scenes card (move the buttons anywhere in the layout editor) and
    work on the Cloud Tablet and the Cloud Display; the Scenes page edits them with the rule pickers and test-runs them
    with a result per step.
  • Schedules as rule triggers: weekdays + time (server time zone), every N minutes, and in-game time with presets
    (dawn, noon, dusk, midnight). After a restart at most one missed run is caught up; schedules of unloaded mainframes
    are skipped and logged once. A rule can run a scene (with the scene owner's rights, never a PIN scene). Limits per
    mainframe and a minimum interval in the server config.
  • Production statistics for AE2 and Refined Storage: items gained, consumed and crafted per minute and per hour,
    top producers and consumers, an item view ("what is eating my iron"), the energy flow of all energy cards, charts,
    and pinned rates as a Production card. Sampled once a minute from the bridges' item index with bounded memory; only
    who may search a storage sees its numbers.
  • Public API v1 (off by default): per-player API keys bound to one mainframe with scopes, optional expiry and IP
    allow-list, /api/v1 REST routes (sections, widget values, storage search, production, scenes), a read-only
    Server-Sent Events stream, an OpenAPI description, rate limits, audit log; keys never get more than their owner's
    live rights and never reach PIN-protected controls. New permission api.keys and server node cccloud.api.keys.
  • Docs (EN/DE): scenes, schedules, production statistics and a Public API page with curl, Home Assistant and a
    Discord bot example; handbook regenerated.

Mainframe removal is no longer final

  • A broken Cloud Mainframe drops its item with its identity (tooltip: id and owner). Placing it again – anywhere – brings
    back the same mainframe with its devices, accounts, PIN, layout, rules, scenes and API keys, still owned by its
    owner; uplinks and bridges reconnect. Upgrade cards still drop separately.
  • Nothing is deleted at once: the data is kept for mainframeRetentionDays (default 7), the dashboard shows the
    mainframe as "Removed" with the deletion date. /cccloud mainframe recover gives owners their item back after a
    creative break (server admins always); /cccloud mainframe purge <id> deletes it earlier.
  • Misclick guard (mainframeBreakProtection, default on): in creative the mainframe only breaks while sneaking; in
    survival only its owner, its admins and server admins can break it.

3D blocks and map tiles load in seconds

  • The 3D view's blocks loaded one 16³ section per request, and every request also counted against the 120 API requests
    per minute per IP: the showcase base (536 sections) showed "Loading blocks 10 %" for minutes. The dashboard now
    asks for up to 64 sections per request (a compact binary batch, gzip), nearest to the mainframe first; the limit
    counts sections (2048 per device, refilled at 256 per second), so a base loads without waiting. Measured on the
    showcase world: the whole base in 2.2 s instead of 3.5 minutes (9 requests instead of 952), first blocks after 0.4 s,
    11 KB instead of 121 KB, and the server thread spends 15 ms (4–5 ms with warm caches) instead of 127 ms on it.
  • This browser keeps the blocks (IndexedDB): reopening 3D shows the base at once (0.3–0.5 s) and the server only
    confirms unchanged sections. Removing the mainframe from the browser removes them too.
  • Meshing runs in a small pool of workers with a 4× faster mesher, each region is meshed about once instead of five
    times, region meshes are merged (draw calls 183 → 108, triangles −15 %), and the loading line says what is
    happening (loading, updating, waiting for the server, building).
  • Server: the server thread only copies the block-state containers of the asked sections (microseconds each); hashing,
    building and encoding run in the background, and the cache is checked against the blocks themselves, so changes
    that fire no neighbor update (block movers, /setblock variants) show too. Map tiles: the server thread copies the
    chunks' block states, sampling and PNG encoding run in the background, cached tiles are read from disk in the
    background (server thread per tile 2.3 → 1.0 ms; all 20 showcase tiles in 0.6 s, and they no longer wait for the
    API limit after the 3D view).
  • /cccloud map stats [reset] (server admins) shows requests, cache hits, server-thread time per tick and bytes for
    the map tiles and the voxels. tools/showcase/loadbench.mjs measures the loading on the showcase world.

Fixes

  • Script Store: door-controller 1.0.1 no longer passes icon to cloud.group() (groups take page and cols; the
    card shows its first widget's icon), which the mod refused at start. A unit test now runs every store script on CC's
    Lua VM against the mod's real widget validation, with one dashboard action per control.
  • Wireless redstone: a transmitter samples its input on its first tick after loading, so a channel driven by a lever
    that is already on is correct after a world load (it stayed at 0 until something changed next to the transmitter).
  • Auto-stock no longer fills the crafting jobs with "failed (no_cpu)" rows while every crafting CPU is busy: the request
    waits as one "Waiting for CPU" row per item, is planned again after the 30 s cooldown and never counts as a failure.
    While AE2 has no idle CPU nothing is planned at all. Same logic for the ME and RS bridges and in the dashboard mock.
  • Dashboard: Chrome sometimes got an empty response on the first load. A tab alone opens 7–8 connections, and the
    9th connection from an IP was closed without an answer. The limits are now 24 connections per IP and 256 in total,
    and a connection slightly over a limit gets 503 with Retry-After instead of an empty response (docs/SECURITY.md).
  • Jade: the tooltip plugin failed to load with Jade 26.1.12 ("Data providers cannot implement IComponentProvider since
    Minecraft 1.21.6"). The network lines now come from a separate server data provider and client tooltip provider; a
    unit test checks that rule on the compiled classes. -PintegrationMods=jade puts Jade into the dev runs.
  • Cloud Displays no longer reset to 1×1 ("was malformed") when a world loads: the block saved its position in the wall
    as x/y, which the chunk save overwrites with the block's coordinates. The index is now saved as
    index_x/index_y; walls saved by 0.9.0 join up again by themselves. The showcase builder writes the new keys.