<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Sync part of state with only one client]]></title><description><![CDATA[<p>How can I sync a part of state (i.e. player's hand or a just-drawn card) with only one player, so that others do not get the state? I want to protect against looking at socket's data in browser's dev console and modifying javascript to listen to another player's data, so simply <code>.listen()</code>-ing to only a part of server's state is not an option...</p>
]]></description><link>http://discuss.colyseus.io/topic/213/sync-part-of-state-with-only-one-client</link><generator>RSS for Node</generator><lastBuildDate>Mon, 20 Apr 2026 19:22:08 GMT</lastBuildDate><atom:link href="http://discuss.colyseus.io/topic/213.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 23 Feb 2019 20:11:55 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Sync part of state with only one client on Invalid Date]]></title><description><![CDATA[<p>How can I sync a part of state (i.e. player's hand or a just-drawn card) with only one player, so that others do not get the state? I want to protect against looking at socket's data in browser's dev console and modifying javascript to listen to another player's data, so simply <code>.listen()</code>-ing to only a part of server's state is not an option...</p>
]]></description><link>http://discuss.colyseus.io/post/700</link><guid isPermaLink="true">http://discuss.colyseus.io/post/700</guid><dc:creator><![CDATA[burtek]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Sync part of state with only one client on Invalid Date]]></title><description><![CDATA[<p>Right now you are not able to. You can, however, <code>client.send()</code> specific parts to specific clients so the knowledge remains private.</p>
]]></description><link>http://discuss.colyseus.io/post/701</link><guid isPermaLink="true">http://discuss.colyseus.io/post/701</guid><dc:creator><![CDATA[seiyria]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Sync part of state with only one client on Invalid Date]]></title><description><![CDATA[<p>hey <a class="plugin-mentions-user plugin-mentions-a" href="http://discuss.colyseus.io/uid/363">@burtek</a>, welcome!  there are plans for supporting this on next version <code>0.10.x</code></p>
<p>just to add on what <a class="plugin-mentions-user plugin-mentions-a" href="http://discuss.colyseus.io/uid/4">@seiyria</a> said, here are some related topics:</p>
<ul>
<li><a href="https://discuss.colyseus.io/topic/207/how-fog-of-war-would-be-implemented-with-rooms/3" rel="nofollow">https://discuss.colyseus.io/topic/207/how-fog-of-war-would-be-implemented-with-rooms/3</a></li>
<li><a href="https://github.com/colyseus/colyseus/issues/59" rel="nofollow">https://github.com/colyseus/colyseus/issues/59</a></li>
</ul>
]]></description><link>http://discuss.colyseus.io/post/703</link><guid isPermaLink="true">http://discuss.colyseus.io/post/703</guid><dc:creator><![CDATA[endel]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Sync part of state with only one client on Invalid Date]]></title><description><![CDATA[<p>thanks <a class="plugin-mentions-user plugin-mentions-a" href="http://discuss.colyseus.io/uid/1">@endel</a> &amp; <a class="plugin-mentions-user plugin-mentions-a" href="http://discuss.colyseus.io/uid/4">@seiyria</a> ! I'll give it a try</p>
]]></description><link>http://discuss.colyseus.io/post/704</link><guid isPermaLink="true">http://discuss.colyseus.io/post/704</guid><dc:creator><![CDATA[burtek]]></dc:creator><pubDate>Invalid Date</pubDate></item></channel></rss>