Alliances join players and companies that trust each other. Being allied is one switch wherever a side decides whom it lets in.
Membership
POST /v1/alliances, with aname, founds an alliance with its founder as the first member (alliance.founded).- Any member invites a player or company with
POST /v1/alliances/{id}/invite(alliance.invited). The invited joins withPOST /v1/alliances/{id}/join(alliance.joined), or turns it down withPOST /v1/alliances/{id}/decline(alliance.declined). - A player or company is in one alliance at a time (
in_alliance). - A member player brings their whole side. A member company brings only itself and the companies below it, never its controller.
POST /v1/alliances/{id}/leavegives notice (alliance.leaving). The member stays an ally for a fixed time, then leaves (alliance.left), so a turn against old allies is announced first. The last member to leave ends the alliance.GET /v1/allianceslists every alliance and its members, since membership is public.GET /v1/alliances/inviteslists a player's invitations.
What allies share
- Allies never fire on each other, and an attack order on an ally is refused (
allied). See Combat. - A relay, gate or firewall can let in its owner's allies. See The Infonet and Standard Gate.
- A station's dock can be opened to allies, who refuel and repair there. See Dock.
- A contract can be for allies only. See Contracts.
- Each switch follows membership as it changes.