Shared definitions

This file defines some common needed values.

Summary
Shared definitionsThis file defines some common needed values.
Variables
UPS_ADMINWhat group to give access to everything by default.
delWhitelistWhite list for objects that can’t be deleted.
moveWhitelistWhite list for objects that can’t be moved.
ignoreListList of ents to just completely remove from all UPS considerations.
accessIdsOur access ids, used for our limit UCL checks.
ID_MCLIENTUsed to identify client menu objects in the spawn menu.
ID_MADMINUsed to identify admin menu objects in the spawn menu.
OWNERID_DEFERThis value is returned from functions when we don’t know the value requested yet

Variables

UPS_ADMIN

UPS_ADMIN

What group to give access to everything by default.

delWhitelist

delWhitelist

White list for objects that can’t be deleted.

Are you a STOOL author who’s angry that your tool isn’t on this list?  Just add this to your code:

if UPS then table.insert( UPS.delWhiteList, "my_stool" ) end

moveWhitelist

moveWhitelist

White list for objects that can’t be moved.

Are you a STOOL author who’s angry that your tool isn’t on this list?  Just add this to your code:

if UPS then table.insert( UPS.moveWhiteList, "my_stool" ) end

ignoreList

ignoreList

List of ents to just completely remove from all UPS considerations.

accessIds

accessIds

Our access ids, used for our limit UCL checks.

ID_MCLIENT

ID_MCLIENT

Used to identify client menu objects in the spawn menu.

ID_MADMIN

ID_MADMIN

Used to identify admin menu objects in the spawn menu.

OWNERID_DEFER

OWNERID_DEFER

This value is returned from functions when we don’t know the value requested yet

UPS_ADMIN
What group to give access to everything by default.
delWhitelist
White list for objects that can’t be deleted.
moveWhitelist
White list for objects that can’t be moved.
ignoreList
List of ents to just completely remove from all UPS considerations.
accessIds
Our access ids, used for our limit UCL checks.
ID_MCLIENT
Used to identify client menu objects in the spawn menu.
ID_MADMIN
Used to identify admin menu objects in the spawn menu.
OWNERID_DEFER
This value is returned from functions when we don’t know the value requested yet
Close