Repository navigation
Releases
Releases · enricofranke/cc-cloud
v1.0.0-beta.1
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 astype = "probe"(was"advanced_uplink") withtarget. - 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 configmapTileMaxAgeDays, 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 configwiredMachineCards). 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
probeRangeapplies 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, thec:tags (AlmostUnified), the AllTheModium /*_fallbackvariants, 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 Powa...