<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://addonstudio.org/mw1/index.php?action=history&amp;feed=atom&amp;title=WoW%3AAPI_GetBillingTimeRested</id>
	<title>WoW:API GetBillingTimeRested - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://addonstudio.org/mw1/index.php?action=history&amp;feed=atom&amp;title=WoW%3AAPI_GetBillingTimeRested"/>
	<link rel="alternate" type="text/html" href="https://addonstudio.org/mw1/index.php?title=WoW:API_GetBillingTimeRested&amp;action=history"/>
	<updated>2026-06-02T00:29:15Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://addonstudio.org/mw1/index.php?title=WoW:API_GetBillingTimeRested&amp;diff=17722&amp;oldid=prev</id>
		<title>Move page script: Move page script moved page API GetBillingTimeRested to WoW:API GetBillingTimeRested without leaving a redirect</title>
		<link rel="alternate" type="text/html" href="https://addonstudio.org/mw1/index.php?title=WoW:API_GetBillingTimeRested&amp;diff=17722&amp;oldid=prev"/>
		<updated>2023-08-15T04:45:46Z</updated>

		<summary type="html">&lt;p&gt;Move page script moved page &lt;a href=&quot;/wiki/WoW:API_GetBillingTimeRested&quot; title=&quot;WoW:API GetBillingTimeRested&quot;&gt;API GetBillingTimeRested&lt;/a&gt; to &lt;a href=&quot;/wiki/WoW:API_GetBillingTimeRested&quot; title=&quot;WoW:API GetBillingTimeRested&quot;&gt;API GetBillingTimeRested&lt;/a&gt; without leaving a redirect&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 04:45, 15 August 2023&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Move page script</name></author>
	</entry>
	<entry>
		<id>https://addonstudio.org/mw1/index.php?title=WoW:API_GetBillingTimeRested&amp;diff=17721&amp;oldid=prev</id>
		<title>WoWWiki&gt;Vladinator: New page: {{wowapi}}   GetBillingTimeRested();  ---- ;&#039;&#039;Arguments&#039;&#039;  : none  ---- ;&#039;&#039;Returns&#039;&#039;  : Returns the seconds that you have left to play as rested. When you reach 3 hours you will get half t...</title>
		<link rel="alternate" type="text/html" href="https://addonstudio.org/mw1/index.php?title=WoW:API_GetBillingTimeRested&amp;diff=17721&amp;oldid=prev"/>
		<updated>2007-12-29T21:13:22Z</updated>

		<summary type="html">&lt;p&gt;New page: {{wowapi}}   GetBillingTimeRested();  ---- ;&amp;#039;&amp;#039;Arguments&amp;#039;&amp;#039;  : none  ---- ;&amp;#039;&amp;#039;Returns&amp;#039;&amp;#039;  : Returns the seconds that you have left to play as rested. When you reach 3 hours you will get half t...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{wowapi}}&lt;br /&gt;
&lt;br /&gt;
This function is not in any way related to the rested state per character and resting in inns or cities. This function is to limit people from playing the game for too long, acting as a global account API that returns the same value no matter what character you logon.&lt;br /&gt;
&lt;br /&gt;
 GetBillingTimeRested();&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
;&amp;#039;&amp;#039;Arguments&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
: none&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
;&amp;#039;&amp;#039;Returns&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
: Returns the seconds that you have left to play as rested. When you reach 3 hours you will get half tired, reducing both the amount of money and experience that you receive by 1/2. If you play for 5 hours or more you won&amp;#039;t be able to turn in quests, receive experience or loot. The seconds will decay as you stay logged out. This function is global and connected to your whole account so the tired state will affect all characters. Currently this function is only used in Asia and will return a nil on EU and US realms.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
;&amp;#039;&amp;#039;Example&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
The official function (modified to output in the chat frame) when you have partial play time left:&lt;br /&gt;
 local time_left = format(PLAYTIME_TIRED, REQUIRED_REST_HOURS - floor(GetBillingTimeRested()/60));&lt;br /&gt;
 DEFAULT_CHAT_FRAME:AddMessage(time_left);&lt;br /&gt;
&lt;br /&gt;
The official function (modified to output in the chat frame) when you have no play time left at all:&lt;br /&gt;
 local time_left = format(PLAYTIME_UNHEALTHY, REQUIRED_REST_HOURS - floor(GetBillingTimeRested()/60));&lt;br /&gt;
 DEFAULT_CHAT_FRAME:AddMessage(time_left);&lt;br /&gt;
&lt;br /&gt;
;&amp;#039;&amp;#039;Related&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Take a look on the [[API PartialPlayTime|PartialPlayTime]]() API and the [[API NoPlayTime|NoPlayTime]]() API.&lt;/div&gt;</summary>
		<author><name>WoWWiki&gt;Vladinator</name></author>
	</entry>
</feed>