User management

Note: You can access this help text in-game with console command ulx usermanagementhelp.

General User Management Concepts

User access is driven by ULib’s Ulysses Control List (UCL). This list contains users and groups which in turn contains lists of allowed and denied accesses. The allow and deny lists contain access strings like “ulx slap” or “ulx phygunplayer” to show what a user and/or group does and does not have access to. If a user has “ulx slap” in their user allow list or in the allow list of one of the groups they belong to, they have access to slap. If a user has “ulx slap” in their user deny list they are DENIED the command, even if they have the command in one of their group’s allow lists. In this way, deny takes precedence over allow.

ULib supports immunity by being able to specify what various users and groups are allowed to target. This is often used to make it so lower admins cannot target higher admins. EG, by default admins can’t target superadmins, but superadmins can still target admins.

More Advanced Concepts

Groups have inheritance. You can specify what group they inherit from in the addgroup command. If a user is in a group that has inheritance, UCL will check all groups connected in the inheritance chain. Note that groups do not support deny lists for the sake of simplicity. If you feel that a group needs to be denied something, you should split your groups up instead.

The “user” group applies to everyone who does not otherwise belong in a group. You can use groupallow on this group just like any other, just remember that everyone is being allowed access.

ULib supports an advanced, highly configurable permission system by using “access tags”. Access tags specify what a user is allowed to pass as arguments to a command. For example, you can make it so that admins are only allowed to slay users with “killme” somewhere in their name, or you can give everyone access to the “ulx teleport” command, but only allow them to teleport themselves.

Examples of using access tags are given below in the userallow and groupallow commands. The format for access tags is as follows. Each argument that is passed to the command can be limited by the access tag. Each argument being limited must be listed in the same order as in the command, separated by spaces. If you don’t want to limit an argument, use a star ("*"). EG, to limit “ulx slap” damage to 0 through 10, but still allow it to be used on anyone, use the tag “* 0:10”.

User Management Commands

Getting started Configuration

Want to improve the documentation on this page? Report an error or suggest changes.