filters.players module¶
Provides player filtering functionality.
-
class
filters.players.
PlayerIter
(is_filters=None, not_filters=None)[source]¶ Bases:
filters.iterator._IterObject
Player iterate class.
-
static
iterator
()[source]¶ Iterate over all
players.entity.Player
objects.
-
static
-
filters.players.
parse_filter
(expr, filters=None)[source]¶ Parse an expression and return a set containing
Player
objects.Parameters: Return type: Raises: - SyntaxError – Raised if the expression is invalid.
- KeyError – Raised if an invalid filter was used.
- ValueError – Raised if the conversion from userid to index failed.