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 | Whether this group allows the given action. |
set_allows_action(action, allow_action) → boolean | Sets whether this group allows the performance the given action. |
destroy() → boolean | Destroys this group. |
name :: string [RW] | The name of this group. |
players :: array[LuaPlayer] [R] | The players in this group. |
group_id :: uint [R] | The group ID |
valid :: boolean [R] | Is this object valid? |
object_name :: string [R] | The class name of this object. |
help() → string | All methods and properties that this object supports. |
Adds the given player to this group.
Removes the given player from this group.
Whether this group allows the given action.
Sets whether this group allows the performance the given action.
Destroys this group.
The name of this group.
nil
or an empty string sets the name to the default value.The players in this group.
The group ID