Update 'Server Install'

randy 2025-01-29 06:18:18 -07:00
parent e785d31433
commit c963913d11

@ -38,6 +38,32 @@ sudo mysql
update members set rights = '2' where username = 'admin'; set their rights. 0 is normal player, 1 is moderator, 2 is admin. 3 or higher will cause error on login.
```
### Starting the server
In the directory that you ran git clone, execute the Server/run file. Alternatively, you can set up a service:
/etc/systemd/system/snowscape.service
```
[Unit]
Description=The Snowscape Game Server
After=network.target
[Service]
Type=simple
Restart=always
RestartSec=30
ExecStart=/runescape/snowscape/Server/run
[Install]
WantedBy=multi-user.target
```
Then run the following:
```
systemctl enable snowscape
systemctl start snowscape
```
### IntelliJ download (requires desktop environment).
Not required to run the server, only required for dev. I haven't actually needed to use this yet, but here are the instructions regardless.