Ulysses

Ulysses Stuff => General Chat & Help and Support => Topic started by: Avien on January 19, 2008, 02:14:19 PM

Title: Adding immunity
Post by: Avien on January 19, 2008, 02:14:19 PM
I have got the server all setup and running fine with ulx and ulib.  I have added all the admins, etc..., to the settings/users.txt file.  My question is, how do i go about adding immunity to this file?

Here is my example:
Code: [Select]
"Users"
{
//
// This is your users file
//
// You can use this file to add people as admins on your server
// Add them to the relevant section
//
// If you're a Lua coder you can add your own sections and use them
// in your script by doing pl:IsUserGroup( "admin" ) etc
//
"owner"
{
"xxxxxxxxxx" "STEAM_0:0:xxxxxx"
}

"itmanager"
{
"xxxxxxxxxxx" "STEAM_0:0:xxxxxxxxxx" "immunity"
}

"superadmin"
{
//
}

"admin"
{
"xxxxxxxx" "STEAM_0:0:xxxxxx"
"xxxxxxxx" "STEAM_0:1:xxxxxxxxx"
"xxxxxxxx" "STEAM_0:0:xxxxxxx"
"xxxxxxxx" "STEAM_0:1:xxxxxxxxxxx"
}

"operator"
{
//"xxxxxxx" "STEAM_0:0:xxxxxxx"
}
}


I would rather do it this way then simply using the console, or whatnot.
Title: Re: Adding immunity
Post by: Megiddo on January 19, 2008, 02:15:40 PM
You can't add immunity from settings/users.txt. You should really use the console, it's the easiest and the most effective. :)

If you must do it by hand, add "immunity" to the user's or group's allow table.
Title: Re: Adding immunity
Post by: Avien on January 19, 2008, 02:33:29 PM
I know the console is easier, i just like the layout better.

I will give what you said a try.

Thanks