Author Topic: Quick ulx "Can target" help  (Read 2651 times)

0 Members and 1 Guest are viewing this topic.

Offline ShaggySGD

  • Newbie
  • *
  • Posts: 8
  • Karma: 1
Quick ulx "Can target" help
« on: September 09, 2014, 09:54:46 AM »
I made a group called moderator and I want to make it so they cant kick or jail other moderators.. What would I put into "can target"? I have tried !%moderator already and it didn't work, Any help would be great.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Quick ulx "Can target" help
« Reply #1 on: September 09, 2014, 08:27:42 PM »
I don't fully remember, but I don't think you can deny commands through can target through the group you are in.
You'd have to specify each moderator command as ^,!%moderator
Or, you have a major inheritance tree issue.
Do a ulx debuginfo from server console and attach the file from the path it tells you in server console to your next post.

See also from our FAQs section.
How exactly does can_target work?
« Last Edit: September 09, 2014, 08:30:47 PM by JamminR »
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline ShaggySGD

  • Newbie
  • *
  • Posts: 8
  • Karma: 1
Re: Quick ulx "Can target" help
« Reply #2 on: September 10, 2014, 03:45:11 AM »
Sorry if this isn't how you do this (Im new)

Quote
ULX version: 3.61
ULib version: 2.51
Gamemode: DarkRP
Map: rp_downtown_v4c_v2
Dedicated server: true

Currently connected players:
Nick                            steamid            uid        id lsh
ShaggySDG                       STEAM_0:1:47731236 3516272544 1  n    


