Ulysses Stuff > Ulysses Release Archives
XGUI - Fully featured modular GUI for ULX! (Included with ULX v3.51 and SVN)
Stickly Man!:
Along with running the ulx setgroupcantarget command, you can also change the can_target setting within XGUI-- Go to the groups tab, Select "Manage Groups..." in the drop-down box at the top, then click on each group, change the "can_target" entry, then click "Update". This makes it easier to look at the can_target fields of each of your groups.
--- Quote from: the unknown on May 23, 2011, 06:15:32 PM ---is there a way to block them from using the commands on all higher groups BUT still be able to use it own members in their group?
--- End quote ---
This is a bit of a long explanation, but hopefully I can help you understand how can_target works :)
Say you had the following groups: superadmin, admin, operator, users
If you want each group to target their own group and any groups under them, you'd set their can_target to be this:
superadmin: * (or leave blank)
admin: !%superadmin
operator: !%admin
user: !%operator
To explain, the ! means not, % means group followed by the group name. So you can really just say it out loud for it to make sense:
'ulx setgroupcantarget operator "!%admin"' means "operator can target NOT group admin" (This also means they can't target superadmins, because the superadmin group inherits from admin)
So, before, when you had "ulx setgroupcantarget mod !%mod,^", that meant "mod can target NOT group mod, can target self" (The comma basically just adds another separate parameter)
Anyways, hope that made some sort of sense! :P
krooks:
It actually cleared things up a bit for me, I just may remember it this time :P
JamminR:
--- Quote from: Stickly Man! on May 23, 2011, 06:50:00 PM ---<clip>Explanation of can_target<clip>
--- End quote ---
Add this to the FAQ.
Seriously.
Press the 'Quote' button. Copy it.
Go to the FAQs and start a topic with "How do I use ULX's new 'immunity'-like commands?", then paste your quoted text.
Theres a post or two around the forum where Megiddo explained it some too, but, this is an excellent starter post, and if I remember, Megiddo's was a bit more technical.
We can add his as 'see also'
the unknown:
thanks that helped.
Stickly Man!:
Yay! Update! I'm not being lazy! .. Sorta.. anyways, this update just adds some bugfixes that have been sitting in my todo list for a while. I think we're about ready to release a patch update to ULX within the next few days (at least, I want to), so let me know if you guys find any more bugs!
--- Code: ---7/22/2011 (rev 185)
-----------------
*Changed: Modifying UTeam settings is now disabled on non sandbox-derived gamemodes
*Changed: Serverside xgui.removeData much more more robust.
=Fixed: UTeam information would be lost when changing UTeam settings on non sandbox-derived gamemodes
=Fixed: DNumberWangs on color panels being extra long (due to garry update?)
=Fixed: ULib team data not sent after making changes to teams.
=Fixed: Users in the groups tab were not being updated when a group was removed and users in that group were moved to a new group.
=Fixed: Issue where a group's team wasn't getting unassigned when the unassigned team had no more groups associated with it.
--- End code ---
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version