diff --git a/Server-Install.md b/Server-Install.md index 5276979..6644343 100644 --- a/Server-Install.md +++ b/Server-Install.md @@ -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.