<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://developer.vellocetsoftware.com/index.php?action=history&amp;feed=atom&amp;title=ANEURISM_IV%2FServer_configuration</id>
	<title>ANEURISM IV/Server configuration - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://developer.vellocetsoftware.com/index.php?action=history&amp;feed=atom&amp;title=ANEURISM_IV%2FServer_configuration"/>
	<link rel="alternate" type="text/html" href="https://developer.vellocetsoftware.com/w/index.php?title=ANEURISM_IV/Server_configuration&amp;action=history"/>
	<updated>2026-10-21T19:56:38Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.9</generator>
	<entry>
		<id>https://developer.vellocetsoftware.com/w/index.php?title=ANEURISM_IV/Server_configuration&amp;diff=130&amp;oldid=prev</id>
		<title>DocumentationBot: Version 1</title>
		<link rel="alternate" type="text/html" href="https://developer.vellocetsoftware.com/w/index.php?title=ANEURISM_IV/Server_configuration&amp;diff=130&amp;oldid=prev"/>
		<updated>2026-10-01T04:13:05Z</updated>

		<summary type="html">&lt;p&gt;Version 1&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{ANEURISMNav}}&lt;br /&gt;
&lt;br /&gt;
Set the server name, map, password, and player limit in the hosting menu or dedicated-server environment. Put gameplay rules and the message of the day in the data directory.&lt;br /&gt;
&lt;br /&gt;
== Data directory ==&lt;br /&gt;
&lt;br /&gt;
Dedicated servers should set &amp;lt;code&amp;gt;ANIV_DATA_ROOT&amp;lt;/code&amp;gt; to an absolute path. The [[ANEURISM IV/Dedicated servers|installation guide]] uses &amp;lt;code&amp;gt;~/aneurism/data&amp;lt;/code&amp;gt;, with the full path written into &amp;lt;code&amp;gt;server.env&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Without this override, the game uses its per-user data directory:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Platform !! Default location&lt;br /&gt;
|-&lt;br /&gt;
| Windows || &amp;lt;code&amp;gt;%USERPROFILE%\AppData\LocalLow\Vellocet\ANEURISM IV&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Linux || &amp;lt;code&amp;gt;$XDG_CONFIG_HOME/unity3d/Vellocet/ANEURISM IV&amp;lt;/code&amp;gt;, or &amp;lt;code&amp;gt;~/.config/unity3d/Vellocet/ANEURISM IV&amp;lt;/code&amp;gt; when &amp;lt;code&amp;gt;XDG_CONFIG_HOME&amp;lt;/code&amp;gt; is unset&lt;br /&gt;
|-&lt;br /&gt;
| macOS || &amp;lt;code&amp;gt;~/Library/Application Support/unity.Vellocet.ANEURISM IV&amp;lt;/code&amp;gt;, or &amp;lt;code&amp;gt;~/Library/Application Support/Vellocet/ANEURISM IV&amp;lt;/code&amp;gt; if that directory already exists&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
These locations follow [https://docs.unity3d.com/2022.3/Documentation/ScriptReference/Application-persistentDataPath.html Unity&amp;#039;s per-user data paths]. The [[ANEURISM IV/Troubleshooting#Find the player log|player log]] reports configuration paths. Check it if the expected directory is absent. Keep each saved world in its own directory and never let two running servers share one.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! File !! Contents&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;aniv.db&amp;lt;/code&amp;gt; || Saved world, players, owner, staff assignments, local bans, and whitelist.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;aniv.cfg&amp;lt;/code&amp;gt; || General server settings.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;customserverrules.cfg&amp;lt;/code&amp;gt; || Gameplay values such as rewards and event durations.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;customobjectvalues.cfg&amp;lt;/code&amp;gt; || Overrides for individual fates.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;motd.txt&amp;lt;/code&amp;gt; || Message shown to joining players.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;tasks.json&amp;lt;/code&amp;gt; || Saved task progress.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Create the optional text files when you need them. See [[ANEURISM IV/Backups and updates|Backups and updates]] before replacing a database or moving a world.&lt;br /&gt;
&lt;br /&gt;
== Shared startup settings (next update) ==&lt;br /&gt;
&lt;br /&gt;
Shared [[Dedicated server launch settings|startup option names and validation]] are prepared for the next ANEURISM IV update. The current preview still uses the environment settings below. After that game update, a dedicated server can put these defaults in &amp;lt;code&amp;gt;aniv.cfg&amp;lt;/code&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
hostname &amp;quot;My ANEURISM server&amp;quot;&lt;br /&gt;
map &amp;quot;aneurismiv&amp;quot;&lt;br /&gt;
maxplayers &amp;quot;32&amp;quot;&lt;br /&gt;
sv_password &amp;quot;&amp;quot;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use the map ID &amp;lt;code&amp;gt;aneurismiv&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;misery&amp;lt;/code&amp;gt;. Keep this file readable only by the server account if it contains a password. The optional environment values below override these defaults; explicit &amp;lt;code&amp;gt;+hostname&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;+map&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-maxplayers&amp;lt;/code&amp;gt;, and &amp;lt;code&amp;gt;+sv_password&amp;lt;/code&amp;gt; options override both. Do not set the same option twice. Restart to apply changes.&lt;br /&gt;
&lt;br /&gt;
== Dedicated-server environment ==&lt;br /&gt;
&lt;br /&gt;
These variables are read when hosting starts. Edit &amp;lt;code&amp;gt;server.env&amp;lt;/code&amp;gt; and restart the server to apply changes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Variable !! Value&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;ANIV_COMMUNITY_OWNER_STEAM_ID&amp;lt;/code&amp;gt; || Required personal SteamID64 of the owner. Use the same account for every start of this saved world.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;ANIV_SERVER_NAME&amp;lt;/code&amp;gt; || Public name, 1–64 characters. Avoid links, addresses, control characters, and surrounding spaces. Set it explicitly.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;ANIV_MAX_PLAYERS&amp;lt;/code&amp;gt; || Whole number from 2 to 60. Defaults to 60; the setup example uses 32.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;ANIV_MAP&amp;lt;/code&amp;gt; || Map ID. Use &amp;lt;code&amp;gt;aneurismiv&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;misery&amp;lt;/code&amp;gt;, in lowercase. Set it explicitly.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;ANIV_ROTATION&amp;lt;/code&amp;gt; || Public label, up to 64 characters. Defaults to &amp;lt;code&amp;gt;persistent-world&amp;lt;/code&amp;gt;. This label doesn&amp;#039;t schedule map changes.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;ANIV_SERVER_PASSWORD&amp;lt;/code&amp;gt; || Optional password, up to 64 characters with no control characters. Empty means no password.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;ANIV_DATA_ROOT&amp;lt;/code&amp;gt; || Absolute writable path for this world&amp;#039;s data and configuration files.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The dedicated server is publicly listed in &amp;#039;&amp;#039;&amp;#039;Community&amp;#039;&amp;#039;&amp;#039;. Use a password to restrict admission. Friends and Invite only visibility are available when [[ANEURISM IV/Hosting from the game|hosting from the game]]. Read the [[ANEURISM IV/Server administration#Whitelist|whitelist limitation]] before using that feature.&lt;br /&gt;
&lt;br /&gt;
== General settings ==&lt;br /&gt;
&lt;br /&gt;
In &amp;lt;code&amp;gt;aniv.cfg&amp;lt;/code&amp;gt;, write one setting per line and put its value in double quotes. Names are case-sensitive. Lines beginning with &amp;lt;code&amp;gt;#&amp;lt;/code&amp;gt; are comments. Use &amp;lt;code&amp;gt;1&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;0&amp;lt;/code&amp;gt; for switches.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
# aniv.cfg&lt;br /&gt;
region &amp;quot;eu-central&amp;quot;&lt;br /&gt;
enableGlobalChat &amp;quot;1&amp;quot;&lt;br /&gt;
enableReports &amp;quot;0&amp;quot;&lt;br /&gt;
maintenanceTime &amp;quot;null&amp;quot;&lt;br /&gt;
wipeShutdown &amp;quot;0&amp;quot;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Setting !! Default !! Use&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;region&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;unknown&amp;lt;/code&amp;gt; || Region label used in server metadata. It doesn&amp;#039;t move the server to another location.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;enableGlobalChat&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;0&amp;lt;/code&amp;gt; || Enable global text chat for this server with &amp;lt;code&amp;gt;1&amp;lt;/code&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;enableReports&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;0&amp;lt;/code&amp;gt; || Enable the community report option in the server window with &amp;lt;code&amp;gt;1&amp;lt;/code&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;lostDisabled&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;0&amp;lt;/code&amp;gt; || Disable the Lost event with &amp;lt;code&amp;gt;1&amp;lt;/code&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;maintenanceTime&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;null&amp;lt;/code&amp;gt; || Start the daily maintenance warning sequence at a UTC time such as &amp;lt;code&amp;gt;03:00:00&amp;lt;/code&amp;gt;. See below.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;wipeShutdown&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;0&amp;lt;/code&amp;gt; || Exit after a gameplay world wipe with &amp;lt;code&amp;gt;1&amp;lt;/code&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;serverName&amp;lt;/code&amp;gt; || Generated when absent || Fallback name used during world initialization. The hosting menu or &amp;lt;code&amp;gt;ANIV_SERVER_NAME&amp;lt;/code&amp;gt; supplies the current session name.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;systemServerName&amp;lt;/code&amp;gt; || Session name || Alternate name used by server metadata. Usually leave it unset so the listing follows your chosen session name.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Keep passwords in &amp;lt;code&amp;gt;server.env&amp;lt;/code&amp;gt; or set them with the in-game &amp;lt;code&amp;gt;password&amp;lt;/code&amp;gt; command. Startup &amp;lt;code&amp;gt;sv_password&amp;lt;/code&amp;gt; in &amp;lt;code&amp;gt;aniv.cfg&amp;lt;/code&amp;gt; is part of the next update described above. The game doesn&amp;#039;t read an &amp;lt;code&amp;gt;ANIV_*&amp;lt;/code&amp;gt; environment assignment from &amp;lt;code&amp;gt;aniv.cfg&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Maintenance timing ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;maintenanceTime&amp;lt;/code&amp;gt; is the UTC time when warnings begin. The server waits 10 minutes, then 5 minutes, then 1 minute before disconnecting players and shutting down networking. A setting of &amp;lt;code&amp;gt;03:00:00&amp;lt;/code&amp;gt; therefore begins maintenance shutdown around &amp;lt;code&amp;gt;03:16 UTC&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
This setting doesn&amp;#039;t launch a replacement process. Leave it at &amp;lt;code&amp;gt;null&amp;lt;/code&amp;gt; unless your hosting setup also handles the restart. The systemd service in the installation guide restarts a crashed process; it doesn&amp;#039;t detect a process that remains alive after networking stops.&lt;br /&gt;
&lt;br /&gt;
== Gameplay rules ==&lt;br /&gt;
&lt;br /&gt;
Use &amp;lt;code&amp;gt;customserverrules.cfg&amp;lt;/code&amp;gt; for gameplay settings. It uses the same quoted-value format:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
# customserverrules.cfg&lt;br /&gt;
eventWartimeDuration &amp;quot;900&amp;quot;&lt;br /&gt;
lootCycleInterval &amp;quot;600&amp;quot;&lt;br /&gt;
fateRespawnTime &amp;quot;10&amp;quot;&lt;br /&gt;
rewardBankerTransaction &amp;quot;Small&amp;quot;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See [[ANEURISM IV/Gameplay settings]] for the setting names, shipped defaults, reward values, and fate overrides.&lt;br /&gt;
&lt;br /&gt;
== Message of the day ==&lt;br /&gt;
&lt;br /&gt;
Write your server rules or welcome message in &amp;lt;code&amp;gt;motd.txt&amp;lt;/code&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
Welcome to the server.&lt;br /&gt;
Please read the rules before joining a faction.&lt;br /&gt;
Ask a moderator if you need help.&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The server reads the file when hosting starts. Restart after editing it. If the file is empty or missing, joining players see the server name instead.&lt;br /&gt;
&lt;br /&gt;
== Apply changes ==&lt;br /&gt;
&lt;br /&gt;
Restart after changing startup settings, the map, the message of the day, or fate overrides. Use a separate data directory for a different map.&lt;br /&gt;
&lt;br /&gt;
An owner or administrator can run &amp;lt;code&amp;gt;reloadservercfg&amp;lt;/code&amp;gt; from the connected game console to reread &amp;lt;code&amp;gt;aniv.cfg&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;customserverrules.cfg&amp;lt;/code&amp;gt;, and loot configuration. Settings already copied into a running system, such as chat/report switches and the maintenance timer, still need a restart. Removing a gameplay override doesn&amp;#039;t reset its value in memory; restart to restore the shipped default.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;reloadlocalcfg&amp;lt;/code&amp;gt; affects the computer running that console. It doesn&amp;#039;t reload a remote dedicated server. &amp;lt;code&amp;gt;customobjectvalues.cfg&amp;lt;/code&amp;gt; is applied when the map initializes and isn&amp;#039;t part of &amp;lt;code&amp;gt;reloadservercfg&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
[[Category:ANEURISM IV]]&lt;/div&gt;</summary>
		<author><name>DocumentationBot</name></author>
	</entry>
</feed>