This guide will give you instructions and examples on how to add yourself as the root or superadmin for your new ULX installation
RCon Command from the server console while you are connected to the server.
This is very important. You will need to perform this command from the SERVER console. You will need to be connected to the server before you try and perform this command. If you do not have access to your server console (you rent your server from a 3rd party) you will need to use one of the other methods.
Command: ulx adduser <your user name> superadmin
Notes: You can use a partial name. For example if your name is Super Money Socks, you may enter ulx adduser monkey superadmin
RCon Command from the server console while you are not connected to the server.
This is very important. You will need to perform this command from the SERVER console. For this method you do not need to be connected to the server at the time of running this command. You will need to know your STEAM_ID. If you do not know your STEAM_ID, connect to any multiplayer server and type status into your console. If you do not have access to your server console (you rent your server from a 3rd party) you will need to use one of the other methods.
Command: ulx adduserid <Steam_ID> superadmin
Notes: Make sure you properly format your STEAM_ID of this method will not work. An example would be STEAM_0:1:123456
If you do not have access to your server console at all or the RCon password.
This method is a little more complicated than running the console command. It will involve you editing a default garry's mod file. ULX by default will pull admins from the default garry's mod file as well as its own files.
First shut down your server. After your server is shut down, navigate to your users.txt file garrysmod\settings\users.txt
Inside of the users.txt file find the section for 'superadmin' and you should see garry listed there. Don't worry he is commented out by default. Replace his name and Steam_ID with your own and remove the // from in front of the name. This will uncomment out the entry and allow it to take effect. Once you have done this, restart your server and connect.