ejabberd - Comments for "Configuring ejabberd for use as a game server only" https://www.ejabberd.im/node/9515 en Yes, simply delete the lines https://www.ejabberd.im/node/9515#comment-59453 <p>Yes, simply delete the lines about mod_irc and s2s.</p> Wed, 20 Feb 2013 16:08:47 +0000 mfoss comment 59453 at https://www.ejabberd.im Thank you! Doesn't removing https://www.ejabberd.im/node/9515#comment-59449 <p>Thank you!</p> <p>Doesn't removing "mod_irc" mean that ejabberd should use the defaults? This would mean I have to disable "mod_irc" somehow, e.g. with empty brackets. Is that correct?</p> <p>And for "s2s", I can only find the following two rules in my configuration file:</p> <p><code>{5269, ejabberd_s2s_in, [{shaper, s2s_shaper}, {max_stanza_size, 131072}]}.</code></p> <p><code>{access, s2s_shaper, [{fast, all}]}.</code></p> <p>Do I have to change anything or delete them?</p> Sat, 16 Feb 2013 02:23:10 +0000 mdok comment 59449 at https://www.ejabberd.im mdok wrote: I want to enable https://www.ejabberd.im/node/9515#comment-59431 <div class="quote-msg"> <div class="quote-author"><em>mdok</em> wrote:</div> <li>I want to enable communication between local users only</li> <li>no server-to-server communication</li> <li>no communication to JIDs from other servers</li> </div> <p>Simple, in ejabberd.cfg remove the listener ejabberd_s2s</p> <div class="quote-msg"> <div class="quote-author"><em>mdok</em> wrote:</div> <li>modules such as "IRC transport" must be disabled (How do I do that?)</li> </div> <p>Simple, in ejabberd.cfg remove mod_irc</p> <div class="quote-msg"> <div class="quote-author"><em>mdok</em> wrote:</div> <li>A game will consist of a room with a maximum of 8 players. How can I achieve that? I thought I could log all users in as "table1" and set their username as the resource, but I don't want the first user to be kicked when a ninth user joins ...</li> </div> <p>Idea: if the game is controlled by a robot, then you can remove restrictions in ejabberd, and let your robot be a room owner: he can grant or revoke voice to room occupants by sending XMPP stanzas to ejabberd, see XEP-0045. That way your robot controls that there are only 8 occupants with voice as maximum.</p> <div class="quote-msg"> <div class="quote-author"><em>mdok</em> wrote:</div> <li>Will PubSub be suitable for the game server? I guess yes, because when user A sends something, I want it to be distributed to users B, C, D etc. and the information doesn't need to be stored on the server.</li> </div> <p>Yes, Pubsub and MUC would work for your task.</p> Mon, 04 Feb 2013 11:10:43 +0000 mfoss comment 59431 at https://www.ejabberd.im