ULX help

Is there anyway that I can stop admins or any group lower from targeting me with commands?

yea, If you go to where you can edit,create, and remove groups. Click on the group you want to not be able to target you and set it to be able to target some other group

So if i wanted them to be able to target all other groups apart from me, I would just have to list all the groups in that thing?

Try, im not sure. It might work.

Didn’t work.

Then try it with just one group and have it be able to target the group under it.

Example: Admins to be able to target mods

Have done that but doesn’t work

well shit.

[editline]16th July 2013[/editline]

Do you want me to come on and see if i could help?

Any ideas?

Couldn’t you just open up the groups.txt file that ulx automatically installs for you and add this to the groups “can_target” “!%admin”

You’re best bet is to use ’ !%YOURGROUP ’

I’ve done that, It makes it so they can only target admins which is odd.

are you sure you did it right because the !%Admin makes it so you CANNOT-TargetGroup-Admin

Positive, I did the exact command I was told to do.

How exactly is your groups set up? A screenshot or something would be helpful

Groups on my server;

Can you provide the groups.txt from data/ulib/(groups.txx)
either via pastebin or surrounded in [.code][./code] tags (no . )

.

[editline]22nd July 2013[/editline]

Indeed.


"user"	
{
	"allow"	
	{
		"ulx asay"
		"ulx help"
		"ulx motd"
		"ulx psay"
		"ulx thetime"
		"ulx usermanagementhelp"
		"ulx votemap"
		"ulx who"
	}
}
"owner"	
{
	"allow"	
	{
		"ulx adduser"
		"ulx armor"
		"ulx asay"
		"ulx ban"
		"ulx blind"
		"ulx bring"
		"ulx cexec"
		"ulx chattime"
		"ulx cloak"
		"ulx csay"
		"ulx ent"
		"ulx exec"
		"ulx force"
		"ulx forcenr"
		"ulx freeze"
		"ulx fspec"
		"ulx gag"
		"ulx gimp"
		"ulx god"
		"ulx goto"
		"ulx help"
		"ulx hp"
		"ulx ignite"
		"ulx jail"
		"ulx jailtp"
		"ulx karma"
		"ulx kick"
		"ulx kickafternamechanges"
		"ulx kickafternamechangescooldown"
		"ulx kickafternamechangeswarning"
		"ulx logchat"
		"ulx logdir"
		"ulx logecho"
		"ulx logechocolorconsole"
		"ulx logechocolordefault"
		"ulx logechocoloreveryone"
		"ulx logechocolormisc"
		"ulx logechocolorplayer"
		"ulx logechocolorplayerasgroup"
		"ulx logechocolors"
		"ulx logechocolorself"
		"ulx logevents"
		"ulx logfile"
		"ulx logjoinleaveecho"
		"ulx logspawns"
		"ulx logspawnsecho"
		"ulx luarun"
		"ulx map"
		"ulx motd"
		"ulx mute"
		"ulx noclip"
		"ulx physgunplayer"
		"ulx playsound"
		"ulx psay"
		"ulx ragdoll"
		"ulx rcon"
		"ulx reservedslots"
		"ulx rslaynr"
		"ulx rslots"
		"ulx rslotsmode"
		"ulx rslotsvisible"
		"ulx seeanonymousechoes"
		"ulx seeasay"
		"ulx send"
		"ulx showmotd"
		"ulx slap"
		"ulx slay"
		"ulx slaynr"
		"ulx spawnecho"
		"ulx spectate"
		"ulx sslay"
		"ulx strip"
		"ulx teleport"
		"ulx thetime"
		"ulx tsay"
		"ulx unban"
		"ulx unblind"
		"ulx uncloak"
		"ulx unfreeze"
		"ulx ungag"
		"ulx ungimp"
		"ulx ungod"
		"ulx unignite"
		"ulx unigniteall"
		"ulx unjail"
		"ulx unmute"
		"ulx unragdoll"
		"ulx unspec"
		"ulx usermanagementhelp"
		"ulx votebanminvotes"
		"ulx votebansuccessratio"
		"ulx voteecho"
		"ulx votekickminvotes"
		"ulx votekicksuccessratio"
		"ulx votemap2minvotes"
		"ulx votemap2successratio"
		"ulx votemapenabled"
		"ulx votemapmapmode"
		"ulx votemapmintime"
		"ulx votemapminvotes"
		"ulx votemapsuccessratio"
		"ulx votemapvetotime"
		"ulx votemapwaittime"
		"ulx welcomemessage"
		"ulx whip"
		"ulx who"
	}
	"inherit_from"	"superadmin"
}
"regular"	
{
	"allow"	
	{
	}
	"inherit_from"	"user"
}
"superadmin"	
{
	"allow"	
	{
		"ulx addgroup"
		"ulx adduser"
		"ulx adduserid"
		"ulx allowwin"
		"ulx armor"
		"ulx ban"
		"ulx banid"
		"ulx blind"
		"ulx bring"
		"ulx chattime"
		"ulx cloak"
		"ulx credits"
		"ulx csay"
		"ulx freeze"
		"ulx fspec"
		"ulx gag"
		"ulx gimp"
		"ulx god"
		"ulx goto"
		"ulx groupallow"
		"ulx groupdeny"
		"ulx hiddenecho"
		"ulx hp"
		"ulx ignite"
		"ulx jail"
		"ulx jailtp"
		"ulx karma"
		"ulx kick"
		"ulx kickafternamechanges"
		"ulx kickafternamechangescooldown"
		"ulx kickafternamechangeswarning"
		"ulx logchat"
		"ulx logdir"
		"ulx logecho"
		"ulx logechocolorconsole"
		"ulx logechocolordefault"
		"ulx logechocoloreveryone"
		"ulx logechocolormisc"
		"ulx logechocolorplayer"
		"ulx logechocolorplayerasgroup"
		"ulx logechocolors"
		"ulx logechocolorself"
		"ulx logevents"
		"ulx logfile"
		"ulx logjoinleaveecho"
		"ulx logspawns"
		"ulx logspawnsecho"
		"ulx map"
		"ulx maul"
		"ulx minply"
		"ulx mute"
		"ulx noclip"
		"ulx physgunplayer"
		"ulx playsound"
		"ulx prevwin"
		"ulx proptime"
		"ulx ragdoll"
		"ulx removegroup"
		"ulx removeuser"
		"ulx removeuserid"
		"ulx renamegroup"
		"ulx respawn"
		"ulx respawntp"
		"ulx roundrestart"
		"ulx rslaynr"
		"ulx rslots"
		"ulx rslotsmode"
		"ulx rslotsvisible"
		"ulx seeanonymousechoes"
		"ulx seeasay"
		"ulx send"
		"ulx setgroupcantarget"
		"ulx sforce"
		"ulx showmotd"
		"ulx silent credits"
		"ulx slap"
		"ulx slay"
		"ulx slaynr"
		"ulx spawnecho"
		"ulx spectate"
		"ulx srespawn"
		"ulx srespawntp"
		"ulx sslay"
		"ulx strip"
		"ulx teleport"
		"ulx tsay"
		"ulx unban"
		"ulx unblind"
		"ulx uncloak"
		"ulx unfreeze"
		"ulx ungag"
		"ulx ungimp"
		"ulx ungod"
		"ulx unignite"
		"ulx unigniteall"
		"ulx unjail"
		"ulx unmute"
		"ulx unragdoll"
		"ulx unspec"
		"ulx userallow"
		"ulx userallowid"
		"ulx userdeny"
		"ulx userdenyid"
		"ulx veto"
		"ulx vote"
		"ulx voteban"
		"ulx votebanminvotes"
		"ulx votebansuccessratio"
		"ulx voteecho"
		"ulx votekick"
		"ulx votekickminvotes"
		"ulx votekicksuccessratio"
		"ulx votemap2"
		"ulx votemap2minvotes"
		"ulx votemap2successratio"
		"ulx votemapenabled"
		"ulx votemapmapmode"
		"ulx votemapmintime"
		"ulx votemapminvotes"
		"ulx votemapsuccessratio"
		"ulx votemapvetotime"
		"ulx votemapwaittime"
		"ulx welcomemessage"
		"ulx whip"
		"xgui_gmsettings"
		"xgui_managebans"
		"xgui_managegroups"
		"xgui_svsettings"
	}
	"inherit_from"	"user"
}
"admin"	
{
	"allow"	
	{
		"ulx allowwin"
		"ulx armor"
		"ulx asay"
		"ulx ban"
		"ulx banid"
		"ulx blind"
		"ulx bring"
		"ulx cloak"
		"ulx csay"
		"ulx freeze"
		"ulx fspec"
		"ulx gag"
		"ulx gimp"
		"ulx god"
		"ulx goto"
		"ulx help"
		"ulx hp"
		"ulx ignite"
		"ulx jail"
		"ulx jailtp"
		"ulx karma"
		"ulx kick"
		"ulx map"
		"ulx minply"
		"ulx motd"
		"ulx mute"
		"ulx noclip"
		"ulx physgunplayer"
		"ulx playsound"
		"ulx prevwin"
		"ulx psay"
		"ulx ragdoll"
		"ulx reservedslots"
		"ulx respawn"
		"ulx respawntp"
		"ulx roundrestart"
		"ulx rslaynr"
		"ulx seeanonymousechoes"
		"ulx seeasay"
		"ulx send"
		"ulx sforce"
		"ulx slap"
		"ulx slay"
		"ulx slaynr"
		"ulx spawnecho"
		"ulx spectate"
		"ulx srespawn"
		"ulx srespawntp"
		"ulx sslay"
		"ulx strip"
		"ulx teleport"
		"ulx thetime"
		"ulx tsay"
		"ulx unban"
		"ulx unblind"
		"ulx uncloak"
		"ulx unfreeze"
		"ulx ungag"
		"ulx ungimp"
		"ulx ungod"
		"ulx unignite"
		"ulx unigniteall"
		"ulx unjail"
		"ulx unmute"
		"ulx unragdoll"
		"ulx unspec"
		"ulx veto"
		"ulx vote"
		"ulx voteban"
		"ulx votekick"
		"ulx votemap"
		"ulx votemap2"
		"ulx whip"
		"ulx who"
	}
	"inherit_from"	"user"
}
"donator"	
{
	"allow"	
	{
		"ulx reservedslots"
	}
	"inherit_from"	"user"
}
"vip"	
{
	"allow"	
	{
		"ulx reservedslots"
		"ulx votekick"
	}
	"inherit_from"	"user"
}
"youtuber"	
{
	"allow"	
	{
	}
	"inherit_from"	"user"
}
"moderator"	
{
	"allow"	
	{
		"ulx ban"
		"ulx banid"
		"ulx bring"
		"ulx csay"
		"ulx fspec"
		"ulx gag"
		"ulx goto"
		"ulx karma"
		"ulx kick"
		"ulx map"
		"ulx mute"
		"ulx reservedslots"
		"ulx respawn"
		"ulx roundrestart"
		"ulx send"
		"ulx slay"
		"ulx slaynr"
		"ulx spectate"
		"ulx teleport"
		"ulx tsay"
		"ulx unban"
		"ulx ungag"
		"ulx unmute"
		"ulx unspec"
		"ulx vote"
	}
	"inherit_from"	"regular"
}


