Ulysses

General => Developers Corner => Topic started by: someone920 on April 04, 2010, 03:50:24 PM

Title: Group Limits
Post by: someone920 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.
Title: Re: Group Limits
Post by: JamminR 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.
Title: Re: Group Limits
Post by: someone920 on April 04, 2010, 06:53:06 PM
Thanks, but i thought UNOLimit was only for the admin and superadmin groups.
Title: Re: Group Limits
Post by: JamminR 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.