ULX

Poll

Do You Like The New GUI Better?

Yes, Much Better!
71 (59.7%)
Yeah
22 (18.5%)
I Don't Care, I Use The Console
14 (11.8%)
No
4 (3.4%)
I Prefer The Old GUI
8 (6.7%)

Total Members Voted: 116

Author Topic: URestrict [Depreciated-author no longer supports]  (Read 483955 times)

0 Members and 2 Guests are viewing this topic.

Offline jay209015

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 934
  • Karma: 62
    • Dev-Solutions
Re: URestrict
« Reply #180 on: July 21, 2009, 01:07:56 AM »
Thank you, strange how things work out like that. I blame garry :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 jay209015

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 934
  • Karma: 62
    • Dev-Solutions
Re: URestrict
« Reply #181 on: July 26, 2009, 06:00:40 PM »
Woo! No more reported errors, time to work on the next part I guess. Making loadouts editable in game. :D
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 Euphytose

  • Jr. Member
  • **
  • Posts: 64
  • Karma: 5
  • I love Lemonade!
Re: URestrict
« Reply #182 on: July 27, 2009, 10:12:43 AM »
Is this plugin working well now ?

I heard before there were crashs, high pings etc... And a friend tried it one time, his server kept crashing.

So, any problems left ?

I'm really interested in because people want the stacker, but minges can come on the server and spam huge props with it, I would like to restrict it to high ranked members only, like ones you need to stay more than 20 hours on the server.

Offline jay209015

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 934
  • Karma: 62
    • Dev-Solutions
Re: URestrict
« Reply #183 on: July 27, 2009, 10:19:57 AM »
That's was fixed a long time ago.
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 kennis942

  • Newbie
  • *
  • Posts: 22
  • Karma: 0
Re: URestrict
« Reply #184 on: July 28, 2009, 02:14:46 PM »
we, have superadmins and admins, and we do not want any of the groups to be able to use urestrict(Contoll panel) only two persons, how can we do this ?
we have tryed  putting the commands in the deny list but it dosent work..

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: URestrict
« Reply #185 on: July 28, 2009, 03:03:16 PM »
we, have superadmins and admins, and we do not want any of the groups to be able to use urestrict(Contoll panel) only two persons, how can we do this ?
we have tryed  putting the commands in the deny list but it dosent work..

Give them some other custom group.
ULib is NOT the only mod that often relies on admin and/or superadmin as an extremely special group.
Of all  the standard functions to test if a player is a special group, admin and superadmin are the only two of three that actually have specific functions just for that access test.
Any server host worth thier weight shouldn't give full admin access to more than 5 or 6 people, and superadmin to more than 3 or 4. Even that may be too many.
If you can't trust them with Urestrict access...what _can_ you trust them with?
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline kennis942

  • Newbie
  • *
  • Posts: 22
  • Karma: 0
Re: URestrict
« Reply #186 on: July 29, 2009, 02:11:55 AM »
we trust them, we have 1 Serverowner 1 Clan owner 3 superadmins and 1 admin, but the problem is that we just dont want them to tutch the urestrict. is there a way that we can edit the code to make it depend on the userallow & userdeny fucntions of Ulib/ULX only ?
or somthing that can only restrict the Administartion of uresrict to only 2 persons ?


Btw, what do you mean by
Quote
Give them some other custom group.
i dont get what you mean by this..

Offline Euphytose

  • Jr. Member
  • **
  • Posts: 64
  • Karma: 5
  • I love Lemonade!
Re: URestrict
« Reply #187 on: July 29, 2009, 02:32:41 AM »
we trust them, we have 1 Serverowner 1 Clan owner 3 superadmins and 1 admin, but the problem is that we just dont want them to tutch the urestrict. is there a way that we can edit the code to make it depend on the userallow & userdeny fucntions of Ulib/ULX only ?
or somthing that can only restrict the Administartion of uresrict to only 2 persons ?


Btw, what do you mean by i dont get what you mean by this..

Create a new group called admin2 and restrict URestrict to this one.

Offline kennis942

  • Newbie
  • *
  • Posts: 22
  • Karma: 0
Re: URestrict
« Reply #188 on: July 29, 2009, 03:18:17 AM »
how can we do that ? i mean ... where do you change the allowed thing ?

Offline Euphytose

  • Jr. Member
  • **
  • Posts: 64
  • Karma: 5
  • I love Lemonade!
Re: URestrict
« Reply #189 on: July 29, 2009, 04:01:55 AM »
how can we do that ? i mean ... where do you change the allowed thing ?

In " groups.txt ", located in " data/Ulib ".

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: URestrict
« Reply #190 on: July 29, 2009, 04:43:34 PM »
In " groups.txt ", located in " data/Ulib ".
Or, recommended, by reading "ulx usermanagementhelp"
Many commands listed there on how to add groups, add allows or denies for those groups, etc.
I'm not sure of the URestrict access command. Jay could chime in on that one.
"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: URestrict
« Reply #191 on: July 29, 2009, 05:34:56 PM »
that would be "URestrict" :P lol
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 JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: URestrict
« Reply #192 on: July 29, 2009, 06:03:47 PM »
Jay, does URestrict always add "URestrict" to admin and superadmin groups?
That is, if I used -
Code: [Select]
ulx groupallow admin "URestrict" 1 - to attempt to revoke URestrict from ULib admin group, would it by default attempt to add it back later? Or does it statically use Player:IsAdmin() in it?

"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: URestrict
« Reply #193 on: July 30, 2009, 10:07:40 PM »
uses IsAdmin()
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 kennis942

  • Newbie
  • *
  • Posts: 22
  • Karma: 0
Re: URestrict
« Reply #194 on: July 31, 2009, 06:10:26 AM »
well then, how can it be edited so that it relies on ulib access ? so that imust use allowuser on each person iwant allowed to administrate Urestrict, i suggest that you can do this in the next release, so that it is much easyer for server owners... :D but i would also like to know how now :D