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