Repository navigation
Linked Accounts
Which accounts look like the same person. This module has no action path, and that is deliberate.
There is no responsible way to ban somebody for who else uses their connection — a shared house, a
school, a phone hotspot and a genuine alt farm all look alike from here. So the code to punish does
not exist, there is no setting for it, and linked-accounts ships with a violation threshold it can
never reach. It reports. You decide.
Behavioural, not just address-based, because a VPN defeats address matching on its own:
| Signal | What it notices |
|---|---|
| Shared connection | the same salted address hash |
| Join and leave together | session timing that correlates |
| Pay each other | the payment graph, from the discrete ledger — X-Prison only |
| Identical client settings | the same locale and client brand |
| Identical mining fingerprint | automation signals that match unusually closely |
Each carries a configurable weight, and the result is a confidence score: the matched weight as a share of the total. The shipped weights sum to 1, so each reads directly as a percentage:
| Signal | signal-weights |
Default |
|---|---|---|
| Shared connection | address |
0.60 |
| Join and leave together | join-timing |
0.10 |
| Pay each other | payments |
0.15 |
| Identical client settings | locale |
0.05 |
| Identical mining fingerprint | automation |
0.10 |
Only links at or above min-confidence (60) are shown. A shared connection on its own is exactly
that floor, so two accounts from one address are listed — one person's Java and Bedrock accounts,
for instance — and every further signal that matches lifts them above the pairs that only share a
router. Note that a Java and a Bedrock client never match on client settings: Geyser reports its
own client brand, and that signal needs both locale and brand to agree.
What is stored is a hash under a salt generated on your server, in network-salt.txt. That file
never leaves your machine and is not in any backup X-Warden sends anywhere, because X-Warden sends
nothing anywhere.
Keep that file. Delete it and every stored hash is orphaned — old sightings stop matching new ones.
Retention is configurable, and old sessions are pruned on a schedule.
/xwarden links # everything above the floor
/xwarden links Steve # just this player
The menu shows each pair with its confidence and which signals fired. Two accounts sharing a connection and paying each other and mining identically is a very different story from two accounts that share a house — the signal list is what tells them apart, and it is why the list is shown rather than just a number.
A pair that crosses min-confidence is also written into /xwarden flags once, so there is a record
with a date on it and the guidance panel can be read. It is recorded through a path that cannot
act: there is no action, no vl-threshold and no vl-decay in this check's block, because there
is no setting to raise. Adding one would mean banning somebody for who else uses their connection.
That is a stronger promise than a default of LOG — an owner can change a default. The test suite
pins it: a finding recorded this way never reaches the action executor, whatever is configured.