Author Topic: Need help with making myself superadmin  (Read 13515 times)

0 Members and 1 Guest are viewing this topic.

Offline Connor

  • Newbie
  • *
  • Posts: 19
  • Karma: 0
Need help with making myself superadmin
« on: December 23, 2009, 08:10:29 AM »
Hey sorry to bother you guys but I need help. I just bought my own server and I chose ULX mod because it is supposed to simple. I've extracted the stuff from the archive into the garrymod/addons. I do have the file structure that the ulib readme says, all except for the users.txt. In the default file of users.txt it says that if the users file isn't there, then to copy that one over to where it should be. I did so. This is what it should look like, right?
"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"
   }
 
}
 I got this info. from here http://wiki.garrysmod.com/?title=Player_Groups. So I copied this into the txt file. I changed the example into my name and steam ID. Nothing happened. Please help guys.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6213
  • Karma: 394
  • Project Lead
Re: Need help with making myself superadmin
« Reply #1 on: December 23, 2009, 08:47:51 AM »
What you pasted is from settings/users.txt, if you put that into data/ulib/users.txt, you did it incorrectly. The best method is to simply remove the data/ulib folder and to type "ulx adduser your_name superadmin" in the server console while you're connected to the server.
Experiencing God's grace one day at a time.

Offline Connor

  • Newbie
  • *
  • Posts: 19
  • Karma: 0
Re: Need help with making myself superadmin
« Reply #2 on: December 23, 2009, 09:37:57 AM »
What you pasted is from settings/users.txt, if you put that into data/ulib/users.txt, you did it incorrectly. The best method is to simply remove the data/ulib folder and to type "ulx adduser your_name superadmin" in the server console while you're connected to the server.

I've tried doing that, it says that I don't have permission to do it.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6213
  • Karma: 394
  • Project Lead
Re: Need help with making myself superadmin
« Reply #3 on: December 23, 2009, 09:43:35 AM »
I've tried doing that, it says that I don't have permission to do it.

Do it in the server console.
Experiencing God's grace one day at a time.

Offline Connor

  • Newbie
  • *
  • Posts: 19
  • Karma: 0
Re: Need help with making myself superadmin
« Reply #4 on: December 23, 2009, 10:06:21 AM »
Do it in the server console.

"You don't have access to this command" is what it keeps telling me in the server console.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6213
  • Karma: 394
  • Project Lead
Re: Need help with making myself superadmin
« Reply #5 on: December 23, 2009, 10:33:15 AM »
"You don't have access to this command" is what it keeps telling me in the server console.

Is this a listen server or dedicated server?
Experiencing God's grace one day at a time.

Offline Connor

  • Newbie
  • *
  • Posts: 19
  • Karma: 0
Re: Need help with making myself superadmin
« Reply #6 on: December 23, 2009, 10:44:23 AM »
Is this a listen server or dedicated server?

It's a dedicated server. And thankyou for your patience Megiddo.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6213
  • Karma: 394
  • Project Lead
Re: Need help with making myself superadmin
« Reply #7 on: December 23, 2009, 11:06:18 AM »
It's a dedicated server. And thankyou for your patience Megiddo.

Is it through a professional host service or are you hosting the server on your computer?
Experiencing God's grace one day at a time.

Offline Connor

  • Newbie
  • *
  • Posts: 19
  • Karma: 0
Re: Need help with making myself superadmin
« Reply #8 on: December 23, 2009, 11:09:26 AM »
Is it through a professional host service or are you hosting the server on your computer?

It is from Artofwarcentral.com

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6213
  • Karma: 394
  • Project Lead
Re: Need help with making myself superadmin
« Reply #9 on: December 23, 2009, 11:11:33 AM »
It is from Artofwarcentral.com

So you typed the 'ulx adduser...' command into a web-based console through the administration panel, correct?
Experiencing God's grace one day at a time.

Offline Connor

  • Newbie
  • *
  • Posts: 19
  • Karma: 0
Re: Need help with making myself superadmin
« Reply #10 on: December 23, 2009, 11:16:01 AM »
So you typed the 'ulx adduser...' command into a web-based console through the administration panel, correct?

Oh my, okay now I think I understand what I was doing wrong. I was typing it into the In-game server console.

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: Need help with making myself superadmin
« Reply #11 on: December 23, 2009, 11:19:30 AM »
One of the most useful tools you could possibly familiarize yourself with as a dedicated server host is HLSW. Google and get that. Its not very hard to use and it'll save your life many many MANY times.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6213
  • Karma: 394
  • Project Lead
Re: Need help with making myself superadmin
« Reply #12 on: December 23, 2009, 11:23:44 AM »
Oh my, okay now I think I understand what I was doing wrong. I was typing it into the In-game server console.

That is not the server console. That's the client console. My questions were to make sure you understood what the server console was. :P
Experiencing God's grace one day at a time.

Offline Connor

  • Newbie
  • *
  • Posts: 19
  • Karma: 0
Re: Need help with making myself superadmin
« Reply #13 on: December 23, 2009, 11:25:41 AM »
That is not the server console. That's the client console. My questions were to make sure you understood what the server console was. :P

Oh okay. So how do I access the server console?

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6213
  • Karma: 394
  • Project Lead
Re: Need help with making myself superadmin
« Reply #14 on: December 23, 2009, 11:32:13 AM »
Oh okay. So how do I access the server console?

Your server provider should offer a web based console, or you can use rcon.
Experiencing God's grace one day at a time.