Raycity Server File Install Hot! -
RayCity server file install
Running as a service (Linux systemd)
- Create a systemd unit file /etc/systemd/system/raycity.service:
-
[Unit] Description=RayCity Server After=network.target
[Service] User=raycity WorkingDirectory=/opt/raycity ExecStart=/usr/bin/java -Xms2G -Xmx4G -jar /opt/raycity/raycity-server.jar nogui Restart=on-failure RestartSec=10
[Install] WantedBy=multi-user.target
-
- Reload systemd and enable:
- sudo systemctl daemon-reload
- sudo systemctl enable --now raycity.service
- Check logs:
- sudo journalctl -u raycity -f
Step 4: Edit Server Configuration Files
Navigate to the 03_Config/ folder. Open each .ini file in Notepad++ (standard Notepad may break formatting). raycity server file install
Server.ini (Critical edits):
[System] ServerName=Racing_S01 MaxUsers=100 GamePort=10001
[Database] DSN=RayCity UID=sa PWD=YourSaPasswordHere <-- CHANGE THIS
IPList.txt:
127.0.0.1 Local_Dev
192.168.1.100 Your_LAN_IP (if you want LAN players)
AuthServer.ini:
[Network] IP=127.0.0.1 Port=9000
[WorldServer] IP=127.0.0.1 Port=10001
Method B: Use Account Creator Tool
Run Tools/Account_Creator.exe. Input desired username/password. Click Create. The tool will write directly to the SQL database.
Prerequisites
Before starting, ensure your system meets these requirements: RayCity server file install Running as a service
| Component | Minimum Spec | |-----------|---------------| | OS | Windows Server 2016 / Windows 10 Pro | | CPU | 2 cores (4+ recommended) | | RAM | 8 GB | | Storage | 10 GB free (SSD) | | Network | Local IP (static) | | Software | SQL Server 2019 Express, .NET Framework 4.8 |
5.1 For Public Servers
- Change all default database passwords.
- Run server processes under a limited Windows user account.
- Use a reverse proxy (e.g., Nginx Stream Module) to hide direct server ports.
- Regularly backup
raycity_db– character data is irreplaceable.