This minetest mod allows managing user groups via a number of chat commands. Users can be added to and removed from groups.
Group membership can be queried by other mods using usergroups' API.
If no group is provided, this will list all available groups. If a group name is provided, this will list all members of the group.
Adds a user to a group. If the group does not exist, it will be created first.
Removes a user from a group.
All usergroups
data should be accessed via the global usergroups
table.
Returns an array-like table of users that belong to the given group.
Returns true
if the group exists, false
if it doesn't.
Returns true
if given user is a member of the group and false
if not.