A permission group that defines what players in this group are allowed to do.
|add_player(player) → boolean||Adds the given player to this group.|
|remove_player(player) → boolean||Removes the given player from this group.|
|allows_action(action) → boolean||If this group allows the given action.|
|set_allows_action(action, boolean) → boolean||Sets if the player is allowed to perform the given action.|
|destroy() → boolean||Destroys this group.|
|name :: string [RW]||The name of this group.|
|players :: array of LuaPlayer [R]||The players in this group.|
|group_id :: uint [R]||The group ID|
|valid :: boolean [R]||Is this object valid?|
|help() → string||All methods, and properties that this object supports.|
Adds the given player to this group.
Removes the given player from this group.
If this group allows the given action.
Sets if the player is allowed to perform the given action.
Destroys this group.
The name of this group.
nilor an empty string sets the name to the default value.
The players in this group.
The group ID