Repository navigation
v0.22
Mods in WebAssembly, run by the server and reloaded while it runs, and the first pack built with them: the Abyss, a shaft 400 blocks wide that drops into a sea of clouds.
Highlights
- Mods in WebAssembly, run by the server and reloaded live
- The Abyss: a 400-block shaft that drops into a sea of clouds
- /tp, and creatures visible up to 12 chunks away
All changes (8)
- Mods: the behaviour of new content is Rust compiled to WebAssembly, run by the server (solo included) within a budget of time and memory, and swapped while it runs, keeping its state, when its .wasm is built again or on /reload. A mod hooks the right click on its blocks, the random ticks of any block, timers, commands and /locate, drives the creatures its pack defines, adds to the chunks of new worlds, and shows titles and plays sounds to the players. A mod that fails is disabled and the operators are told why; the game goes on. docs/MODS.md says how to write one; just build-mods builds them, just mod-dev at each save.
- The Abyss, the game's pack: somewhere in each new world, 800 to 1100 blocks from the origin and away from water and the lair, the land opens on a shaft 400 blocks across, found with /locate abyss. Its first layer, the Rim, is a precipice: from an irregular lip of grass over a sheer wall of coloured beds of stone, fluted, mossy and hung with lianas, a single drop of about 120 blocks to the Veil, a sea of clouds from y -40 down to -90 that turns all white from inside. Out of it rise eleven leaning needles crowned with trees, some with a pool, the tallest, le Doigt, 26 blocks over the lip; three rivers wind to the lip and fall into the clouds as curtains of water, heard as a waterfall as you come near; flocks of birds wheel over the void. Those who went down before left their traces: the Bornes, nine menhirs of basalt around the lip, each with a glowing glyph; the Vire, a path cut in the wall that winds down to the Veil past posts and lanterns; and the broken Arch, a bridge from the wall to le Doigt, broken in the middle and hung with chains. Under the Veil the Hanging Woods, lit by the sky to the bottom, hang foliage, lianas and roots under four levels of giant ledges, joined by root bridges, with galleries that wind through the rock to chambers lit by living amber; at y -256 a lake on rootstone. Titles name the Rim and the Hanging Woods the first time a player enters them. A world saved with the first, sealed Abyss keeps its shaft, whose blocks become placeholders. A world begun with the earlier Abyss of tiers and ramps keeps the chunks already made, and the new ones follow the precipice; for some seeds the shaft also moves: the old one stays half-made and no longer lit from the sky, /locate abyss points to the new one, and where the new one overlaps land already explored, it stops at the chunks already made.
- Protocol 65, save format 8: the creatures of the packs are sent and saved under their names, and a world keeps the state of each mod in mods/.state.
- Mod API 0.2.0 (mods must be rebuilt): a worldgen tells where it lowered the ground (surface), and the sky lights such a shaft down to its bottom even where its upper chunks are far; no animal is born in it. Mods read the lair of the Ember Mother (terrain::reserved) to keep away from it, and a gameplay mod reads the ground of the world from its init. A world whose packs dig under the bottom of the world has its floor lower: players and items fall out of it under the lowest of the pack's regions. Protocol 66: the answer to a join carries the sky wells.
- /tp takes its author there, feet at y; ~ is where the player is, ~10 an offset. An operator's command.
- The chat suggests the places of /locate the mods add, such as abyss (protocol 67).
- The creatures are shown within 12 chunks of you, whatever the render distance (or within it when smaller): a large render distance in a world of thousands of animals no longer slows the game down nor fails to join. A creature leaving the view no longer plays the sound of its end (protocol 68).
- The creatures in view are sent in batches: their moves on a channel of their own that drops a late one rather than waiting for it, their changes and their coming into view a few dozen to a message, a few hundred a tick, so that joining among thousands of them, or a crowded farm, no longer chokes the connection (protocol 69).
Full Changelog: v0.21...v0.22