Torn Church Prayer Streak Tracker (Web version only)

Streak expiry in H:MM:SS (24h since last prayer, with ±30s grace), 24h count, consecutive days; pulse last 10m, red <1h; theme-aware; Refresh now; auto-refresh 5m & on visiting/leaving /church.php; history (last 10) with absolute dates; backfills up to 15 days; delta fetch; cached last prayer; gentle backoff; shows Expires/Expired at.

作者
Volette
日安装量
0
总安装量
5
评分
0 0 0
版本
2.9
创建于
2025-08-09
更新于
2025-08-09
大小
17.3 KB
许可证
暂无
适用于

This Torn Church Prayer Streak Tracker is a user script designed specifically for use on Torn's web version, providing a set of features to help players track their church prayer streaks. Key functionalities include:

  • Countdown Timer: Displays the remaining time until the streak expires, with visual indicators (pulse, color changes) for critical time thresholds.
  • Streak Tracker: Shows the number of consecutive days of prayer and the total number of prayers in the last 24 hours.
  • History: Offers an expandable list showing recent prayers with absolute dates.
  • Automatic Updates: Refreshes data every 5 minutes, with additional manual refresh options.
  • Theme Compatibility: Adapts to Torn’s visual theme, ensuring the tracker blends seamlessly with Torn's interface.

Important Warning:

  • This script was created with the assistance of ChatGPT, and while it has been tested to work under normal conditions, it may contain unintended errors or bugs.
  • Please use with caution and regularly check for updates or improvements.
  • The script is provided as-is and is intended for personal use on Torn's web version.

How to Generate Your Custom API Key:

To enable the tracker to fetch your prayer logs, you will need to generate a **custom API key** with the required **Log** access. The easiest way to do this is by clicking the link below:

This link will automatically generate the key with the **Log** access permission, which is required for the tracker to function. Once the key is generated, you can copy it and paste it into the tracker when prompted, allowing the script to fetch your prayer logs.

Location of the Tracker on the Web Version:

  • The tracker will appear at the bottom of the left sidebar on all pages within Torn.
  • It will be positioned within the left sidebar, so it will not interfere with your regular browsing experience while still being easily accessible for tracking prayer streaks.

Additional Features:

  • **Theme-aware**: The tracker will blend with Torn’s interface, adjusting its appearance based on the site’s theme.
  • **Smart Refresh**: Automatically refreshes every 5 minutes, and when you visit or leave the /church.php page, to ensure the tracker is always up to date.
  • **Grace Time**: The tracker accounts for a ±30-second grace period when counting down to prayer streak expiry.