ULib.ucl.users (#=3):
   STEAM_0:0:77716183:
      name   =   rloop
      deny:
      allow:
      group   =   moderator
   STEAM_0:1:47731236:
      name   =   ShaggySDG
      deny:
      allow:
      group   =   owner
   STEAM_0:1:45285256:
      deny:
      allow:
      name   =   TaKeN PiLlS
      group   =   moderator


ULib.ucl.groups (#=6):
   moderator:
      can_target   =   !%admin, !%moderator
      allow:
         1   =   ulx asay
         2   =   ulx cleardecals
         3   =   ulx clearragdolls
         4   =   ulx dcmenu
         5   =   ulx help
         6   =   ulx logchat
         7   =   ulx logdir
         8   =   ulx logecho
         9   =   ulx logechocolorconsole
         10   =   ulx logechocolordefault
         11   =   ulx logechocoloreveryone
         12   =   ulx logechocolormisc
         13   =   ulx logechocolorplayer
         14   =   ulx logechocolorplayerasgroup
         15   =   ulx logechocolors
         16   =   ulx logechocolorself
         17   =   ulx logevents
         18   =   ulx logfile
         19   =   ulx logjoinleaveecho
         20   =   ulx logspawns
         21   =   ulx logspawnsecho
         22   =   ulx motd
         23   =   ulx nolag
         24   =   ulx psay
         25   =   ulx reservedslots
         26   =   ulx seeasay
         27   =   ulx showmotd
         28   =   ulx spawnecho
         29   =   ulx thetime
         30   =   ulx unjail
         31   =   ulx usermanagementhelp
         32   =   ulx warn
         33   =   ulx welcomemessage
         34   =   ulx who
         ulx cleanprops   =   !%admin,!%moderator
         ulx spectate   =   !%admin,!%moderator
         ulx votegag   =   !%admin,!%moderator
         ulx jail   =   !%admin,!%moderator 1:100
         ulx goto   =   !%admin,!%moderator
         ulx kick   =   !%admin,!%moderator
         ulx ban   =   !%admin,!%moderator 30:1w
      inherit_from   =   user
   user:
      can_target   =   !%moderator
      allow:
         1   =   ulx asay
         2   =   ulx help
         3   =   ulx listjoinsdcs
         4   =   ulx motd
         5   =   ulx psay
         6   =   ulx recentdcs
         7   =   ulx thetime
         8   =   ulx usermanagementhelp
         9   =   ulx who
   admin:
      allow:
         1   =   ulx ban
         2   =   ulx bring
         3   =   ulx chattime
         4   =   ulx cleanprops
         5   =   ulx cleardecals
         6   =   ulx clearragdolls
         7   =   ulx crash
         8   =   ulx freeze
         9   =   ulx gag
         10   =   ulx god
         11   =   ulx goto
         12   =   ulx infammo
         13   =   ulx jailtp
         14   =   ulx kick
         15   =   ulx kickafternamechanges
         16   =   ulx kickafternamechangescooldown
         17   =   ulx kickafternamechangeswarning
         18   =   ulx limammo
         19   =   ulx logchat
         20   =   ulx logecho
         21   =   ulx logechocolorconsole
         22   =   ulx logechocolordefault
         23   =   ulx logechocoloreveryone
         24   =   ulx logechocolormisc
         25   =   ulx logechocolorplayer
         26   =   ulx logechocolorplayerasgroup
         27   =   ulx logechocolors
         28   =   ulx logechocolorself
         29   =   ulx logevents
         30   =   ulx logfile
         31   =   ulx logjoinleaveecho
         32   =   ulx logspawns
         33   =   ulx logspawnsecho
         34   =   ulx mute
         35   =   ulx noclip
         36   =   ulx nolag
         37   =   ulx physgunplayer
         38   =   ulx reconnect
         39   =   ulx reservedslots
         40   =   ulx restartmap
         41   =   ulx seeanonymousechoes
         42   =   ulx seeasay
         43   =   ulx showmotd
         44   =   ulx spawnecho
         45   =   ulx spectate
         46   =   ulx stopsound
         47   =   ulx strip
         48   =   ulx teleport
         49   =   ulx unban
         50   =   ulx unfreeze
         51   =   ulx ungag
         52   =   ulx ungod
         53   =   ulx unmute
         54   =   ulx votebanminvotes
         55   =   ulx votebansuccessratio
         56   =   ulx votegagminvotes
         57   =   ulx votegagsuccessratio
         58   =   ulx votekickminvotes
         59   =   ulx votekicksuccessratio
         60   =   ulx welcomemessage
      can_target   =   !%superadmin
      inherit_from   =   moderator
   superadmin:
      can_target   =   !%Co-Owner
      allow:
         1   =   ulx armor
         2   =   ulx banid
         3   =   ulx cloak
         4   =   ulx crash
         5   =   ulx crashban
         6   =   ulx csay
         7   =   ulx give
         8   =   ulx hiddenecho
         9   =   ulx hp
         10   =   ulx imitate
         11   =   ulx imitateteam
         12   =   ulx logchat
         13   =   ulx logdir
         14   =   ulx logecho
         15   =   ulx logechocolorconsole
         16   =   ulx logechocolordefault
         17   =   ulx logechocoloreveryone
         18   =   ulx logechocolormisc
         19   =   ulx logechocolorplayer
         20   =   ulx logechocolorplayerasgroup
         21   =   ulx logechocolors
         22   =   ulx logechocolorself
         23   =   ulx logevents
         24   =   ulx logfile
         25   =   ulx logjoinleaveecho
         26   =   ulx logspawns
         27   =   ulx logspawnsecho
         28   =   ulx mute
         29   =   ulx send
         30   =   ulx slap
         31   =   ulx sslay
         32   =   ulx uncloak
         33   =   ulx unmute
         34   =   ulx voteecho
      inherit_from   =   admin
   co-owner:
      can_target   =   !%owner
      allow:
         1   =   ulx blind
         2   =   ulx maul
         3   =   ulx slay
         4   =   ulx tsay
         5   =   ulx unblind
         6   =   ulx whip
         7   =   xgui_managebans
      inherit_from   =   superadmin
   owner:
      allow:
         1   =   playx access
         2   =   ulx addgroup
         3   =   ulx adduser
         4   =   ulx adduserid
         5   =   ulx armor
         6   =   ulx bhop
         7   =   ulx blind
         8   =   ulx buddha
         9   =   ulx cexec
         10   =   ulx cleanup
         11   =   ulx cloak
         12   =   ulx collide
         13   =   ulx csay
         14   =   ulx dcmenu
         15   =   ulx ent
         16   =   ulx exec
         17   =   ulx freeze
         18   =   ulx freezeprops
         19   =   ulx gag
         20   =   ulx gimp
         21   =   ulx give
         22   =   ulx globalrunspeed
         23   =   ulx globalsize
         24   =   ulx globalwalkspeed
         25   =   ulx god
         26   =   ulx groupallow
         27   =   ulx groupdeny
         28   =   ulx hp
         29   =   ulx ignite
         30   =   ulx imitate
         31   =   ulx imitateteam
         32   =   ulx jail
         33   =   ulx jailtp
         34   =   ulx jumppower
         35   =   ulx limammo
         36   =   ulx listjoinsdcs
         37   =   ulx luarun
         38   =   ulx map
         39   =   ulx model
         40   =   ulx mute
         41   =   ulx nocollide
         42   =   ulx nolag
         43   =   ulx playsound
         44   =   ulx ragdoll
         45   =   ulx rcon
         46   =   ulx recentdcs
         47   =   ulx reconnect
         48   =   ulx removegroup
         49   =   ulx removeuser
         50   =   ulx removeuserid
         51   =   ulx renamegroup
         52   =   ulx resetjumppower
         53   =   ulx resetsprintspeed
         54   =   ulx resetwalkspeed
         55   =   ulx restartmap
         56   =   ulx rocket
         57   =   ulx rslots
         58   =   ulx rslotsmode
         59   =   ulx rslotsvisible
         60   =   ulx runspeed
         61   =   ulx scale
         62   =   ulx send
         63   =   ulx setgroupcantarget
         64   =   ulx size
         65   =   ulx slap
         66   =   ulx slay
         67   =   ulx sprintspeed
         68   =   ulx sslay
         69   =   ulx stopsound
         70   =   ulx teleport
         71   =   ulx tsay
         72   =   ulx unblind
         73   =   ulx unbuddha
         74   =   ulx uncloak
         75   =   ulx unfreezeprops
         76   =   ulx ungag
         77   =   ulx ungimp
         78   =   ulx unignite
         79   =   ulx unigniteall
         80   =   ulx unmodel
         81   =   ulx unmute
         82   =   ulx unragdoll
         83   =   ulx userallow
         84   =   ulx userallowid
         85   =   ulx userdeny
         86   =   ulx userdenyid
         87   =   ulx veto
         88   =   ulx vote
         89   =   ulx voteban
         90   =   ulx votegag
         91   =   ulx votekick
         92   =   ulx votemap
         93   =   ulx votemap2
         94   =   ulx votemap2minvotes
         95   =   ulx votemap2successratio
         96   =   ulx votemapenabled
         97   =   ulx votemapmapmode
         98   =   ulx votemapmintime
         99   =   ulx votemapminvotes
         100   =   ulx votemapsuccessratio
         101   =   ulx votemapvetotime
         102   =   ulx votemapwaittime
         103   =   ulx walkspeed
         104   =   ulx warn
         105   =   ulx whip
         106   =   xgui_gmsettings
         107   =   xgui_managebans
         108   =   xgui_managegroups
         109   =   xgui_svsettings
      inherit_from   =   co-owner


ULib.ucl.authed (#=1):
   3516272544:
      name   =   ShaggySDG
      deny:
      allow:
      group   =   owner


Garrysmod default file (#=2):
   superadmin:
   admin:


Active legacy addons on this server:
Anti Prop Kill           by Dellkan, version 1.07 (01/10/13)
advanced_logger          by RocketMania, version 1 ()
darkrpmodification       by FPtje, version 1 (00/00/00)
ulib                     by Team Ulysses, version 2.5099 (00/00/00)
ulx                      by Team Ulysses, version 3.6099 (00/00/00)
ulx-reskin               by Braden1996, version 1 (15/02/14)
utime                    by Megiddo (Team Ulysses), version 1.4199 (01/27/13)