Author Topic: Urg. Help!  (Read 2847 times)

0 Members and 1 Guest are viewing this topic.

Offline Hizan

  • Newbie
  • *
  • Posts: 11
  • Karma: 0
Urg. Help!
« on: July 27, 2008, 08:18:37 AM »
Hello!

I have recently been adding groups to the ulib groups.txt file.
I seem to be having problems with adding user's to the group. I put in "adduser" or what ever the command is.. (Yeah. I forgot the command at the moment but I know it!) ...and I add them to the group and it says "Invalid Group!" I know that I added all of the groups. I'm not sure if I added them "correctly". Only one of the custom groups worked... Here, look at my config of ulib groups.

Code: [Select]
//ATTENTION! This is a default file. DO NOT EDIT THIS FILE!!!
//Instead, edit the version in <garrysmod root>/data/ULib/groups.txt if it exists. If it doesn't, copy this file over to create it.
//IF YOU MAKE CHANGES TO THIS FILE THEY WILL BE ERASED!

"operator"
{
"allow"
{
}
"deny"
{
"ulx unban"
"ulx ban  0"
}
"inherit_from"
{
}
}

"admin"
{
"allow"
{
}
"deny"
{
}
"inherit_from"
{
"operator"
}
}

"superadmin"
{
"allow"
{
}
"deny"
{

}
"inherit_from"
{
"admin"
}
}
"owner"
{
"allow"
{
}
"deny"
{
}
"inherit_from"
{
"superadmin"
}
}
"goldmember"
{
"allow"
{
"ulx kick"
"ulx god"
"ulx hp"
"ulx goto"
"ulx bring"
"ulx mute"
}
"deny"
{
}
"inherit_from"
{
}
}
"vip"
{
"allow"
{
"ulx god"
"ulx bring"
"ulx goto"
}
"deny"
{
}
"inherit_from"
{
}
}
"wiretutor"
{
"allow"
{
"ulx goto"
"ulx hp"
"ulx bring"
"ulx goto"
}
"deny"
{
}
"inherit_from"
{
}
}
"coder"
{
"allow"
{
}
"deny"
{
}
"inherit_from"
{
"operator"
}
{

// This is your default user. Everyone is considered part of this group so handle with care!
"user"
{
"allow"
{
}
"deny"
{
}
"inherit_from"
{
}
}

"none"
{
"allow"
{
}
"deny"
{
}
"inherit_from"
{
}
}

Ok ok.. You will probobly spot millions of things wrong in there. I think you can see in the allow and deny bits you can see what I am trying to allow and stuff. Also in that one group that worked (VIP) you could not use any commands. Also this is connecting with UTeam as well. So if that's causing a problem with what i'm doing I will post what I have in UTeam as well..

And in the operator part. I am trying to stop them banning perma by doing in the deny "Ulx ban  0" I left the space in the middle for the name or something :S And could you edit the stuff at the top in the code so it works fine.

Thank you very much!

-Hizan

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Urg. Help!
« Reply #1 on: July 27, 2008, 08:30:42 AM »
Did you read the header at the top of that file?
Experiencing God's grace one day at a time.

Offline Hizan

  • Newbie
  • *
  • Posts: 11
  • Karma: 0
Re: Urg. Help!
« Reply #2 on: July 27, 2008, 08:53:14 AM »
Yes. I did notice the header.
That is the file. Why make a new one?

EDIT:

Oh. I'm sorry I didn't read it correctly... Urg. If I convert it to the new file will it all work? Reguardless of the access errors I had?
« Last Edit: July 27, 2008, 08:54:50 AM by Hizan »

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Urg. Help!
« Reply #3 on: July 27, 2008, 08:58:56 AM »
You can't do deny "ulx ban 0", but otherwise it should work. If it doesn't, follow the instructions for help in the FAQ section.
Experiencing God's grace one day at a time.

Offline Hizan

  • Newbie
  • *
  • Posts: 11
  • Karma: 0
Re: Urg. Help!
« Reply #4 on: July 27, 2008, 10:58:24 AM »
Thank you. Also could you copy paste what that other file should look like. Because those groups are not being removed auto... :P

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Urg. Help!
« Reply #5 on: July 27, 2008, 11:05:23 AM »
The other file looks like that one without the header.
Experiencing God's grace one day at a time.

Offline Hizan

  • Newbie
  • *
  • Posts: 11
  • Karma: 0
Re: Urg. Help!
« Reply #6 on: July 27, 2008, 11:06:53 AM »
Ok. But the other file had my stuff already copy pasted in it...

EDIT:

Nevermind I got it :]

Also sorry for wasting your time, by not reading the banner correctly.
:-\
« Last Edit: July 27, 2008, 01:17:34 PM by Hizan »