ULX

Author Topic: Adding immunity  (Read 2285 times)

0 Members and 1 Guest are viewing this topic.

Offline Avien

  • Full Member
  • ***
  • Posts: 168
  • Karma: 4
Adding immunity
« 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.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Adding immunity
« Reply #1 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.
Experiencing God's grace one day at a time.

Offline Avien

  • Full Member
  • ***
  • Posts: 168
  • Karma: 4
Re: Adding immunity
« Reply #2 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