ULX

Author Topic: Group Limits  (Read 3076 times)

0 Members and 1 Guest are viewing this topic.

Offline someone920

  • Newbie
  • *
  • Posts: 47
  • Karma: 3
Group Limits
« on: April 04, 2010, 03:50:24 PM »
I was wondering if anyone made or has an idea on how to make a lua that limits each group's props. Like If you start out at user, you have a 100 prop limit, then you get promoted and you get a 200 prop limit and so on.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Group Limits
« Reply #1 on: April 04, 2010, 04:00:41 PM »
See UNoLimited in releases.
Requires ULib SVN for group control varied access.
Otherwise, the non-svn version just gives admin or superadmin full 'go past limits' of any sbox item.

It doesn't work with DarkRP. (The author needs to write in their own for it)
I don't think it works with Falco's anti-spam and prop protect either.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline someone920

  • Newbie
  • *
  • Posts: 47
  • Karma: 3
Re: Group Limits
« Reply #2 on: April 04, 2010, 06:53:06 PM »
Thanks, but i thought UNOLimit was only for the admin and superadmin groups.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Group Limits
« Reply #3 on: April 04, 2010, 07:24:08 PM »
Thanks, but i thought UNOLimit was only for the admin and superadmin groups.
Uh, yeah. Depends on whether or not you're running SVN, if not, yes, only for admin/superadmin.
Requires ULib SVN for group control varied access.
Otherwise, the non-svn version just gives admin or superadmin full 'go past limits' of any sbox item.

If you know lua, you could use some of the same code for non-svn, but figure out a way to determine each group level using the old ULib is a bit more trouble than I considered it worth.
Yes, it can be done, it just wasn't worth it for me.
« Last Edit: April 04, 2010, 07:26:02 PM by JamminR »
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming