Author Topic: Admin Privelges 'Gmod  (Read 18379 times)

0 Members and 1 Guest are viewing this topic.

Offline Cinnamal

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
Admin Privelges 'Gmod
« on: October 13, 2009, 02:56:25 PM »

Server is currently Listen server on Windows Vista x64 with DarkRP and some addons to it.


Hey, Im working on a Garry's Mod Server and 1 of my friends joined to try the stuff out if it works as a "normal user". And then we came to sweps/weapons.. at first i gave him about 20k so he could buy couple of weapons but. He couldnt pick them up! It told him something like this "You do not have the Admin Privileges" Does it have with my ULX or Dark RP to do? I havent changed anything about any Privileges. Then i tried to spawn him a weapon from the Weapons tab at the Q button. He just ran over it, tried with spamming E about 100million times, No nothing. It must have anything with the flags to do. Because he could pick them up as an admin! Please help me. And if you help me, please note that i dont want normal players to be able to spawn from the Q menu.

And second problem. I dont want users/admins >(only owner) be able to spawn Weapons or Entities from the Q menu. Vehicle isnt needed.(put max vehicles 0)

Thanks in advance

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Admin Privelges 'Gmod
« Reply #1 on: October 13, 2009, 03:16:28 PM »
Team Ulysses doesn't know how to control weapon access in DarkRP.
ULX doesn't control what weapons you have access to.
If any script you use uses IsAdmin to test for access, then the player must be admin or superadmin, or a ULib group inheriting either.

URestrict can limit weapons, but that's not a part of ULX directly.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline [WCA]AIDS

  • Jr. Member
  • **
  • Posts: 58
  • Karma: 7
    • PlanetWCA Forums
Re: Admin Privelges 'Gmod
« Reply #2 on: October 13, 2009, 04:12:48 PM »
Regular users already shouldn't be able to spawn weapons using the q menu.
/buy glock
/buyshipment sniper
etc.

As for how to restrict spawning of sents I know of no ULX function or plugin that will allow that. ASSMod has a plugin that can do that, but ASSMod breaks my darkrp variant so I wouldn't be surprised if it breaks vanilla darkrp as well.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Admin Privelges 'Gmod
« Reply #3 on: October 13, 2009, 04:42:12 PM »
Regular users already shouldn't be able to spawn weapons using the q menu.
<clip>
As for how to restrict spawning of sents <clip> plugin that will allow that.

Vanilla ULX, no.
However, URestrict supposedly has the capability.
Quote from: URetrict release
        -Control how many props, vehicles, sents, ragdolls, and npcs each group can spawn
          -Control what props, vehicles, sents, ragdolls, and npcs each group can spawn
 

I've not run a public server in a while, so don't know the effectiveness.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline jay209015

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 934
  • Karma: 62
    • Dev-Solutions
Re: Admin Privelges 'Gmod
« Reply #4 on: October 13, 2009, 11:08:21 PM »
Quote
I've not run a public server in a while, so don't know the effectiveness.
     - It's flawless if properly configured :P
An error only becomes a mistake when you refuse to correct it. --JFK

"And thus the downfall of the great ULX dynasty was wrought not by another dynasty, but the slow and steady deterioration of the leaders themselves, followed by the deprecation of the great knowledge they possessed." -Gmod, Chapter 28, verse 34 -- Stickly

Offline [WCA]AIDS

  • Jr. Member
  • **
  • Posts: 58
  • Karma: 7
    • PlanetWCA Forums
Re: Admin Privelges 'Gmod
« Reply #5 on: October 14, 2009, 12:48:17 AM »
Vanilla ULX, no.
However, URestrict supposedly has the capability.
I've not run a public server in a while, so don't know the effectiveness.

I was talking about DarkRP, not ULX.
DarkRP itself already restricts weapon spawning to admins.

I should have stated I was talking about DarkRP, lol.