War mode Beta
War mode counts every attack your faction makes from the moment a war starts until it ends, for each person separately. It runs next to everything else: a chain, mercenary work and revive orders can run at the same time.
How it works
- A war manager types
/war-start enemy:12345in the channel where the scoreboard should live. The enemy is the Torn faction ID, the number afterID=in the faction's profile address. Names can't be searched. If your server has several factions, addfaction:. The Torn key of your faction needs Faction API Access, there is no fallback without it. - The bot posts one scoreboard in the channel: the enemy, when the war started (it keeps counting up by itself), the totals and the top ten by inside hits. It updates when new attacks come in and moves down under the conversation after a few messages, so it stays visible. Show all opens the full table for you alone, in pages of 25 people.
/war-statusand/war-leaderboardwork for everyone,/war-leaderboard war_id:Nalso shows a finished war.- A war manager ends it with
/war-stop: the bot reads the attack log one last time, posts the final results with the complete leaderboard in the channel and removes the scoreboard.
What is counted
Only attacks your faction's members made. Attacks against you, defending and respect are not counted.
- Inside: a successful attack (attacked, mugged, hospitalized) on a member of the enemy faction.
- Outside: a successful attack on anyone else.
- Assist, Lost and Stalemate as Torn reports them.
- Other: everything else (escaped, timeout, interrupted, anything unknown) so that nothing disappears quietly.
The list is sorted by inside hits, then outside hits, then name. Attacks made before the start or after the end are not counted.
Limits
The bot reads your faction's attack log about once a minute, one request per war, so it costs very little of your Torn request budget. Anonymous attacks are not in Torn's faction log, so they can't be counted. If the key loses Faction API Access, the war keeps running and the bot says so once in the channel; counting catches up on its own as soon as the key works again.
Managers need a War mode role under Access & roles (without one, your Duty roster roles apply).
On the website
Everyone with the War mode role (and the server managers) finds a War tab on the dashboard.
War history lists the running war and every finished one: the enemy, when it started and ended, how long
it lasted, the totals for inside, outside, assist, lost, stalemate and other, and how many people took part. Open a
war to see each person's numbers, sorted like /war-leaderboard. A running war shows its current state;
reload the page for the latest numbers.
Every war, or a single one, can be exported as Excel or PDF (all times are UTC).
The Excel file of a single war has two sheets: Leaderboard (the same table you see in Discord, plus a Total
and a Torn ID column) and Attack log (every attack that was counted in that war, sorted by player, with the
time, target, result and category). The Excel file for all wars has a summary sheet and a leaderboard sheet instead.
Finished wars can be deleted with a confirmation box, a running war can't. Wars are still started and ended in Discord
with /war-start and /war-stop. The website keeps the last 50 finished wars per server.
Remember: only your own faction's attacks count, and anonymous attacks are not in Torn's faction log.
See also: Chain watch, Torn API keys & factions, Admin roles & permissions