definitions¶
This module contains the definitions described in the TeamSpeak 3 Server Manual, so that the variables can be used instead of the constans to improve the readability of the code.
-
class
ts3.definitions.HostMessageMode[source]¶ Bases:
object-
LOG= 1¶ display message in chatlog
-
MODAL= 2¶ display message in modal dialog
-
MODALQUIT= 3¶ display message in modal dialog and close connection
-
-
class
ts3.definitions.HostBannerMode[source]¶ Bases:
object-
NOADJUST= 0¶ do not adjust
-
IGNOREASPECT= 1¶ adjust but ignore aspect ratio (like TeamSpeak 2)
-
KEEPASPECT= 2¶ adjust and keep aspect ratio
-
-
class
ts3.definitions.Codec[source]¶ Bases:
object-
SPEEX_NARROWBAND= 0¶ speex narrowband (mono, 16bit, 8kHz)
-
SPEEX_WIDEBAND= 1¶ speex wideband (mono, 16bit, 16kHz)
-
SPEEX_ULTRAWIDEBAND= 2¶ speex ultra-wideband (mono, 16bit, 32kHz)
-
CELT_MONO= 3¶ celt mono (mono, 16bit, 48kHz)
-
-
class
ts3.definitions.CodecEncryptionMode[source]¶ Bases:
object-
INDIVIDUAL= 0¶ configure per channel
-
DISABLED= 1¶ globally disabled
-
ENABLED= 2¶ globally enabled
-
-
class
ts3.definitions.TextMessageTargetMode[source]¶ Bases:
object-
CLIENT= 1¶ target is a client
-
CHANNEL= 2¶ target is a channel
-
SERVER= 3¶ target is a virtual server
-
-
class
ts3.definitions.LogLevel[source]¶ Bases:
object-
ERROR= 1¶ everything that is really bad
-
WARNING= 2¶ everything that might be bad
-
DEBUG= 3¶ output that might help find a problem
-
INFO= 4¶ informational output
-
-
class
ts3.definitions.ReasonIdentifier[source]¶ Bases:
object-
KICK_CHANNEL= 4¶ kick client from channel
-
KICK_SERVER= 5¶ kick client from server
-
-
class
ts3.definitions.PermissionGroupDatabaseTypes[source]¶ Bases:
object-
Template= 0¶ template group (used for new virtual server)
-
Regular= 1¶ regular group (used for regular clients)
-
Query= 2¶ global query group (used for ServerQuery clients)
-