diff --git a/src/acore-wp-plugin/src/Components/AdminPanel/Pages/Tools.php b/src/acore-wp-plugin/src/Components/AdminPanel/Pages/Tools.php index 0252f843..86058a20 100644 --- a/src/acore-wp-plugin/src/Components/AdminPanel/Pages/Tools.php +++ b/src/acore-wp-plugin/src/Components/AdminPanel/Pages/Tools.php @@ -42,6 +42,25 @@ +
| Scroll Status | += $statusLabel ?> | +
|---|---|
| Eligibility | ++ + Enrolled + + Eligible + - Log in to the game server to activate + + Not Eligible + setTimestamp($eligibleTimestamp); + $daysRemaining = (int) ceil(($eligibleTimestamp - time()) / 86400); + if ($daysRemaining > 0) { + echo '- Eligible on ' . esc_html($eligibleDate->format('M j, Y - H:i')) . ' (' . $daysRemaining . ' days remaining)'; + } + } ?> + + | +
| Last Character Logout | ++ setTimestamp($lastLogout); + $daysSince = (int) ((time() - $lastLogout) / 86400); + echo esc_html($logoutDate->format('M j, Y - H:i')) . ' (' . $daysSince . ' days ago)'; + } else { + echo 'No characters found'; + } ?> + | +
| Bonus Expires | ++ setTimestamp($endDate); + echo esc_html($expireDate->format('M j, Y - H:i')); + if ($isActive) { + $daysLeft = (int) ceil(($endDate - $now) / 86400); + echo ' (' . $daysLeft . ' days remaining)'; + } + ?> + | +
+ The Scroll of Resurrection is a comeback incentive for inactive players. + If your account has been inactive for an extended period, you will automatically receive + rested XP bonuses when you log in, helping you catch up faster. +
++ The bonus grants a full rested XP pool for your current level each time + you log in or level up, and lasts for a limited duration from your first eligible login. +
+| Command | +Description | +
|---|---|
.rscroll info |
+ View your scroll eligibility status, last logout date, and bonus expiration | +
.rscroll disable |
+ Toggle the rested XP bonus on or off for your character (already earned XP is kept) | +