This guide covers setting up and configuring your Swords 'n Magic and Stuff dedicated server on Legion Hosting. Swords 'n Magic and Stuff is a multiplayer open-world RPG featuring exploration, loot, and adventure. For server management and in-game admin tools, see our Swords 'n Magic Admin Commands guide.
What is Swords 'n Magic and Stuff?
Swords 'n Magic and Stuff is a cooperative, multiplayer, open-world RPG. Players explore a vast world filled with loot, hidden secrets, and both friends and foes. The game supports dedicated servers for up to 16 players and runs via Wine on the hosting platform.
First Start
- Log in to GPanel at gpanel.legionhosting.net
- Select your Swords 'n Magic and Stuff server from the server list
- Go to the Startup tab and configure your server name, admin Steam ID, and other settings before first launch
- Click Start to launch the server
- Wait for the console to display
Succeeded to create Steam session with ID— the server is now online
GPanel Startup Variables
These variables control your server configuration directly from GPanel:
| Variable | Description | Default |
|---|---|---|
SNM_NAME |
Server name. Must be 2–5 unique words chosen from the approved word list (see SNM2020/Saved/Logs/Allowed-Words.txt). Case insensitive, no duplicate words. |
(empty) |
SNM_OWNER_STEAM_ID |
Steam ID of the server owner/admin. Required. | (empty) |
SNM_PASSWORD |
Server password. Leave empty for no password. | (empty) |
SNM_MAX_PLAYERS |
Maximum number of players allowed on the server | 16 |
SNM_DAYS_UNTIL_RESET |
Number of days between automatic server resets | 1 |
SNM_RESET_TIME_OF_DAY |
Time of day for automatic reset in 24-hour format (e.g., 00:00 for midnight, 16:30 for 4:30 PM) |
00:00 |
QUERY_PORT |
Steam query port used for server browser listing and ping | 27015 |
AUTO_UPDATE |
Automatically update the server on startup (1 = yes, 0 = no) |
1 |
SNM2020/Saved/Logs/Allowed-Words.txt after the first server start. Duplicate words are not allowed.
Configuration File
The main server configuration file is located at:
SNM2020/Saved/Config/WindowsServer/Game.ini
This file is automatically created on first install from the default template. If you need to reset it, delete the file and reinstall the server — a fresh copy will be generated from SNM2020/Content/Docs/Dedicated-Server-Game.ini.
How to Connect
- Launch Swords 'n Magic and Stuff from Steam
- From the main menu, select Multiplayer
- Browse the server list and look for your server name
- If the server is password-protected, enter the password when prompted
Save and Log Locations
SNM2020/Saved/ <-- Main saved data folder
SNM2020/Saved/Config/WindowsServer/ <-- Server configuration
SNM2020/Saved/Logs/SNM2020.log <-- Server log file
SNM2020/Saved/Logs/Allowed-Words.txt <-- Approved server name words
Automatic Resets
The server supports automatic periodic resets controlled by two variables:
SNM_DAYS_UNTIL_RESET— how many days between each resetSNM_RESET_TIME_OF_DAY— what time of day the reset occurs (24-hour format)
For example, setting SNM_DAYS_UNTIL_RESET to 7 and SNM_RESET_TIME_OF_DAY to 04:00 will reset the server weekly at 4:00 AM.
Related Articles
Need Help?
If you are experiencing issues with your server, our support team is here to help. Submit a support ticket and we will get back to you as soon as possible.