Good news, your problem was a simple one! If I am correct, it is because both your admin and superadmin groups were inherited from user instead of the one before it (SuperAdmin inherits from admin etc)

So the ranks below should fix that problem.



"owner"	
{
	"allow"	
	{
		"ulx adduser"
		"ulx armor"
		"ulx asay"
		"ulx ban"
		"ulx blind"
		"ulx bring"
		"ulx cexec"
		"ulx chattime"
		"ulx cloak"
		"ulx csay"
		"ulx ent"
		"ulx exec"
		"ulx force"
		"ulx forcenr"
		"ulx freeze"
		"ulx fspec"
		"ulx gag"
		"ulx gimp"
		"ulx god"
		"ulx goto"
		"ulx help"
		"ulx hp"
		"ulx ignite"
		"ulx jail"
		"ulx jailtp"
		"ulx karma"
		"ulx kick"
		"ulx kickafternamechanges"
		"ulx kickafternamechangescooldown"
		"ulx kickafternamechangeswarning"
		"ulx logchat"
		"ulx logdir"
		"ulx logecho"
		"ulx logechocolorconsole"
		"ulx logechocolordefault"
		"ulx logechocoloreveryone"
		"ulx logechocolormisc"
		"ulx logechocolorplayer"
		"ulx logechocolorplayerasgroup"
		"ulx logechocolors"
		"ulx logechocolorself"
		"ulx logevents"
		"ulx logfile"
		"ulx logjoinleaveecho"
		"ulx logspawns"
		"ulx logspawnsecho"
		"ulx luarun"
		"ulx map"
		"ulx motd"
		"ulx mute"
		"ulx noclip"
		"ulx physgunplayer"
		"ulx playsound"
		"ulx psay"
		"ulx ragdoll"
		"ulx rcon"
		"ulx reservedslots"
		"ulx rslaynr"
		"ulx rslots"
		"ulx rslotsmode"
		"ulx rslotsvisible"
		"ulx seeanonymousechoes"
		"ulx seeasay"
		"ulx send"
		"ulx showmotd"
		"ulx slap"
		"ulx slay"
		"ulx slaynr"
		"ulx spawnecho"
		"ulx spectate"
		"ulx sslay"
		"ulx strip"
		"ulx teleport"
		"ulx thetime"
		"ulx tsay"
		"ulx unban"
		"ulx unblind"
		"ulx uncloak"
		"ulx unfreeze"
		"ulx ungag"
		"ulx ungimp"
		"ulx ungod"
		"ulx unignite"
		"ulx unigniteall"
		"ulx unjail"
		"ulx unmute"
		"ulx unragdoll"
		"ulx unspec"
		"ulx usermanagementhelp"
		"ulx votebanminvotes"
		"ulx votebansuccessratio"
		"ulx voteecho"
		"ulx votekickminvotes"
		"ulx votekicksuccessratio"
		"ulx votemap2minvotes"
		"ulx votemap2successratio"
		"ulx votemapenabled"
		"ulx votemapmapmode"
		"ulx votemapmintime"
		"ulx votemapminvotes"
		"ulx votemapsuccessratio"
		"ulx votemapvetotime"
		"ulx votemapwaittime"
		"ulx welcomemessage"
		"ulx whip"
		"ulx who"
	}
	"inherit_from"	"superadmin"
}
"superadmin"	
{
	"allow"	
	{
		"ulx addgroup"
		"ulx adduser"
		"ulx adduserid"
		"ulx allowwin"
		"ulx armor"
		"ulx ban"
		"ulx banid"
		"ulx blind"
		"ulx bring"
		"ulx chattime"
		"ulx cloak"
		"ulx credits"
		"ulx csay"
		"ulx freeze"
		"ulx fspec"
		"ulx gag"
		"ulx gimp"
		"ulx god"
		"ulx goto"
		"ulx groupallow"
		"ulx groupdeny"
		"ulx hiddenecho"
		"ulx hp"
		"ulx ignite"
		"ulx jail"
		"ulx jailtp"
		"ulx karma"
		"ulx kick"
		"ulx kickafternamechanges"
		"ulx kickafternamechangescooldown"
		"ulx kickafternamechangeswarning"
		"ulx logchat"
		"ulx logdir"
		"ulx logecho"
		"ulx logechocolorconsole"
		"ulx logechocolordefault"
		"ulx logechocoloreveryone"
		"ulx logechocolormisc"
		"ulx logechocolorplayer"
		"ulx logechocolorplayerasgroup"
		"ulx logechocolors"
		"ulx logechocolorself"
		"ulx logevents"
		"ulx logfile"
		"ulx logjoinleaveecho"
		"ulx logspawns"
		"ulx logspawnsecho"
		"ulx map"
		"ulx maul"
		"ulx minply"
		"ulx mute"
		"ulx noclip"
		"ulx physgunplayer"
		"ulx playsound"
		"ulx prevwin"
		"ulx proptime"
		"ulx ragdoll"
		"ulx removegroup"
		"ulx removeuser"
		"ulx removeuserid"
		"ulx renamegroup"
		"ulx respawn"
		"ulx respawntp"
		"ulx roundrestart"
		"ulx rslaynr"
		"ulx rslots"
		"ulx rslotsmode"
		"ulx rslotsvisible"
		"ulx seeanonymousechoes"
		"ulx seeasay"
		"ulx send"
		"ulx setgroupcantarget"
		"ulx sforce"
		"ulx showmotd"
		"ulx silent credits"
		"ulx slap"
		"ulx slay"
		"ulx slaynr"
		"ulx spawnecho"
		"ulx spectate"
		"ulx srespawn"
		"ulx srespawntp"
		"ulx sslay"
		"ulx strip"
		"ulx teleport"
		"ulx tsay"
		"ulx unban"
		"ulx unblind"
		"ulx uncloak"
		"ulx unfreeze"
		"ulx ungag"
		"ulx ungimp"
		"ulx ungod"
		"ulx unignite"
		"ulx unigniteall"
		"ulx unjail"
		"ulx unmute"
		"ulx unragdoll"
		"ulx unspec"
		"ulx userallow"
		"ulx userallowid"
		"ulx userdeny"
		"ulx userdenyid"
		"ulx veto"
		"ulx vote"
		"ulx voteban"
		"ulx votebanminvotes"
		"ulx votebansuccessratio"
		"ulx voteecho"
		"ulx votekick"
		"ulx votekickminvotes"
		"ulx votekicksuccessratio"
		"ulx votemap2"
		"ulx votemap2minvotes"
		"ulx votemap2successratio"
		"ulx votemapenabled"
		"ulx votemapmapmode"
		"ulx votemapmintime"
		"ulx votemapminvotes"
		"ulx votemapsuccessratio"
		"ulx votemapvetotime"
		"ulx votemapwaittime"
		"ulx welcomemessage"
		"ulx whip"
		"xgui_gmsettings"
		"xgui_managebans"
		"xgui_managegroups"
		"xgui_svsettings"
	}
	"inherit_from"	"admin"
}
"admin"	
{
	"allow"	
	{
		"ulx allowwin"
		"ulx armor"
		"ulx asay"
		"ulx ban"
		"ulx banid"
		"ulx blind"
		"ulx bring"
		"ulx cloak"
		"ulx csay"
		"ulx freeze"
		"ulx fspec"
		"ulx gag"
		"ulx gimp"
		"ulx god"
		"ulx goto"
		"ulx help"
		"ulx hp"
		"ulx ignite"
		"ulx jail"
		"ulx jailtp"
		"ulx karma"
		"ulx kick"
		"ulx map"
		"ulx minply"
		"ulx motd"
		"ulx mute"
		"ulx noclip"
		"ulx physgunplayer"
		"ulx playsound"
		"ulx prevwin"
		"ulx psay"
		"ulx ragdoll"
		"ulx reservedslots"
		"ulx respawn"
		"ulx respawntp"
		"ulx roundrestart"
		"ulx rslaynr"
		"ulx seeanonymousechoes"
		"ulx seeasay"
		"ulx send"
		"ulx sforce"
		"ulx slap"
		"ulx slay"
		"ulx slaynr"
		"ulx spawnecho"
		"ulx spectate"
		"ulx srespawn"
		"ulx srespawntp"
		"ulx sslay"
		"ulx strip"
		"ulx teleport"
		"ulx thetime"
		"ulx tsay"
		"ulx unban"
		"ulx unblind"
		"ulx uncloak"
		"ulx unfreeze"
		"ulx ungag"
		"ulx ungimp"
		"ulx ungod"
		"ulx unignite"
		"ulx unigniteall"
		"ulx unjail"
		"ulx unmute"
		"ulx unragdoll"
		"ulx unspec"
		"ulx veto"
		"ulx vote"
		"ulx voteban"
		"ulx votekick"
		"ulx votemap"
		"ulx votemap2"
		"ulx whip"
		"ulx who"
	}
	"inherit_from"	"moderator"
}
"moderator"	
{
	"allow"	
	{
		"ulx ban"
		"ulx banid"
		"ulx bring"
		"ulx csay"
		"ulx fspec"
		"ulx gag"
		"ulx goto"
		"ulx karma"
		"ulx kick"
		"ulx map"
		"ulx mute"
		"ulx reservedslots"
		"ulx respawn"
		"ulx roundrestart"
		"ulx send"
		"ulx slay"
		"ulx slaynr"
		"ulx spectate"
		"ulx teleport"
		"ulx tsay"
		"ulx unban"
		"ulx ungag"
		"ulx unmute"
		"ulx unspec"
		"ulx vote"
	}
	"inherit_from"	"regular"
}
"donator"	
{
	"allow"	
	{
		"ulx reservedslots"
	}
	"inherit_from"	"user"
}
"vip"	
{
	"allow"	
	{
		"ulx reservedslots"
		"ulx votekick"
	}
	"inherit_from"	"user"
}
"youtuber"	
{
	"allow"	
	{
	}
	"inherit_from"	"user"
}
"regular"	
{
	"allow"	
	{
	}
	"inherit_from"	"user"
}
"user"	
{
	"allow"	
	{
		"ulx asay"
		"ulx help"
		"ulx motd"
		"ulx psay"
		"ulx thetime"
		"ulx usermanagementhelp"
		"ulx votemap"
		"ulx who"
	}
}


Trying it now.

Edit:- It worked. Thanks.