Author Topic: Admin Not Working  (Read 2856 times)

0 Members and 1 Guest are viewing this topic.

pissoffboi

  • Guest
Admin Not Working
« on: December 19, 2007, 12:57:13 AM »
Ok I eventually got ULX and ULiB to work but now adding admin is the problem. This is what I have in C:/srcds/garrys mod/settings/user.txt

"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
   //

   

"superadmin"
   
{
      //"garry"         "STEAM_0:1:7099"
   }
   
   

"admin"
   

{
      //"garry"         "STEAM_0:1:7099"
   }

}

{
   "superadmin" //This is a user group. Groups are useful to LUA coders.
   {
      "garry"         "STEAM_0:1:7099"    //Garry is a user in the superadmin group.
      "pissoffboi"      "STEAM_0:1:13404182" //To be the server admin, your Steam ID should go here
   }

   "admin" //Another user group.
   {
      "garry"         "STEAM_0:1:7099"    //Your ID could go here as well without a significant decrease in admin power.
      "pissoffboi"      "STEAM_0:1:13404182"
   }
}

pissoffboi

  • Guest
Re: Admin Not Working
« Reply #1 on: December 19, 2007, 12:59:07 AM »
It's actually

 C:/srcds/garrys mod/settings/users.txt

In stead of user.txt. Not sure if that would make a difference but thought I should have brought that up.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Admin Not Working
« Reply #2 on: December 19, 2007, 02:01:52 AM »
Read the sticky.
Experiencing God's grace one day at a time.

pissoffboi

  • Guest
Re: Admin Not Working
« Reply #3 on: December 19, 2007, 12:32:59 PM »
I already have glanced at it for more than 30 mins before you told me to. I don't know what I am missing out on.

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: Admin Not Working
« Reply #4 on: December 19, 2007, 01:18:28 PM »
I already have glanced at it for more than 30 mins before you told me to. I don't know what I am missing out on.

you think it could possible be because you have the tables in there twice?? Try deleting the top to.. the ones that only have garry in it.. and are commented out. Just leave the last 2.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Admin Not Working
« Reply #5 on: December 19, 2007, 03:17:58 PM »
I already have glanced at it for more than 30 mins before you told me to. I don't know what I am missing out on.

If you read it you'd know that there's a big bolded section giving you instructions on how to ask for help.
Experiencing God's grace one day at a time.