Alec's Tamework! v5.11.0
What's new
5.11.0 - Sharing - 2026-11-11
Added
- Owners can share their tamed animals with other players and stay the only owner. Each player gets a level: Caretaker (feed, water, pet, heal and see status; Tamework's attack and defend behaviours never target them, and they cannot hurt the animal), Handler (also harvest, mount, shoulder ride, toggle flight, command it with their own command item, lead, recall, set and return home, breed, and use custom interactions such as fitting equipment) or Manager (also rename, cull, and put it in or take it out of a coop). Capture, release, revive, talents, transfer and sharing itself stay with the owner. Population limits still count the owner alone.
- Sharing covers all of an owner's animals. Look at one and run
/tw share private onto keep it to yourself, or/tw share private offto share it again. Bonded companions are never shared. - Sharing makes your animals depend on the players you share with. While you or anyone you share with is online, your shared animals get hungry and thirsty, age and produce, even when you are offline. If nobody feeds them, they can starve. Private animals and bonded companions still follow you alone. When none of you is online, the usual owner-offline grace applies. For this reason, a first share with a player or a group asks you to confirm.
/tw sharecommands for every player, with no admin permission:add <player> <caretaker|handler|manager> [confirm],remove <player>,list,group <groupId> <caretaker|handler|manager|off> [confirm],leave <player>andprivate <on|off>. You can share with up to 20 players by name. Other mods can offer groups, such as a guild; a group gives nothing until its owner turns it on with/tw share group.- The companions window has a Sharing button. Its page lists who you share with, changes or removes their level, adds a player who is online, turns groups on or off, and lets you leave a share someone gave you.
- Animals shared with you at Handler or higher appear in your own companions window with their owner's name. You can select them for your command item, command, recall and locate them, and use the buttons your level allows; the rest are hidden or disabled. Companion Inspect (F) opens on a shared animal from Caretaker up.
- Companion Inspect shows a Private switch to an owner who shares, to keep that one animal out of every share.
- A Manager counts as the owner for the damage settings, and their killing blow counts as a cull where the owner's would. Caretakers and Handlers can never hurt a shared animal.
/tw settingshas Sharing Enabled (on by default) and Highest Sharing Level (Manager by default) in the Ownership section. Turning sharing off keeps every saved share for later. A share above the highest level counts as that level.- For modders:
TameworkApi.sharedAccess()(SharedAccessApi) with theSHARED_ACCESScapability reads levels, changes grants and registers groups throughAccessGroupProvider. TheTameworkHasAccessNPC sensor and entity filter (optionalMinLevel) match the owner and players with access; the framework Aggressive and Defend components use it.TameworkIsOwnerandPolicyApi.isOwnerstay owner-only, andPolicyApi.evaluateDamagefollows the damage rule above.ManagedActivityView.actorIdnow names the player who fed, harvested or culled; the owner stays the owner. On a server network with a settings store, grants follow the network under the keyshared-access. The API version stays3.0.0. - For admins and test scripts:
/tw debug needs advance <seconds> [NPC selectors]fast-forwards the hunger and thirst of the selected NPCs, so a test does not wait in real time. The owner-offline grace still decides how much of the time counts, and no clock moves. The reply line gives the seconds asked for, the seconds that counted, and hunger and thirst before and after. It works from the server console with--entity <uuid>. - For admins and test scripts: while
/tw debug log xp-events onis set, every published feed, harvest, cull, breeding, need, capture, trough fill and command panel activity logs one[Tamework XP Event Debug] activity=...line with its operation id, companion, owner and the player credited as its actor.
Fixed
/tw debug log xp-events onturns on again. Since 5.0.0 it always answered that API events were unavailable./tw debug set harvestready --mode=falsenow restarts the harvest cooldown of a Variant role that setsHarvestTimeoutin itsModify(such as a role built on a shared template). It used to answer that the NPC had no valid HarvestTimeout and leave the animal ready. TheTameworkHarvestAlarmaction reads the timeout the same way.- Baby animals can no longer be harvested (milked, sheared and so on), and their companion card no longer shows a harvest meter. Species that grow up in their adult role, with no separate baby role, such as Mosshorns, used to inherit the adult's harvest.
- The owner-offline grace for hunger and thirst (72 hours by default) no longer starts again every time the server
restarts. Before, on a server that restarts daily the grace never ran out, so animals of players who had stopped
playing never got hungry. Their animals now start getting hungry and thirsty once the grace is used up, the same
way aging and production already worked. The grace still counts server uptime only, and its length is still set
with
/tw settings. - One harvest (milking, shearing and so on) now drops its items once. Before, a single use ran the harvest twice: it rolled the drop list twice and reported two harvests to mods that reward them. Harvests now give half of what they gave before; raise a species' harvest drop list if you balanced around the old amount.
This mod has no additional files