A taming framework for Hytale that focuses on fast setup and giving modders reusable systems for companion NPCs. Add ownership, taming, capture/spawn, command tools, and rich NPC interactions without huge custom instruction trees in every role.
<p> <a href="https://www.curseforge.com/hytale/mods/alecs-tamework" target="blank" rel="noopener noreferrer"><img alt="Tamework downloads" src="https://img.shields.io/curseforge/dt/1447962?label=Tamework&style=for-the-badge&logo=curseforge&color=rgb(241%2C100%2C54)" /></a> <a href="https://www.curseforge.com/hytale/mods/alecs-cats" target="blank" rel="noopener noreferrer"><img alt="Cats downloads" src="https://img.shields.io/curseforge/dt/1432112?label=Cats&style=for-the-badge&logo=curseforge&color=rgb(241%2C100%2C54)" /></a> <a href="https://www.curseforge.com/hytale/mods/alecs-nametags" target="blank" rel="noopener noreferrer"><img alt="Nametags downloads" src="https://img.shields.io/curseforge/dt/1464844?label=Nametags&style=for-the-badge&logo=curseforge&color=rgb(241%2C100%2C54)" /></a> <a href="https://www.curseforge.com/hytale/mods/alecs-animal-husbandry" target="blank" rel="noopener noreferrer"><img alt="Animal Husbandry downloads" src="https://img.shields.io/curseforge/dt/1480275?label=Animal%20Husbandry&style=for-the-badge&logo=curseforge&color=rgb(241%2C100%2C54)" /></a> </p> <p> <a href="https://discord.gg/E8n8RgTTdq" target="blank" rel="noopener noreferrer"><img alt="Join Discord" src="https://img.shields.io/discord/1468261809739005996?style=for-the-badge&logo=discord&logoColor=white&label=Join%20Discord&color=rgb(88,101,242)" /></a> <a href="https://ko-fi.com/alechilles" target="blank" rel="noopener noreferrer"><img alt="Support me on Ko-fi" src="https://img.shields.io/badge/ko--fi-Support%20Me-ff5f5f?logo=ko-fi&style=for-the-badge" /></a> <a href="https://hytale.com/" target="blank" rel="noopener noreferrer"><img alt="Creator Code Alec" src="https://img.shields.io/badge/Creator%20Code-Alec-00AEEF?style=for-the-badge" /></a> <a href="https://twitter.com/intent/user?screenname=Alechilles" target="blank" rel="noopener noreferrer"><img alt="Follow Alec on X" src="https://img.shields.io/badge/Follow-%40Alec-White?style=for-the-badge&logo=x&logoColor=rgb(255%2C255%2C255)&logoSize=auto&label=Follow&labelColor=rgb(85%2C85%2C85)&color=rgb(147%2C147%2C147)" /></a> </p> <p> <a href="https://bisecthosting.com/Alec" target="blank"><img alt="25% Off BisectHosting Servers With Code: Alec" src="https://www.bisecthosting.com/partners/custom-banners/249bd432-0996-4ccb-8184-65cd3791a3d2.webp" /></a> </p> <p> <a href="https://www.modstats.io/stats/alecs-tamework" target="_blank" rel="nofollow"><img src="https://www.modstats.io/api/v1/stats/projects/alecs-tamework/embed/card.svg?layout=live&theme=curseforge" alt="Alec's Tamework! ModStats"></a> </p>
Alec's Tamework is a modular NPC framework for Hytale built to let modders add rich NPC features through assets, templates, and config-driven systems instead of writing custom Java code. It embeds Patchwork for non-destructive asset patching, so artists, designers, and less technical modders can build advanced optional integrations without first creating their own plugin.
Tamework also aims to establish a shared standard for tameable NPCs in Hytale so different mods can work on top of similar ownership, naming, command, progression, and companion-management systems instead of forcing players to learn a different workflow for every mod.
Tamework is a framework dependency for other mods. It does not add a standalone gameplay expansion by itself.
If you are a player looking for gameplay built on Tamework, start with Alec's Animal Husbandry or Alec's Cats, or see the wiki for the specific mod you are using.
Tw*Config files rather than custom Java systems.TwInteractionConfig and TameworkInteract.canonical filled capture items and release the same saved companion again; other coops retain their normal behavior.
out in the world and companions owned, plus role-defined group limits, count every saved companion across unloads, capture items, rosters, coops, death, travel, and restarts. Direct SimpleClaims checks can still limit breeding by claim and apply its native tamed-companion damage rules.
bonded companions, population groups, admission providers, and namespaced profile extension data, including revision-fenced compare-and-set writes for integrations that need restart-safe custom state. Command rosters, timed summons, provisioning, and paid revival are configured through Tw*Config assets instead of public APIs.
plain files under universe/Tamework/Companions, so normal Hytale world backups include them. There is no database.
universe folder before updating.automatically before worlds load. The old database files are only read and stay unchanged. A later release removes this importer, so 3.x and 4.x worlds must run a 5.0.x release once before they update further.
with /tw persistence start-fresh.
for the full upgrade guide.
Integrating Tamework is usually a content-authoring workflow, not a programming workflow. Mods can use it in two ways:
Server/Patchwork/Patches that add Tamework actions, interactions, configs, and other JSON-based behavior only when Tamework is installed. Use Targets for shared operations across several assets and When.ModInstalled for optional cross-mod gates. The legacy Server/Tamework/Patches root remains readable while Tamework is installed, but new integrations should use the neutral Patchwork root.The Tamework plugin jar does not include sample NPCs, sample items, or sample progression configs. This keeps a library-only installation dormant until a downstream mod supplies matching assets. Reusable framework media, including the Nametag and Soul Lantern asset closures, remain in the main jar so dependent mods can reference them without installing the examples pack.
Build the optional examples with ./gradlew exampleAssetPack. Install the generated Alec's Tamework! Examples v<version>.zip beside the Tamework jar and explicitly enable it only when you need the sample graph. The pack is disabled by default, declares Tamework as a dependency, and can be omitted from production servers.
In both cases, no Java is required: install the optional example pack when you need a starting point, then copy and adapt its assets. Enable the systems you want through comprehensive configs, and polish. The full setup and implementation details can be found in the wiki.
Advanced integrations should use the Public API for canonical profiles and namespaced profile extension data instead of writing Tamework metadata or companion store files directly. Always check the relevant capability before using an optional API surface.
Tamework also builds one immutable runtime activation plan at startup. It installs no systems, feature listeners, or workers for an unused module. See Runtime Activation for automatic evidence, restart-bound reloads, /tw runtime status, and the Runeteria/RuneProfessions activation contract.
Player-facing Tamework config strings support server.lang keys. Built-in talents, traits, command labels, interaction messages, happiness labels, and major UI labels use language keys so translation packs can override copy without changing behavior assets.
Tamework is licensed under the GNU General Public License v3.0 with an attribution clause. You may use, modify, and redistribute Tamework under GPLv3.
Distributed versions and derivative works must credit "Alec's Tamework!" by Alechilles in their listing, description, or documentation.
If you run into a bug, integration issue, or behavior problem, report it in the Discord server:
https://discord.gg/E8n8RgTTdq
<H2>Telemetry</H2> <p><a href="https://www.curseforge.com/hytale/mods/alecs-tamework">Alec's Tamework</a> uses <a href="https://wiki.hytalemodding.dev/mod/beacon/migrate-to-beacon-2-0">Beacon</a> for its own crash, error, lifecycle, performance, and usage telemetry. The Patchwork runtime embedded in Tamework reports Patchwork operations through a separate hosted-only project.</p> <p>Tamework 5.0 no longer sends automatic persistence diagnostics or database attachments. Automatic events never attach save data or companion store files. Set <code>telemetry.enabled</code> to <code>false</code> in Tamework's global settings, or change Tamework's entry in <code>/beacon consent</code>, to opt out.</p> <p>Automatic aggregate Tamework and Patchwork telemetry does not include personally identifiable information and is used to diagnose issues and improve the mods. Reports you submit manually can include the contact text and server-log attachments you choose to send; review those fields and files before submitting.</p> <p>Tamework and Patchwork have independent consent entries, so disabling Tamework telemetry does not implicitly disable Patchwork telemetry. You may change either entry at any time in the /beacon consent menu.</p> <p>Alec's Tamework also reports anonymized active user numbers to <a href="https://hstats.dev/">HStats</a> to track active user count summaries.</p> <br />
0 Comments