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.
-- 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
}
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 #