forked from 2009Scape/Server
Update 'Server Install'
parent
99358eea85
commit
f2d9abb530
1 changed files with 8 additions and 0 deletions
|
|
@ -30,6 +30,14 @@ sudo mysql -u root -p global < Server/db_exports/global.sql
|
|||
sudo reboot
|
||||
```
|
||||
|
||||
How to make an admin account
|
||||
```
|
||||
sudo mysql
|
||||
use global;
|
||||
select username,rights from members where username = 'admin'; check their current rights
|
||||
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.
|
||||
```
|
||||
|
||||
|
||||
### 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