Ulysses Stuff > Releases

UnoLimited - Change spawn limits per user group

<< < (3/7) > >>

JamminR:
Uh, guys, no rewrite is necessary.
Unless nexbr really totally redid code to make it work (I didn't look)
Look at the top of the lua file.

--- Code: ----- The numbers are a percentage and will be multiplied to the actual sbox limit.
-- Range is 0 (0 percent) to 2 (200 percent). Setting a group to 0 will limit that group to nothing.
-- Example - Server has "sbox_maxprops 400" limit. .5 percent of that is 200 props.
-- Any group = .5 will have a 200 prop limit. However, 1.5 would give them 600
-- NOTE!!! - Any decimals will be rounded DOWN to nearest whole number.
-- If you allow sbox 1 of something...any multiplier below 1 will set that groups limit to 0. Any not 2 will be 1.
-- All groups not specified get 'standard' limit set in your server.cfg.
-- Any group set to -1 becomes unlimited
-- ==================
-- Edit the following table. Add groups as necessary. Add comma at end of previous line if additional added.

UNL.groups = {
superadmin = -1,
admin = 2,
operator = 1.5
}

--- End code ---

That table is meant to be editable.
You add 'groups' as necessary.
Set multiplier 0 to 2 (nothing out of range)
group = #, that group would get <maxprops> multiplied by #

nexbr:
Yes, i know that, but i'm rewriting all the code.

To Make UnoLimited more Flexible, not everybody knows how edit lua files.

So i'm adding a Panel on XGUI to do that.

xLiaMz:

--- Quote from: nexbr on October 15, 2013, 08:18:25 PM ---Yes, i know that, but i'm rewriting all the code.

To Make UnoLimited more Flexible, not everybody knows how edit lua files.

So i'm adding a Panel on XGUI to do that.

--- End quote ---

Have you updated it?

nexbr:
As you can see on the Top of the Topic Yes.

JamminR:
Great work.
Thanks for bringing this to the modern Ulib and Gmod era.

EDIT - Oh, and though I don't have any strict 'version number' rules, the vague ideas I have about them in my head would have this perfectly fine at version 3.0.
You've made it yours..a new version number seems worthy. :)

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version