forked from 2009Scape/Server
Update 'Server Install'
parent
e785d31433
commit
c963913d11
1 changed files with 26 additions and 0 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue