<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Server administration</title><link>https://sourceforge.net/p/sanandreasunity/wiki/Server%2520administration/</link><description>Recent changes to Server administration</description><atom:link href="https://sourceforge.net/p/sanandreasunity/wiki/Server%20administration/feed" rel="self"/><language>en</language><lastBuildDate>Thu, 24 Aug 2023 01:36:53 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/sanandreasunity/wiki/Server%20administration/feed" rel="self" type="application/rss+xml"/><item><title>Server administration modified by john lemmon</title><link>https://sourceforge.net/p/sanandreasunity/wiki/Server%2520administration/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;The game has a command system, which allows every player to send commands to the server. When server receives a command, he executes it in the context of sending player. This can be used to administrate servers.&lt;/p&gt;
&lt;p&gt;Some commands are restricted only to "admin" players. To allow the players to authenticate as admins, add &lt;code&gt;admin_pass&lt;/code&gt; property to &lt;code&gt;config.user.json&lt;/code&gt; file. Then, authenticate by sending command &lt;code&gt;/auth password_from_file&lt;/code&gt;. If the provided password matches the password in file, the player becomes admin of server.&lt;/p&gt;
&lt;p&gt;To send command, simply type it in the chat box. To list all available commands, type &lt;code&gt;/help&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;Once you are authenticated as admin, you can execute commands that require high privilege. For example, you can kick any player by typing &lt;code&gt;/kick {playerNetId}&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;You can also execute commands in the context of server (as if the server executed them). This is done by adding prefix &lt;code&gt;/cmd_server&lt;/code&gt; to every command. With this, you can for example, broadcast message to all players as if the server sends it: &lt;code&gt;/cmd_server say Welcome to the server !&lt;/code&gt;.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">john lemmon</dc:creator><pubDate>Thu, 24 Aug 2023 01:36:53 -0000</pubDate><guid>https://sourceforge.net73a725498697596a53210e7d34a53ec86e7c3d10</guid></item></channel></rss>