Ulysses

Ulysses Stuff => Suggestions => Topic started by: DannyMartinez on March 20, 2007, 02:07:17 PM

Title: Admin
Post by: DannyMartinez on March 20, 2007, 02:07:17 PM
What if you can make other people admins by saying  <Admin (name)> ;D ;D
Title: Re: Admin
Post by: Megiddo on March 20, 2007, 02:51:01 PM
What's wrong with adduser? I didn't make it a say command because it's not used very often.
Title: Re: Admin
Post by: JamminR on March 20, 2007, 06:03:16 PM
Danny, it is also a safety feature.

The console 'adduser' command can't be run from client console, only server.
This helps ensure that only server hosts, OR, those specifically given "ulx rcon" access, can add users.
Title: Re: Admin
Post by: spbogie on March 20, 2007, 06:40:09 PM
JamminR,
Actually, "ulx adduser" can be run by anyone with superadmin access, however, only the listen server host, or dedicated server console is allowed to modify access of users who are already superadmins (for security reasons, to prevent a rogue superadmin from stealing all access for himself.)

Danny,
Make sure you are a superadmin, listen server host, or at the dedicated server console, and type "ulx adduser" in the console for more help.
Title: Re: Admin
Post by: JamminR on March 21, 2007, 03:28:04 PM
Ah, my apologies Danny (all) for my mistake.
I was close, but this isn't hand grenades or horseshoes :P

Title: Re: Admin
Post by: DannyMartinez on March 24, 2007, 08:42:27 PM
Oh nvm i found out how to make other people admins in my sever (: .By going in consle and typeing in ulx adduser <name> superadmin 1
Title: Re: Admin
Post by: DannyMartinez on March 26, 2007, 08:24:20 PM
BUt i dont know how to take  away the players rihts to be a admin   ??? :(
Title: Re: Admin
Post by: Avien on March 28, 2007, 03:41:52 PM
delete them from the users file?
Title: Re: Admin
Post by: DannyMartinez on March 28, 2007, 08:18:32 PM
delete them from the users file?
Where do i delete the users file?
Title: Re: Admin
Post by: JamminR on March 29, 2007, 09:40:00 AM
Where do i delete the users file?

You don't delete the users file unless you want to start from scratch.
You delete the individual user from that file.
The ULib_readme.txt, which reside in your root Garry's mod folder where you extracted the files to, make reference to the users file.


<your gmod server folder>/data/ULib/users.txt

If you had the following 3 users in that file.
Code: [Select]
"SomeGuy01"
{
"id" "STEAM_0:0:6543210"
"type" "steamid"
"groups"
{
"1" "superadmin"
}
}
"JamminR"
{
"type" "steamid"
"groups"
{
"1" "superadmin"
"2" "immunity"
}
"id" "STEAM_0:1:6016299"
}
"SomeGuy02r"
{
"id" "STEAM_0:1:0123456"
"type" "steamid"
"groups"
{
"1" "admin"
"2" "immunity"
}
}

 And you wanted to remove JamminR, you would start with the first quotation mark of that name (") and go to ending bracket above the next name, OR, if removing the last name in the file, the 2nd to last bracket of the file. This bracket when viewed in most text editors will line up with the first quotation mark of any other names.
The following would be what it looked like removing JamminR from the above example


Code: [Select]
"SomeGuy01"
{
"id" "STEAM_0:0:6543210"
"type" "steamid"
"groups"
{
"1" "superadmin"
}
}
"SomeGuy02r"
{
"id" "STEAM_0:1:0123456"
"type" "steamid"
"groups"
{
"1" "admin"
"2" "immunity"
}
}
Title: Re: Admin
Post by: DannyMartinez on March 29, 2007, 12:47:06 PM
K Thank You very much!   :)   ;D