-
Notifications
You must be signed in to change notification settings - Fork 7
Limits
The usergroup list on the left shows all the usergroups on the server, you can select one or several usergroups. If several usergroups are selected then new limits will be added to all the selected usergroups.
The items list on the right shows all the items that can be limited, you can select one or several items. This is a very big list, so the textbox above it can be used to search through the items in the list. You can right click this list to deselect everything.
The limit slider is where the limit is specified, this is simply what you want the limit to be, if the slider is dragged all the way to the right the limit will be infinite (no limit).
The adv. limit textbox underneath the limit slider is used to create advanced limit, it allows you to group many limits together, so that they share the same limit. The advanced limit can be any non-numeric string, if the given string does not have a limit then the limit will not apply. To create an arbitrary limit to group other limits with you can enter any non-numeric string into the search box over the items list, if no items are selected then the string will act as an item.
If you want to limit how many ammo entities a player can spawn to 1, then you can type ammo_entities into the searh bar, make sure that no items are selected, and set the limit slider to 1 then add the limit. Then you can select all of the ammo entities and type ammo_entities into the adv. limit textbox, and add those. This will make all the ammo entities share the same limit, so that only 1 ammo entity can exist at the same time.
The exclusive limit checkbox specifies whether or not you want new limits to be exclusive, this is designed to be used with a advanced limit. It makes it so that if any limits have the a exclusive limit as their limit it won't count towards the exclusive items limit. So if the limit that is used to group other limits is exclusive then they will share the same limit, but they wont count towards the same limit. You can think of an exclusive limit as a variable, if you have many items that you want to have the same limit, but should not count towards the same limit you can simply check this checkbox.
Extending on the example above; if the ammo_entities limit was exclusive then 1 of every ammo entity could exist at the same time. If you want to be able to spawn a different amount of every ammo entity then you can simply change the exclusive limit to something else.
The big middle list in the middle shows all existing limits of the selected usergroup(s), you can right click on an row to view more detailed info about the limit. The leftmost column shows what usergroup the limit belongs to, the middle-left column shows what item that is limited, the middle-right column shows the limit of the item, and the rightmost column shows what scope the limit has.
The add button on the bottom right limits all the selected items from the selected usergroups. The delete button deletes all the limits that are selected in the big middle list. The edit button edits the selected limit, basically deleting it and re-adding it with specified options. Only one item can be edited at a time. The cog button all the way to the bottom right hides or shows the things underneath the big middle list.
The scope list lets you select which scope you want the limits you add to have.