• Print

Author Topic: Moderator can physgun admin and superadmin.  (Read 9125 times)

0 Members and 1 Guest are viewing this topic.

Offline Cupnugget209

  • Newbie
  • *
  • Posts: 8
  • Karma: -2
Moderator can physgun admin and superadmin.
« on: January 10, 2015, 10:10:54 pm »
 Alright so all my groups are working perfectly except for one problem. My moderators can physgun the admin and superadmin groups. They can't use any commands like !jail or !kick, but they can physgun them.

My groups are set up like this:
superadmin, inherits from: admin, can target: *
admin, inherits from: moderator, can target: !%superadmin
moderator, inherits from: platinum, can target: !%admin
platinum, inherits from: gold, can target: !%moderator
gold, inherits from: moderator, can target: !%platinum
silver, inherits from: platinum, can target: !%gold
bronze, inherits from: gold, can target: !%silver
regular, inherits from: user, can target: !%user
user, inherits from: user, can target: !%user

I have tried using the following command in my garrysmod console since i am using a server host:
rcon_password (mypassword)
ulx groupallow moderator physgunplayers "!%admin"

Then it says this :
Group "moderator" already has access to "physgunplayers".

I also have an issue with the tab menu in game. Although the moderators can not use the !jail command on higher up staff, they can still use the tab menu commands or buttons on them. For example: a moderator can use the tab menu jail command on a admin or superadmin. How would i go about fixing this?

Thanks!

Offline Caustic Soda-Senpai

  • Sr. Member
  • ****
  • Posts: 469
  • Karma: 54
  • <Insert something clever here>
    • Steam Page
Re: Moderator can physgun admin and superadmin.
« Reply #1 on: January 10, 2015, 11:19:31 pm »
1st problem shouldn't be happening. You have your hierarchy set up correct so idk why.

2nd problem, disable FAdmin.
Once you get to know me, you'll find you'll have never met me at all.

Offline Cupnugget209

  • Newbie
  • *
  • Posts: 8
  • Karma: -2
Re: Moderator can physgun admin and superadmin.
« Reply #2 on: January 11, 2015, 10:18:52 am »
Alright well i was using an old version of ULX and ULIB then updated them. Could that be the reason moderator can still physgun admins and superadmins? Should i try to delete the moderator group, then remake it?

And for the TAB menu commands, how would i remove FAdmin, and if i did would it remove anything that i would want to keep? because i want to keep the TAB menu buttons, its just the moderators can use them on higher staff members.

Offline Caustic Soda-Senpai

  • Sr. Member
  • ****
  • Posts: 469
  • Karma: 54
  • <Insert something clever here>
    • Steam Page
Re: Moderator can physgun admin and superadmin.
« Reply #3 on: January 11, 2015, 10:54:38 am »
The "TAB menu buttons" is the FAdmin. FAdmin and ULX are like angry neighbours, they hate each other.

To disable:

Assuming you have the modification folder in your addons for DarkRP, to disable FAdmin, go to
darkrpmodification/lua/darkrp_config/disabled_defaults.lua
and change Line 35 to true

This is a blank darkrp changed to your requirement:

Code: Lua
  1. DarkRP.disabledDefaults["modules"] = {
  2.         ["afk"]              = false,
  3.         ["chatsounds"]       = false,
  4.         ["events"]           = false,
  5.         ["fpp"]              = false,
  6.         ["f1menu"]           = false,
  7.         ["f4menu"]           = false,
  8.         ["hitmenu"]          = false,
  9.         ["hud"]              = false,
  10.         ["hungermod"]        = true,
  11.         ["playerscale"]      = false,
  12.         ["sleep"]            = false,
  13.         ["fadmin"]           = true, -- Line 35
  14. }
Once you get to know me, you'll find you'll have never met me at all.

Offline Luccas Lubberss

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
Re: Moderator can physgun admin and superadmin.
« Reply #4 on: January 13, 2015, 07:12:36 am »
The "TAB menu buttons" is the FAdmin. FAdmin and ULX are like angry neighbours, they hate each other.




i love your description of it XD  its so true

  • Print