Skip to content

Alchemy Factory: Server Configuration

Learn how to configure your Alchemy Factory game server in ZapX using startup parameters and ServerConfig.ini, from player limits and admin passwords to save intervals.

25 November 20263 min read4 Views0 helpful

Introduction

With the right configuration, you can make your Alchemy Factory game server exactly the way you want it: with your own name, password, player limit, admin access, and a save interval that works for you. In this guide, we’ll show you which settings to configure as startup parameters in ZapX, what goes in ServerConfig.ini, and what to keep in mind.

How configuration works

Alchemy Factory has two places for your settings:

  • The startup parameters in the Configuration tab. This is where you set the server name and server password.
  • The ServerConfig.ini file in your server’s main folder. You can edit it in the Configuration tab, use Edit directly to edit it as raw text, or edit it in the Files tab.

The game creates ServerConfig.ini the first time it starts. The file doesn’t exist before then. During the very first startup, your server also installs runtime components once, which can take 15 to 25 minutes.

Important

Alchemy Factory only reads ServerConfig.ini at startup. It’s best to edit the file while your server is stopped, then start it again. Each setting goes on its own line in the format name=value.

Startup parameters at a glance

Startup parameterMeaning
Server nameThe name of your server in the server list. Default: Hosted by ZAP-Hosting.com
Server passwordThe password players need to join. Leave it blank for a server without a password.

Your server writes both values to ServerConfig.ini as server_name and server_password every time it starts. If you change them directly in the file, they’ll be overwritten the next time the server starts. After you save the startup parameters, ZapX will offer to restart the server.

Settings in ServerConfig.ini

All entries are in the [ServerSettings] section.

EntryMeaning
max_clientsThe number of players who can play on your server at the same time. Default: 4.
admin_passwordThe password you use to become an admin in the game. It’s blank by default, so nobody can become an admin.
max_adminsThe number of players who can be admins at the same time. Default: 1.
autosave_modeHow often your server saves, as described below. Default: 1 (every 5 minutes).
pause_when_empty1 (default) pauses the game when no players are connected. Set it to 0 to keep your factory running.
server_publicSet to 1 to show your server in the server list, or 0 to hide it.
server_lanLeave this set to 0. Set it to 1 to make your server visible only on a local network.

Values set by your server

  • server_name and server_password are taken from the startup parameters every time the server starts.
  • Your server sets server_relay to 0 at every startup so players can join using the IP address and port.
  • The server_port and query_port values in the file have no effect. Your server always uses the ports shown in the Overview.

All other values are retained when your server restarts.

Set the save interval

Use autosave_mode to choose when your server saves the game:

  • 0 → Save when sleeping in the game
  • 1 → Every 5 minutes (default)
  • 2 → Every 10 minutes
  • 3 → Never
Tip

Don’t set autosave_mode to 3. Otherwise, you’ll lose any progress made since the last save when the server restarts. Your save files are in AlchemyFactory/Saved/SaveGames, with a separate folder for each world.

Become an admin

The console in Alchemy Factory is read-only. Enter admin commands directly in the game:

  1. Stop your server and add a password for admin_password in ServerConfig.ini.
  2. Start your server.
  3. In the game, press Enter to open chat, then type /admin, followed by a space and your admin password.

Type /help in chat to see all available commands. To let multiple players be admins at the same time, increase max_admins.

Check which settings are active

The console shows which settings your server applied at startup. Lines containing [ServerConfig] come from the game itself. For example, the [ServerConfig] loaded: line shows the number of players currently allowed under maxClients.

Conclusion

Your Alchemy Factory server is now configured the way you want it. Our guide Connecting to the server explains how your friends can join. If something isn’t working as expected, see our guide to Common issues. If you have any other questions, our support team is available every day! 🙂

FAQ

Frequently asked questions

The ServerConfig.ini file is in your server’s main folder. The game creates it the first time it starts. You can edit it in the Configuration tab or the Files tab.
Every time your server starts, it writes server_name and server_password from the startup parameters to ServerConfig.ini. Change the name and password under Startup Parameters in the Configuration tab.
The max_clients setting in ServerConfig.ini controls this. The default value is 4. Change it and restart your server.

Feedback

Was this article helpful?

Your feedback helps us prioritize and improve content.

0 of 0 people found this article helpful.

Personal support

Need more help than the guide provides?

Our ZAP-Hosting support team knows your product — briefly describe your issue and we'll help you personally.

Zappy knows this guide and answers you right in the chat.