<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://staging-wiki.unvanquished.net/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=PhantomFang</id>
	<title>Unvanquished - User contributions [en-gb]</title>
	<link rel="self" type="application/atom+xml" href="https://staging-wiki.unvanquished.net/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=PhantomFang"/>
	<link rel="alternate" type="text/html" href="https://staging-wiki.unvanquished.net/wiki/Special:Contributions/PhantomFang"/>
	<updated>2026-04-05T00:42:21Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.8</generator>
	<entry>
		<id>https://staging-wiki.unvanquished.net/index.php?title=Making_and_modding&amp;diff=8652</id>
		<title>Making and modding</title>
		<link rel="alternate" type="text/html" href="https://staging-wiki.unvanquished.net/index.php?title=Making_and_modding&amp;diff=8652"/>
		<updated>2024-06-16T14:40:52Z</updated>

		<summary type="html">&lt;p&gt;PhantomFang: /* Categories */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Overviews=&lt;br /&gt;
* [[Technical Documentation]] for the game and engine&lt;br /&gt;
* [[Engine]] feature summary&lt;br /&gt;
* [[Filesystem]] and packaging details.&lt;br /&gt;
&lt;br /&gt;
=Categories=&lt;br /&gt;
Each category contains links to guides and reference material for both beginners and more experienced artists.&lt;br /&gt;
&lt;br /&gt;
* [[Mapping]]&lt;br /&gt;
** [[Map Layouts]]&lt;br /&gt;
** [[Map bugs]]&lt;br /&gt;
** [[UI Design]]&lt;br /&gt;
* [[Modeling]]&lt;br /&gt;
* [[Texturing]]&lt;br /&gt;
* [[Music and sounds]]&lt;br /&gt;
&lt;br /&gt;
See also [[Tools]] and [[Formats]].&lt;br /&gt;
&lt;br /&gt;
See {{Tools|DaemonMediaAuthoringKit}} for a way to build tools required to build the assets and some important editors.&lt;br /&gt;
&lt;br /&gt;
=Tutorials=&lt;br /&gt;
&lt;br /&gt;
* {{Tutorials|Modifying paks}} for how to test changes to an existing game package&lt;br /&gt;
* [[Making an awesome mod]] build and use a custom mod&lt;br /&gt;
* [[Hosting one's own awesome mod]] configure server to host and distribute previously done mod&lt;br /&gt;
&lt;br /&gt;
=Publishing or Contributing to Unvanquished=&lt;br /&gt;
&lt;br /&gt;
The {{forums}} are the best place to reveal and show-off your work.&lt;br /&gt;
&lt;br /&gt;
* [[Contributing/Media|Media contribution guidelines]]&lt;br /&gt;
* [[Filesystem|Packaging]] assets for distribution&lt;br /&gt;
* Translating&lt;br /&gt;
* [[Licenses/Media|Media licenses]]&lt;/div&gt;</summary>
		<author><name>PhantomFang</name></author>
	</entry>
	<entry>
		<id>https://staging-wiki.unvanquished.net/index.php?title=Making_and_modding&amp;diff=8651</id>
		<title>Making and modding</title>
		<link rel="alternate" type="text/html" href="https://staging-wiki.unvanquished.net/index.php?title=Making_and_modding&amp;diff=8651"/>
		<updated>2024-06-16T14:39:57Z</updated>

		<summary type="html">&lt;p&gt;PhantomFang: /* Categories */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Overviews=&lt;br /&gt;
* [[Technical Documentation]] for the game and engine&lt;br /&gt;
* [[Engine]] feature summary&lt;br /&gt;
* [[Filesystem]] and packaging details.&lt;br /&gt;
&lt;br /&gt;
=Categories=&lt;br /&gt;
Each category contains links to guides and reference material for both beginners and more experienced artists.&lt;br /&gt;
&lt;br /&gt;
* [[Mapping]]&lt;br /&gt;
** [[Map Layouts]]&lt;br /&gt;
** [[Maping bugs]]&lt;br /&gt;
** [[UI Design]]&lt;br /&gt;
* [[Modeling]]&lt;br /&gt;
* [[Texturing]]&lt;br /&gt;
* [[Music and sounds]]&lt;br /&gt;
&lt;br /&gt;
See also [[Tools]] and [[Formats]].&lt;br /&gt;
&lt;br /&gt;
See {{Tools|DaemonMediaAuthoringKit}} for a way to build tools required to build the assets and some important editors.&lt;br /&gt;
&lt;br /&gt;
=Tutorials=&lt;br /&gt;
&lt;br /&gt;
* {{Tutorials|Modifying paks}} for how to test changes to an existing game package&lt;br /&gt;
* [[Making an awesome mod]] build and use a custom mod&lt;br /&gt;
* [[Hosting one's own awesome mod]] configure server to host and distribute previously done mod&lt;br /&gt;
&lt;br /&gt;
=Publishing or Contributing to Unvanquished=&lt;br /&gt;
&lt;br /&gt;
The {{forums}} are the best place to reveal and show-off your work.&lt;br /&gt;
&lt;br /&gt;
* [[Contributing/Media|Media contribution guidelines]]&lt;br /&gt;
* [[Filesystem|Packaging]] assets for distribution&lt;br /&gt;
* Translating&lt;br /&gt;
* [[Licenses/Media|Media licenses]]&lt;/div&gt;</summary>
		<author><name>PhantomFang</name></author>
	</entry>
	<entry>
		<id>https://staging-wiki.unvanquished.net/index.php?title=Map_bugs&amp;diff=8650</id>
		<title>Map bugs</title>
		<link rel="alternate" type="text/html" href="https://staging-wiki.unvanquished.net/index.php?title=Map_bugs&amp;diff=8650"/>
		<updated>2024-06-16T14:39:20Z</updated>

		<summary type="html">&lt;p&gt;PhantomFang: Created page with &amp;quot;== Structures bugs ==  When you make a map, You should know that there is a bug with the structures. If you place them on the floor like this:  File:structure-bug-position.p...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Structures bugs ==&lt;br /&gt;
&lt;br /&gt;
When you make a map, You should know that there is a bug with the structures. If you place them on the floor like this:&lt;br /&gt;
&lt;br /&gt;
[[File:structure-bug-position.png]]&lt;br /&gt;
&lt;br /&gt;
The structure will not be displayed, and the structure will be unusable:&lt;br /&gt;
&lt;br /&gt;
[[File:no-egg.png]]&lt;br /&gt;
&lt;br /&gt;
'''But the structure will be present on the map!''' &lt;br /&gt;
&lt;br /&gt;
[[File:structure-bug-position-exist.png]]&lt;br /&gt;
&lt;br /&gt;
For the structure to be displayed, it must be placed ''a little above the ground.'' Like this:&lt;br /&gt;
&lt;br /&gt;
[[File:Structure-bug-position-place.png]]&lt;br /&gt;
&lt;br /&gt;
which will be this:&lt;br /&gt;
&lt;br /&gt;
[[File:structure-bug-position-place-result.png]]&lt;br /&gt;
&lt;br /&gt;
And this is for all the structures.&lt;/div&gt;</summary>
		<author><name>PhantomFang</name></author>
	</entry>
	<entry>
		<id>https://staging-wiki.unvanquished.net/index.php?title=File:Structure-bug-position-exist.png&amp;diff=8649</id>
		<title>File:Structure-bug-position-exist.png</title>
		<link rel="alternate" type="text/html" href="https://staging-wiki.unvanquished.net/index.php?title=File:Structure-bug-position-exist.png&amp;diff=8649"/>
		<updated>2024-06-16T14:34:33Z</updated>

		<summary type="html">&lt;p&gt;PhantomFang: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>PhantomFang</name></author>
	</entry>
	<entry>
		<id>https://staging-wiki.unvanquished.net/index.php?title=File:Structure-bug-position-place-result.png&amp;diff=8648</id>
		<title>File:Structure-bug-position-place-result.png</title>
		<link rel="alternate" type="text/html" href="https://staging-wiki.unvanquished.net/index.php?title=File:Structure-bug-position-place-result.png&amp;diff=8648"/>
		<updated>2024-06-16T14:31:05Z</updated>

		<summary type="html">&lt;p&gt;PhantomFang: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>PhantomFang</name></author>
	</entry>
	<entry>
		<id>https://staging-wiki.unvanquished.net/index.php?title=File:Structure-bug-position-place.png&amp;diff=8647</id>
		<title>File:Structure-bug-position-place.png</title>
		<link rel="alternate" type="text/html" href="https://staging-wiki.unvanquished.net/index.php?title=File:Structure-bug-position-place.png&amp;diff=8647"/>
		<updated>2024-06-16T14:29:14Z</updated>

		<summary type="html">&lt;p&gt;PhantomFang: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>PhantomFang</name></author>
	</entry>
	<entry>
		<id>https://staging-wiki.unvanquished.net/index.php?title=File:No-egg.png&amp;diff=8646</id>
		<title>File:No-egg.png</title>
		<link rel="alternate" type="text/html" href="https://staging-wiki.unvanquished.net/index.php?title=File:No-egg.png&amp;diff=8646"/>
		<updated>2024-06-16T14:25:20Z</updated>

		<summary type="html">&lt;p&gt;PhantomFang: PhantomFang uploaded a new version of File:No-egg.png&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;picture for show how to don't put a structure in a map&lt;/div&gt;</summary>
		<author><name>PhantomFang</name></author>
	</entry>
	<entry>
		<id>https://staging-wiki.unvanquished.net/index.php?title=File:No-egg.png&amp;diff=8645</id>
		<title>File:No-egg.png</title>
		<link rel="alternate" type="text/html" href="https://staging-wiki.unvanquished.net/index.php?title=File:No-egg.png&amp;diff=8645"/>
		<updated>2024-06-16T14:23:55Z</updated>

		<summary type="html">&lt;p&gt;PhantomFang: picture for show how to don't put a structure in a map&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;picture for show how to don't put a structure in a map&lt;/div&gt;</summary>
		<author><name>PhantomFang</name></author>
	</entry>
	<entry>
		<id>https://staging-wiki.unvanquished.net/index.php?title=File:Structure-bug-position.png&amp;diff=8644</id>
		<title>File:Structure-bug-position.png</title>
		<link rel="alternate" type="text/html" href="https://staging-wiki.unvanquished.net/index.php?title=File:Structure-bug-position.png&amp;diff=8644"/>
		<updated>2024-06-16T14:13:22Z</updated>

		<summary type="html">&lt;p&gt;PhantomFang: picture for show how to don't put a structure in a map&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;picture for show how to don't put a structure in a map&lt;/div&gt;</summary>
		<author><name>PhantomFang</name></author>
	</entry>
	<entry>
		<id>https://staging-wiki.unvanquished.net/index.php?title=Server/Running&amp;diff=8642</id>
		<title>Server/Running</title>
		<link rel="alternate" type="text/html" href="https://staging-wiki.unvanquished.net/index.php?title=Server/Running&amp;diff=8642"/>
		<updated>2024-06-15T07:28:48Z</updated>

		<summary type="html">&lt;p&gt;PhantomFang: /* Become admin */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Server]]&lt;br /&gt;
[[Category:Tutorials]]&lt;br /&gt;
Servers can be quickly setup over LAN by starting a match in-game, however this is not as powerful or efficient as running a dedicated server separately.&lt;br /&gt;
&lt;br /&gt;
=Netiquette=&lt;br /&gt;
&lt;br /&gt;
{{Note|content=Unvanquished is currently a small community. Please don't aim to create a server in order to only compete for players.&lt;br /&gt;
&lt;br /&gt;
Division of players will disallow larger matches.}}&lt;br /&gt;
&lt;br /&gt;
Servers may be needed in some geographical places to reduce ping delay.&lt;br /&gt;
&lt;br /&gt;
=Getting the server=&lt;br /&gt;
&lt;br /&gt;
Our standard [https://unvanquished.net/download/ download] contains the server. The binary is named {{code|daemonded}}.&lt;br /&gt;
&lt;br /&gt;
To install on an headless server, you may prefer to download the [https://unvanquished.net/download/zip universal zip], example with Linux:&lt;br /&gt;
&lt;br /&gt;
 wget --content-disposition https://unvanquished.net/download/zip&lt;br /&gt;
 unzip unvanquished_{{Current|GameVersion}}.zip&lt;br /&gt;
 cd unvanquished_{{Current|GameVersion}}&lt;br /&gt;
 unzip linux-amd64.zip&lt;br /&gt;
&lt;br /&gt;
=Starting the Server=&lt;br /&gt;
&lt;br /&gt;
Just running {{code|./daemonded}} with a map may be enough:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./daemonded +map plat23&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You always need to start a map (here, this is done by passing the {{code|+map plat23}} argument).&lt;br /&gt;
&lt;br /&gt;
==Network configuration==&lt;br /&gt;
&lt;br /&gt;
By default the server listening port is {{code|27960}}, it is an {{code|UDP}} port. You may have to open this port in your firewall or redirect it to the machine running the server.&lt;br /&gt;
&lt;br /&gt;
This is the same port as Quake Ⅲ Arena, so other games derivated from the Quake Ⅲ engine may share the same port and while the engine selects the next port available if the default one is already taken, you may want to enforce a port number if you host multiple games or game servers to avoid the port for each server to change according to the server start order.&lt;br /&gt;
&lt;br /&gt;
=Advanced starting=&lt;br /&gt;
&lt;br /&gt;
You may want to customize the way it runs, for example change the listening port (here for both IPv4 and IPv6, {{code|27960}} is the default port):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./daemonded -set net_port 27960 -set net_port6 27960 +map plat23&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Or store the unvanquished server configuration in a specific folder:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./daemonded -homepath home/ +map plat23&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Or tell the game server to also look for {{code|.dpk}} files you're distributing on your web server:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./daemonded -pakpath /var/www/pkg +map plat23&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Server configuration==&lt;br /&gt;
&lt;br /&gt;
A ready-to use server configuration template can be found on {{SourceFile|dist/configs}} folder of Unvanquished repository.&lt;br /&gt;
&lt;br /&gt;
You just need to copy the {{code|config}} and {{code|game}} folders into your user game directory.&lt;br /&gt;
&lt;br /&gt;
{{Note|content={{User game locations}}}}&lt;br /&gt;
&lt;br /&gt;
You may want to edit the {{code|config/server.cfg}} file to change some things like the server name or things like that.&lt;br /&gt;
&lt;br /&gt;
After that, you can run the server this way:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./daemonded +exec server.cfg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can set arbitrary ports and run the configuration this way:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./daemonded -set net_port 27960 -set net_port6 27960 +exec server.cfg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Options ordering==&lt;br /&gt;
&lt;br /&gt;
You can combine those options, but every {{code|-option}} starting with a {{code|-}} must precede every {{code|+command}} starting with a {{code|+}}.&lt;br /&gt;
&lt;br /&gt;
==Quick list of useful options==&lt;br /&gt;
&lt;br /&gt;
* {{code|-curses}} &amp;amp;mdash; enabled ncurses console interface (default behavior is to disable it so messages remain on-screen after crashes).&lt;br /&gt;
* {{code|-set net_port &amp;lt;port-number&amp;gt;}} and {{code|-set net_port &amp;lt;port-number&amp;gt;}} &amp;amp;mdash; customize the default port, by default is is {{code|27960}}.&lt;br /&gt;
* {{code|-pakpath &amp;lt;directory&amp;gt;}} &amp;amp;mdash; load more {{code|.dpk}} files from another directory.&lt;br /&gt;
* {{code|+map &amp;lt;map-name&amp;gt;}} &amp;amp;mdash; without a map the server will kill itself.&lt;br /&gt;
&lt;br /&gt;
==Directories==&lt;br /&gt;
&lt;br /&gt;
If installing from the universal zip, the default directory where the {{code|.dpk}} are stored is in {{code|pkg/}} relative to the extraction directory.&lt;br /&gt;
&lt;br /&gt;
An optional package directory is called a ''pakpath''. Additional custom paths can be added using the {{code|-pakpath}} option. You can add as many as you want.&lt;br /&gt;
&lt;br /&gt;
The default user directory is called the ''homepath''. It can be customized with the {{code|-homepath}} option.&lt;br /&gt;
&lt;br /&gt;
The executable {{code|daemonded}} (''daemon dedicated'') should be included with your installation.&lt;br /&gt;
&lt;br /&gt;
So, if you need to be explicit on every path, you can do something like that:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./daemonded -homepath ${HOME}/.local/share/unvanquished \&lt;br /&gt;
 -pakpath /var/www/unvanquished/pkg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Standard game locations===&lt;br /&gt;
&lt;br /&gt;
See [[Game locations]] for details.&lt;br /&gt;
&lt;br /&gt;
==Script tutorial==&lt;br /&gt;
&lt;br /&gt;
Here is a tutorial to make a server script : [[Server/Script tutorial]].&lt;br /&gt;
&lt;br /&gt;
=Configuration and Operation=&lt;br /&gt;
&lt;br /&gt;
To discover more commands than are listed here, you can type the {{code|/listCmds}} command, and to discover configuration variables, you can type the {{code|/listCvars}} command.&lt;br /&gt;
&lt;br /&gt;
There is command and cvar completion, you can type a first letter (eg 'g') and press '''Tab''' to list available options starting with that letter.&lt;br /&gt;
&lt;br /&gt;
If you are in a terminal: '''Shift+Page Up''' allows you to scroll and the opposite for down.&lt;br /&gt;
&lt;br /&gt;
You can also search in what is ''already printed'' using grep, for example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/listCmds&lt;br /&gt;
/grep map&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Server Config File==&lt;br /&gt;
Here is the template for the server config: {{SourceFile|dist/configs/config/server.cfg}}.&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;config&amp;lt;/code&amp;gt; folder is stored in the &amp;lt;code&amp;gt;homepath&amp;lt;/code&amp;gt; folder (see above).&lt;br /&gt;
&lt;br /&gt;
For example on Linux it would be: &amp;lt;code&amp;gt;${HOME}/.local/share/unvanquished/config&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Ensure your server mode is not set to '2' unless you want your server to be listed for other players.&lt;br /&gt;
&lt;br /&gt;
 # Server mode&lt;br /&gt;
 # 0 - local server&lt;br /&gt;
 # 1 - LAN server&lt;br /&gt;
 # 2 - public server&lt;br /&gt;
&lt;br /&gt;
Public servers will want to set sv_hostname to a non-default value&lt;br /&gt;
&lt;br /&gt;
==Map rotation and map layouts==&lt;br /&gt;
&lt;br /&gt;
* [[Server/Map rotation|Map rotation]] &amp;amp;mdash; to customize the map loading order and on which condition a map is loaded or not.&lt;br /&gt;
* [[Server/Map layouts|Map layouts]] &amp;amp;mdash; default building locations.&lt;br /&gt;
&lt;br /&gt;
==Commands==&lt;br /&gt;
&lt;br /&gt;
{{NoteWiki|content=Please add common and useful commands, not every one.}}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Command&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| devmap&lt;br /&gt;
| Loads a map with &amp;lt;code&amp;gt;sv_cheats&amp;lt;/code&amp;gt; enabled. &amp;lt;code&amp;gt;sv_cheats&amp;lt;/code&amp;gt; cannot otherwise be changed during play&lt;br /&gt;
|-&lt;br /&gt;
| listadmins&lt;br /&gt;
| List current admins in-game&lt;br /&gt;
|-&lt;br /&gt;
| listlayouts&lt;br /&gt;
| List available layouts (for this map?)&lt;br /&gt;
|-&lt;br /&gt;
| listplayers&lt;br /&gt;
| List current players in-game&lt;br /&gt;
|-&lt;br /&gt;
| listmaps&lt;br /&gt;
| List maps available to the server&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Cvars==&lt;br /&gt;
&lt;br /&gt;
{{NoteWiki|content=Please add common and useful commands, not every one.}}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Cvar&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| g_dretchPunt&lt;br /&gt;
| Allow dretches to be pushes out of the way by bigger aliens?{{Verify}}&lt;br /&gt;
|-&lt;br /&gt;
| g_friendlyfire&lt;br /&gt;
| Allows players to hurt their team&lt;br /&gt;
|- &lt;br /&gt;
| g_gravity&lt;br /&gt;
| Gravity.&lt;br /&gt;
|-&lt;br /&gt;
| sv_maxclients&lt;br /&gt;
| Maximum number of players on the server&lt;br /&gt;
|-&lt;br /&gt;
| g_maxGameClients&lt;br /&gt;
| Maximum number of players in teams (ignoring spectators)&lt;br /&gt;
|-&lt;br /&gt;
| g_motd&lt;br /&gt;
| Message displayed to joining players (Message Of The Day)&lt;br /&gt;
|-&lt;br /&gt;
| g_password&lt;br /&gt;
| Password to enter game&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Game administration=&lt;br /&gt;
&lt;br /&gt;
==Become admin==&lt;br /&gt;
&lt;br /&gt;
To make yourself an in-game admin&lt;br /&gt;
&lt;br /&gt;
# Enter the game make sure you've set your in-game name (otherwise set it in the player settings)&lt;br /&gt;
# In the console, (&amp;lt;Shift&amp;gt;&amp;lt;Escape&amp;gt; or the key below the escape key) use &amp;lt;code&amp;gt;/register&amp;lt;/code&amp;gt;, it should say your account is now registered.&lt;br /&gt;
# Using &amp;lt;code&amp;gt;/listplayers&amp;lt;/code&amp;gt;, find your player number (if you want to use your player number for use &amp;lt;code&amp;gt;/setlevel&amp;lt;/code&amp;gt;)&lt;br /&gt;
# Finaly, go into an admin console (you may want to launch the game manually) and &amp;lt;code&amp;gt;/setlevel (your number/your nickname) (your level)&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It is also possible to modify the file ./game/admin.dat but the server will require a reboot to take the change into account.&lt;br /&gt;
&lt;br /&gt;
Here are the levels:&lt;br /&gt;
&lt;br /&gt;
 [level]&lt;br /&gt;
 level   = 5&lt;br /&gt;
 name    = ^1Server Operator&lt;br /&gt;
 flags   = ALLFLAGS -IMMUTABLE -INCOGNITO&lt;br /&gt;
 &lt;br /&gt;
 [level]&lt;br /&gt;
 level   = 4&lt;br /&gt;
 name    = ^3Senior Admin&lt;br /&gt;
 flags   = listplayers admintest adminhelp time putteam spec999 warn kick mute showbans ban namelog buildlog ADMINCHAT register unregister l0 l1&lt;br /&gt;
 &lt;br /&gt;
 [level]&lt;br /&gt;
 level   = 3&lt;br /&gt;
 name    = ^2Junior Admin&lt;br /&gt;
 flags   = listplayers admintest adminhelp time putteam spec999 warn kick mute ADMINCHAT buildlog register unregister l0 l1 &lt;br /&gt;
  &lt;br /&gt;
 [level]&lt;br /&gt;
 level   = 2&lt;br /&gt;
 name    = ^6Team Manager&lt;br /&gt;
 flags   = listplayers admintest adminhelp time putteam spec999 register unregister&lt;br /&gt;
 &lt;br /&gt;
 [level]&lt;br /&gt;
 level   = 1&lt;br /&gt;
 name    = ^5Server Regular&lt;br /&gt;
 flags   = listplayers admintest adminhelp time register unregister&lt;br /&gt;
 &lt;br /&gt;
 [level]&lt;br /&gt;
 level   = 0&lt;br /&gt;
 name    = ^4Unknown Player&lt;br /&gt;
 flags   = listplayers admintest adminhelp time register&lt;/div&gt;</summary>
		<author><name>PhantomFang</name></author>
	</entry>
	<entry>
		<id>https://staging-wiki.unvanquished.net/index.php?title=Server/Running&amp;diff=8641</id>
		<title>Server/Running</title>
		<link rel="alternate" type="text/html" href="https://staging-wiki.unvanquished.net/index.php?title=Server/Running&amp;diff=8641"/>
		<updated>2024-06-15T07:28:15Z</updated>

		<summary type="html">&lt;p&gt;PhantomFang: /* Become admin */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Server]]&lt;br /&gt;
[[Category:Tutorials]]&lt;br /&gt;
Servers can be quickly setup over LAN by starting a match in-game, however this is not as powerful or efficient as running a dedicated server separately.&lt;br /&gt;
&lt;br /&gt;
=Netiquette=&lt;br /&gt;
&lt;br /&gt;
{{Note|content=Unvanquished is currently a small community. Please don't aim to create a server in order to only compete for players.&lt;br /&gt;
&lt;br /&gt;
Division of players will disallow larger matches.}}&lt;br /&gt;
&lt;br /&gt;
Servers may be needed in some geographical places to reduce ping delay.&lt;br /&gt;
&lt;br /&gt;
=Getting the server=&lt;br /&gt;
&lt;br /&gt;
Our standard [https://unvanquished.net/download/ download] contains the server. The binary is named {{code|daemonded}}.&lt;br /&gt;
&lt;br /&gt;
To install on an headless server, you may prefer to download the [https://unvanquished.net/download/zip universal zip], example with Linux:&lt;br /&gt;
&lt;br /&gt;
 wget --content-disposition https://unvanquished.net/download/zip&lt;br /&gt;
 unzip unvanquished_{{Current|GameVersion}}.zip&lt;br /&gt;
 cd unvanquished_{{Current|GameVersion}}&lt;br /&gt;
 unzip linux-amd64.zip&lt;br /&gt;
&lt;br /&gt;
=Starting the Server=&lt;br /&gt;
&lt;br /&gt;
Just running {{code|./daemonded}} with a map may be enough:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./daemonded +map plat23&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You always need to start a map (here, this is done by passing the {{code|+map plat23}} argument).&lt;br /&gt;
&lt;br /&gt;
==Network configuration==&lt;br /&gt;
&lt;br /&gt;
By default the server listening port is {{code|27960}}, it is an {{code|UDP}} port. You may have to open this port in your firewall or redirect it to the machine running the server.&lt;br /&gt;
&lt;br /&gt;
This is the same port as Quake Ⅲ Arena, so other games derivated from the Quake Ⅲ engine may share the same port and while the engine selects the next port available if the default one is already taken, you may want to enforce a port number if you host multiple games or game servers to avoid the port for each server to change according to the server start order.&lt;br /&gt;
&lt;br /&gt;
=Advanced starting=&lt;br /&gt;
&lt;br /&gt;
You may want to customize the way it runs, for example change the listening port (here for both IPv4 and IPv6, {{code|27960}} is the default port):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./daemonded -set net_port 27960 -set net_port6 27960 +map plat23&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Or store the unvanquished server configuration in a specific folder:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./daemonded -homepath home/ +map plat23&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Or tell the game server to also look for {{code|.dpk}} files you're distributing on your web server:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./daemonded -pakpath /var/www/pkg +map plat23&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Server configuration==&lt;br /&gt;
&lt;br /&gt;
A ready-to use server configuration template can be found on {{SourceFile|dist/configs}} folder of Unvanquished repository.&lt;br /&gt;
&lt;br /&gt;
You just need to copy the {{code|config}} and {{code|game}} folders into your user game directory.&lt;br /&gt;
&lt;br /&gt;
{{Note|content={{User game locations}}}}&lt;br /&gt;
&lt;br /&gt;
You may want to edit the {{code|config/server.cfg}} file to change some things like the server name or things like that.&lt;br /&gt;
&lt;br /&gt;
After that, you can run the server this way:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./daemonded +exec server.cfg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can set arbitrary ports and run the configuration this way:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./daemonded -set net_port 27960 -set net_port6 27960 +exec server.cfg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Options ordering==&lt;br /&gt;
&lt;br /&gt;
You can combine those options, but every {{code|-option}} starting with a {{code|-}} must precede every {{code|+command}} starting with a {{code|+}}.&lt;br /&gt;
&lt;br /&gt;
==Quick list of useful options==&lt;br /&gt;
&lt;br /&gt;
* {{code|-curses}} &amp;amp;mdash; enabled ncurses console interface (default behavior is to disable it so messages remain on-screen after crashes).&lt;br /&gt;
* {{code|-set net_port &amp;lt;port-number&amp;gt;}} and {{code|-set net_port &amp;lt;port-number&amp;gt;}} &amp;amp;mdash; customize the default port, by default is is {{code|27960}}.&lt;br /&gt;
* {{code|-pakpath &amp;lt;directory&amp;gt;}} &amp;amp;mdash; load more {{code|.dpk}} files from another directory.&lt;br /&gt;
* {{code|+map &amp;lt;map-name&amp;gt;}} &amp;amp;mdash; without a map the server will kill itself.&lt;br /&gt;
&lt;br /&gt;
==Directories==&lt;br /&gt;
&lt;br /&gt;
If installing from the universal zip, the default directory where the {{code|.dpk}} are stored is in {{code|pkg/}} relative to the extraction directory.&lt;br /&gt;
&lt;br /&gt;
An optional package directory is called a ''pakpath''. Additional custom paths can be added using the {{code|-pakpath}} option. You can add as many as you want.&lt;br /&gt;
&lt;br /&gt;
The default user directory is called the ''homepath''. It can be customized with the {{code|-homepath}} option.&lt;br /&gt;
&lt;br /&gt;
The executable {{code|daemonded}} (''daemon dedicated'') should be included with your installation.&lt;br /&gt;
&lt;br /&gt;
So, if you need to be explicit on every path, you can do something like that:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./daemonded -homepath ${HOME}/.local/share/unvanquished \&lt;br /&gt;
 -pakpath /var/www/unvanquished/pkg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Standard game locations===&lt;br /&gt;
&lt;br /&gt;
See [[Game locations]] for details.&lt;br /&gt;
&lt;br /&gt;
==Script tutorial==&lt;br /&gt;
&lt;br /&gt;
Here is a tutorial to make a server script : [[Server/Script tutorial]].&lt;br /&gt;
&lt;br /&gt;
=Configuration and Operation=&lt;br /&gt;
&lt;br /&gt;
To discover more commands than are listed here, you can type the {{code|/listCmds}} command, and to discover configuration variables, you can type the {{code|/listCvars}} command.&lt;br /&gt;
&lt;br /&gt;
There is command and cvar completion, you can type a first letter (eg 'g') and press '''Tab''' to list available options starting with that letter.&lt;br /&gt;
&lt;br /&gt;
If you are in a terminal: '''Shift+Page Up''' allows you to scroll and the opposite for down.&lt;br /&gt;
&lt;br /&gt;
You can also search in what is ''already printed'' using grep, for example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/listCmds&lt;br /&gt;
/grep map&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Server Config File==&lt;br /&gt;
Here is the template for the server config: {{SourceFile|dist/configs/config/server.cfg}}.&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;config&amp;lt;/code&amp;gt; folder is stored in the &amp;lt;code&amp;gt;homepath&amp;lt;/code&amp;gt; folder (see above).&lt;br /&gt;
&lt;br /&gt;
For example on Linux it would be: &amp;lt;code&amp;gt;${HOME}/.local/share/unvanquished/config&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Ensure your server mode is not set to '2' unless you want your server to be listed for other players.&lt;br /&gt;
&lt;br /&gt;
 # Server mode&lt;br /&gt;
 # 0 - local server&lt;br /&gt;
 # 1 - LAN server&lt;br /&gt;
 # 2 - public server&lt;br /&gt;
&lt;br /&gt;
Public servers will want to set sv_hostname to a non-default value&lt;br /&gt;
&lt;br /&gt;
==Map rotation and map layouts==&lt;br /&gt;
&lt;br /&gt;
* [[Server/Map rotation|Map rotation]] &amp;amp;mdash; to customize the map loading order and on which condition a map is loaded or not.&lt;br /&gt;
* [[Server/Map layouts|Map layouts]] &amp;amp;mdash; default building locations.&lt;br /&gt;
&lt;br /&gt;
==Commands==&lt;br /&gt;
&lt;br /&gt;
{{NoteWiki|content=Please add common and useful commands, not every one.}}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Command&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| devmap&lt;br /&gt;
| Loads a map with &amp;lt;code&amp;gt;sv_cheats&amp;lt;/code&amp;gt; enabled. &amp;lt;code&amp;gt;sv_cheats&amp;lt;/code&amp;gt; cannot otherwise be changed during play&lt;br /&gt;
|-&lt;br /&gt;
| listadmins&lt;br /&gt;
| List current admins in-game&lt;br /&gt;
|-&lt;br /&gt;
| listlayouts&lt;br /&gt;
| List available layouts (for this map?)&lt;br /&gt;
|-&lt;br /&gt;
| listplayers&lt;br /&gt;
| List current players in-game&lt;br /&gt;
|-&lt;br /&gt;
| listmaps&lt;br /&gt;
| List maps available to the server&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Cvars==&lt;br /&gt;
&lt;br /&gt;
{{NoteWiki|content=Please add common and useful commands, not every one.}}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Cvar&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| g_dretchPunt&lt;br /&gt;
| Allow dretches to be pushes out of the way by bigger aliens?{{Verify}}&lt;br /&gt;
|-&lt;br /&gt;
| g_friendlyfire&lt;br /&gt;
| Allows players to hurt their team&lt;br /&gt;
|- &lt;br /&gt;
| g_gravity&lt;br /&gt;
| Gravity.&lt;br /&gt;
|-&lt;br /&gt;
| sv_maxclients&lt;br /&gt;
| Maximum number of players on the server&lt;br /&gt;
|-&lt;br /&gt;
| g_maxGameClients&lt;br /&gt;
| Maximum number of players in teams (ignoring spectators)&lt;br /&gt;
|-&lt;br /&gt;
| g_motd&lt;br /&gt;
| Message displayed to joining players (Message Of The Day)&lt;br /&gt;
|-&lt;br /&gt;
| g_password&lt;br /&gt;
| Password to enter game&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Game administration=&lt;br /&gt;
&lt;br /&gt;
==Become admin==&lt;br /&gt;
&lt;br /&gt;
To make yourself an in-game admin&lt;br /&gt;
&lt;br /&gt;
# Enter the game make sure you've set your in-game name (otherwise set it in the player settings)&lt;br /&gt;
# In the console, (&amp;lt;Shift&amp;gt;&amp;lt;Escape&amp;gt; or the key below the escape key) use &amp;lt;code&amp;gt;/register&amp;lt;/code&amp;gt;, it should say your account is now registered.&lt;br /&gt;
# Using &amp;lt;code&amp;gt;/listplayers&amp;lt;/code&amp;gt;, find your player number (if you want to use your player number for use &amp;lt;code&amp;gt;/setlevel&amp;lt;/code&amp;gt;&lt;br /&gt;
# Finaly, go into an admin console (you may want to launch the game manually) and &amp;lt;code&amp;gt;/setlevel (your number/your nickname) (your level)&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It is also possible to modify the file ./game/admin.dat but the server will require a reboot to take the change into account.&lt;br /&gt;
&lt;br /&gt;
Here are the levels:&lt;br /&gt;
&lt;br /&gt;
 [level]&lt;br /&gt;
 level   = 5&lt;br /&gt;
 name    = ^1Server Operator&lt;br /&gt;
 flags   = ALLFLAGS -IMMUTABLE -INCOGNITO&lt;br /&gt;
 &lt;br /&gt;
 [level]&lt;br /&gt;
 level   = 4&lt;br /&gt;
 name    = ^3Senior Admin&lt;br /&gt;
 flags   = listplayers admintest adminhelp time putteam spec999 warn kick mute showbans ban namelog buildlog ADMINCHAT register unregister l0 l1&lt;br /&gt;
 &lt;br /&gt;
 [level]&lt;br /&gt;
 level   = 3&lt;br /&gt;
 name    = ^2Junior Admin&lt;br /&gt;
 flags   = listplayers admintest adminhelp time putteam spec999 warn kick mute ADMINCHAT buildlog register unregister l0 l1 &lt;br /&gt;
  &lt;br /&gt;
 [level]&lt;br /&gt;
 level   = 2&lt;br /&gt;
 name    = ^6Team Manager&lt;br /&gt;
 flags   = listplayers admintest adminhelp time putteam spec999 register unregister&lt;br /&gt;
 &lt;br /&gt;
 [level]&lt;br /&gt;
 level   = 1&lt;br /&gt;
 name    = ^5Server Regular&lt;br /&gt;
 flags   = listplayers admintest adminhelp time register unregister&lt;br /&gt;
 &lt;br /&gt;
 [level]&lt;br /&gt;
 level   = 0&lt;br /&gt;
 name    = ^4Unknown Player&lt;br /&gt;
 flags   = listplayers admintest adminhelp time register&lt;/div&gt;</summary>
		<author><name>PhantomFang</name></author>
	</entry>
</feed>