teamspeak 2.0.5

  • README.md
  • Installing
  • Versions
  • 0

Dart TeamSpeak Library

This is a small library which allows Dart-Applications to connect to TeamSpeak3- servers using the ServerQuery protocol as documented here. Using the ServerQuery-protocol, clients can do everything a normal user can do (including listing, moving and kicking normal clients) except from sending or receiving any voice data.

The library is something like a port of node-teamspeak, available at npm.

Example Usage

A script which lists all clients currently connected to the server is provided as a testcase.

Additional usage information

The client is documented using dartdoc. If you want to subscribe to notifications like "client joins server", you may want to take a look at the Client-class.

ToDo

  • Provide more methods available through the ServerQuery-protocol.

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  teamspeak: ^2.0.5

2. Install it

You can install packages from the command line:

with pub:


$ pub get

Alternatively, your editor might support pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:teamspeak/teamspeak.dart';
  
Version Uploaded Documentation Archive
2.0.5 Sep 7, 2013 Go to the documentation of teamspeak 2.0.5 Download teamspeak 2.0.5 archive
2.0.4 Sep 5, 2013 Go to the documentation of teamspeak 2.0.4 Download teamspeak 2.0.4 archive
2.0.2 Sep 2, 2013 Go to the documentation of teamspeak 2.0.2 Download teamspeak 2.0.2 archive
2.0.1 Jul 15, 2013 Go to the documentation of teamspeak 2.0.1 Download teamspeak 2.0.1 archive
2.0.0 Jul 14, 2013 Go to the documentation of teamspeak 2.0.0 Download teamspeak 2.0.0 archive
1.0.1 Jun 25, 2013 Go to the documentation of teamspeak 1.0.1 Download teamspeak 1.0.1 archive
1.0.0 Jun 25, 2013 Go to the documentation of teamspeak 1.0.0 Download teamspeak 1.0.0 archive
Popularity:
Describes how popular the package is relative to other packages. [more]
0
Health:
Code health derived from static analysis. [more]
0
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
0
Overall:
Weighted score of the above. [more]
0
Learn more about scoring.

The package version is not analyzed, because it does not support Dart 2. Until this is resolved, the package will receive a health and maintenance score of 0.

Analysis issues and suggestions

Fix dependencies in pubspec.yaml.

Running pub upgrade failed with the following output:

ERR: The current Dart SDK version is 2.0.0.
 
 Because teamspeak depends on meta >=0.2.8+2 <1.1.6 which requires SDK version <2.0.0-dev.infinity, version solving failed.

Health suggestions

Format lib/client.dart.

Run dartfmt to format lib/client.dart.

Format lib/mapping/channel.dart.

Run dartfmt to format lib/mapping/channel.dart.

Format lib/mapping/events.dart.

Run dartfmt to format lib/mapping/events.dart.

Fix additional 3 files with analysis or formatting issues.

Additional issues in the following files:

  • lib/mapping/server.dart (Run dartfmt to format lib/mapping/server.dart.)
  • lib/mapping/user.dart (Run dartfmt to format lib/mapping/user.dart.)
  • lib/packet.dart (Run dartfmt to format lib/packet.dart.)

Maintenance issues and suggestions

Fix platform conflicts. (-20 points)

Error(s) prevent platform classification:

Fix dependencies in pubspec.yaml.

Package is too old. (-100 points)

The package was released more than two years ago.

Maintain CHANGELOG.md. (-20 points)

Changelog entries help clients to follow the progress in your code.

Homepage does not exists. (-20 points)

We were unable to access https://github.com/gwTumm/dart-teamspeak at the time of the analysis.

Documentation URL does not exists. (-10 points)

We were unable to access http://gwtumm.github.io/dart-teamspeak/TeamSpeak.html at the time of the analysis.

Add SDK constraint in pubspec.yaml. (-5 points)

For information about setting SDK constraint, please see https://www.dartlang.org/tools/pub/pubspec#sdk-constraints.

The description is too short. (-20 points)

Add more detail about the package, what it does and what is its target use case. Try to write at least 60 characters.

Maintain an example.

None of the files in your example/ directory matches a known example patterns. Common file name patterns include: main.dart, example.dart or you could also use teamspeak.dart.