Ulysses Stuff > Suggestions

Admin

<< < (2/3) > >>

DannyMartinez:
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

DannyMartinez:
BUt i dont know how to take  away the players rihts to be a admin   ??? :(

Avien:
delete them from the users file?

DannyMartinez:

--- Quote from: Avien on March 28, 2007, 03:41:52 PM ---delete them from the users file?

--- End quote ---
Where do i delete the users file?

JamminR:

--- Quote from: DannyMartinez on March 28, 2007, 08:18:32 PM ---Where do i delete the users file?

--- End quote ---

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: --- "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"
}
}

--- End code ---

 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: --- "SomeGuy01"
{
"id" "STEAM_0:0:6543210"
"type" "steamid"
"groups"
{
"1" "superadmin"
}
}
"SomeGuy02r"
{
"id" "STEAM_0:1:0123456"
"type" "steamid"
"groups"
{
"1" "admin"
"2" "immunity"
}
}

--- End code ---

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version