Home Overview Architecture Core Systems Gameplay Social Economy Content UI/UX Roadmap

§5 — Social Systems

Friends, alliances, alliance research, alliance chat, alliance wars, reputation, combat log, leaderboard, and gifts.

100%
Complete

Friends System (GDD §17.2)

Features

  • Send / accept / decline friend requests
  • Remove friends
  • Online presence indicator
  • Friend list in Social tab
  • Gift credits to friends (max 5,000/day per sender)

Socket Handlers

  • add_friend — by username
  • accept_friend, remove_friend
  • get_friends — list with online status
  • send_gift — credit transfer, daily cap enforced
Friends System100%
Decline, block/unblock, last-seen, DM button (v3.9)

Alliance System (GDD §12)

Core Features

  • Create alliance (name, tag, description)
  • Search alliances by name/tag
  • Join / leave alliances
  • Alliance warehouse — deposit / withdraw resources
  • Alliance tag displayed on leaderboard

Alliance Research

3-tier tech tree with 8 technologies. Costs paid from alliance warehouse resources. 1-hour timers. Researched techs broadcast bonuses to all alliance members. Client renders a tile-grid grouped by tier.

Alliance Chat

Private Socket.IO room per alliance. 7-day message persistence (max 200 entries, rolling). History loaded on Alliance tab open. Embedded panel in Alliance tab.

Alliance Wars

72-hour scheduled wars declared by alliance leaders/officers. 24-hour declaration phase followed by 72-hour active war. War score = fleet battles (ranked PvP) won while both players are in opposing alliances. Territory bonus for winning alliance: +10% resources, +5% XP for 7 days. AllianceWar MongoDB documents persist with full lifecycle. Client Alliance Wars tab with live scorecard.

Create / join / leave alliance100%
Full CRUD + AllianceSystem.js
Alliance warehouse100%
Deposit + withdraw with resource checks
Alliance search100%
search_alliances handler
Alliance research tree100%
v3.3: 3-tier tree, 8 techs, warehouse cost, 1h timers, client UI
Alliance chat100%
v3.3: Private rooms, 7-day history, embedded Alliance tab panel
Alliance wars / pvp100%
v3.5: AllianceWarSystem.js — declare, 24h declaration + 72h war, territory bonus, MongoDB persisted, timer resume

Reputation System (GDD §15.3)

Factions (5)

  • 🌐 Federation — lawful, research bonuses
  • ☠️ Pirate Syndicate — raiding bonuses
  • 💰 Merchant Guild — market fee discounts
  • 🤖 Rogue AI — tech / crafting bonuses
  • 🌀 Void Cult — dark matter bonuses

Standing Scale

Range: -2000 to +2000

  • Exalted (+1500), Honored (+750), Friendly (+250)
  • Neutral (0), Unfriendly (-250), Hostile (-750), Hated (-1500)

Sources

Faction missions award rep. Dungeons, quests, and events also modify standing.

Reputation System100%
Bonuses applied: market fee, craft speed, PvP attack; progress bars (v3.9)

NPC Faction Missions (GDD §15.1)

8 missions across 5 factions. Each requires fleet ships, returns credits + XP + faction reputation.

Mission IDFactionDifficultyRewards
fed_patrol_alphaFederationEasyCredits + Fed rep
fed_escort_convoyFederationMediumCredits + Fed rep
fed_hunt_pirateFederationHardCredits – Pirate rep
mg_trade_runMerchant GuildEasyCredits + Guild rep
mg_rare_cargoMerchant GuildMediumMaterials + Guild rep
pir_raid_outpostPirate SyndicateHardLoot + Pirate rep – Fed rep
rog_ai_reconRogue AIMediumTech items + AI rep
void_offeringVoid CultHardDark Matter + Void rep
Faction Missions100%
All 8 missions in data + server handlers + client tab

Leaderboard (GDD §17.3)

Categories

  • Level — top players by XP level
  • Credits — richest players
  • Kills — PvE + PvP kills
  • Dungeons — dungeons cleared
  • Quests — quests completed

Season Leaderboard

Separate seasonal board updated per season. Score formula weights level + credits + mission count. Top 50 shown with rank.

Refresh

Leaderboard fetched on tab open. get_leaderboard supports category param.

Leaderboard100%
Alliance + PvP Rating categories; my-rank footer (v3.9)

Chat & Social Feed

Real-time global chat relayed to all players in the same server room via chatMessage. Combat log shows last 50 PvE/PvP results.

Global chat (chatMessage)100%
Relayed to server room via Socket.IO
Combat log (get_combat_log)100%
Persistent 50-entry log, Social tab
Direct messages100%
Full DM: send/receive/history/read receipts; conversation panel (v3.9)
Notification feed100%
Bell icon, badge, dropdown panel; all 8 event types push (v3.9)
Push notifications100%
v3.5: GSO_PushNotifications — Electron/Capacitor/Web API; 10 event types