<?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_PartialPlayTime</id>
	<title>WoW:API PartialPlayTime - 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_PartialPlayTime"/>
	<link rel="alternate" type="text/html" href="https://addonstudio.org/mw1/index.php?title=WoW:API_PartialPlayTime&amp;action=history"/>
	<updated>2026-06-02T00:06:42Z</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_PartialPlayTime&amp;diff=17724&amp;oldid=prev</id>
		<title>Move page script: Move page script moved page API PartialPlayTime to WoW:API PartialPlayTime without leaving a redirect</title>
		<link rel="alternate" type="text/html" href="https://addonstudio.org/mw1/index.php?title=WoW:API_PartialPlayTime&amp;diff=17724&amp;oldid=prev"/>
		<updated>2023-08-15T04:46:59Z</updated>

		<summary type="html">&lt;p&gt;Move page script moved page &lt;a href=&quot;/wiki/WoW:API_PartialPlayTime&quot; title=&quot;WoW:API PartialPlayTime&quot;&gt;API PartialPlayTime&lt;/a&gt; to &lt;a href=&quot;/wiki/WoW:API_PartialPlayTime&quot; title=&quot;WoW:API PartialPlayTime&quot;&gt;API PartialPlayTime&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;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 04:46, 15 August 2023&lt;/td&gt;
				&lt;/tr&gt;
&lt;!-- diff cache key addonstu_asmw2:diff::1.12:old-17723:rev-17724 --&gt;
&lt;/table&gt;</summary>
		<author><name>Move page script</name></author>
	</entry>
	<entry>
		<id>https://addonstudio.org/mw1/index.php?title=WoW:API_PartialPlayTime&amp;diff=17723&amp;oldid=prev</id>
		<title>WoWWiki&gt;Vladinator: New page: {{wowapi}}   PartialPlayTime();  ---- ;&#039;&#039;Arguments&#039;&#039;  : none  ---- ;&#039;&#039;Returns&#039;&#039;  : Returns true if you have played more than 3 hours and is in a half-rested state. This is a global account...</title>
		<link rel="alternate" type="text/html" href="https://addonstudio.org/mw1/index.php?title=WoW:API_PartialPlayTime&amp;diff=17723&amp;oldid=prev"/>
		<updated>2007-12-29T21:26:44Z</updated>

		<summary type="html">&lt;p&gt;New page: {{wowapi}}   PartialPlayTime();  ---- ;&amp;#039;&amp;#039;Arguments&amp;#039;&amp;#039;  : none  ---- ;&amp;#039;&amp;#039;Returns&amp;#039;&amp;#039;  : Returns true if you have played more than 3 hours and is in a half-rested state. This is a global account...&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;
 PartialPlayTime();&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 true if you have played more than 3 hours and is in a half-tired state. This is a global account function that affects all characters. Otherwise it returns nil. This function is only working in continents like Asia where you have the rested system enabled, US and EU are not under such limitations.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
;&amp;#039;&amp;#039;Example&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Based on the official function, changed a bit to output the text in the chat rather than the tooltip on your avatar:&lt;br /&gt;
 if ( PartialPlayTime() ) then&lt;br /&gt;
    DEFAULT_CHAT_FRAME:AddMessage(format(PLAYTIME_TIRED, REQUIRED_REST_HOURS - floor(GetBillingTimeRested()/60)));&lt;br /&gt;
 elseif ( NoPlayTime() ) then&lt;br /&gt;
    DEFAULT_CHAT_FRAME:AddMessage(format(PLAYTIME_UNHEALTHY, REQUIRED_REST_HOURS - floor(GetBillingTimeRested()/60)));&lt;br /&gt;
 else&lt;br /&gt;
    DEFAULT_CHAT_FRAME:AddMessage(&amp;quot;You are not limited by PartialPlayTime nor NoPlayTime.&amp;quot;);&lt;br /&gt;
 end&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 NoPlayTime|NoPlayTime]]() API and the [[API GetBillingTimeRested|GetBillingTimeRested]]() API.&lt;/div&gt;</summary>
		<author><name>WoWWiki&gt;Vladinator</name></author>
	</entry>
</feed>