source_server 4.0.0 copy "source_server: ^4.0.0" to clipboard
source_server: ^4.0.0 copied to clipboard

A dart implementation of Source's Query Protocol and RCON. Supports most of the Source Games + Minecraft.

6
likes
110/ 140
pub points
21%
popularity

We analyzed this package 4 days ago, and awarded it 110 pub points (of a possible 140):

OK
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: BSD-3-Clause.

failed
Provide documentation
10 / 20trigger folding of the section

0/10 points: 20% or more of the public API has dartdoc comments

OUT: Documenting source_server... Discovering libraries... Linking elements... Precaching local docs for 157522 elements... Initialized dartdoc with 202 libraries Generating docs for library minecraft_server.dart from package:source_server/minecraft_server.dart... Generating docs for library source_server.dart from package:source_server/source_server.dart... Documented 2 public libraries in 28.5 seconds ERR: warning: ambiguous reexport of rcon_socket.RconSocket, canonicalization candidates: (source_server, source_server) -> source_server (confidence 0.000) from rcon_socket.RconSocket: (file:///tmp/pana_OQZOKO/lib/src/rcon/rcon_socket.dart:13:16) source_server: 1.177 - (_Reason.packageName (+1.000), _Reason.longName (+0.01000), _Reason.sharedNamePart (+0.1667)) source_server: 1.177 - (_Reason.packageName (+1.000), _Reason.longName (+0.01000), _Reason.sharedNamePart (+0.1667)) Use {@canonicalFor rcon_socket.RconSocket} in the desired library's documentation to resolve the ambiguity and/or override dartdoc's decision, or structure your package so the reexport is less ambiguous. The symbol will still be referenced in all candidates -- this only controls the location where it will be written and which library will be displayed in navigation for the relevant pages. The flag [78 more lines]

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android
  • ✓ iOS
  • ✓ Windows
  • ✓ Linux
  • ✓ macOS

These platforms are not supported:

Package not compatible with platform Web

Because:

  • package:source_server/source_server.dart that imports:
  • package:source_server/src/source_server.dart that imports:
  • dart:io
failed
Pass static analysis
30 / 50trigger folding of the section

30/50 points: code has no errors, warnings, lints, or formatting issues

Found 31 issues. Showing the first 2:

WARNING: The parameter type of '==' operators should be non-nullable.

lib/src/query/minecraft/models/server_info.freezed.dart:227:17

    ╷
227 │   bool operator ==(dynamic other) {
    │                 ^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/query/minecraft/models/server_info.freezed.dart

WARNING: The diagnostic 'invalid_annotation_target' doesn't need to be ignored here because it's already being ignored.

lib/src/query/minecraft/models/server_ping_info.freezed.dart:30:12

   ╷
30 │ // ignore: invalid_annotation_target
   │            ^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/query/minecraft/models/server_ping_info.freezed.dart

OK
Support up-to-date dependencies
20 / 20trigger folding of the section

10/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
collection ^1.16.0 1.18.0 1.18.0
concurrent_queue ^1.4.0 1.4.0 1.4.0
freezed_annotation ^2.0.3 2.4.1 2.4.1
json_annotation ^4.5.0 4.9.0 4.9.0
logging ^1.0.2 1.2.0 1.2.0
Transitive dependencies
Package Constraint Compatible Latest
meta - 1.15.0 1.15.0
rxdart - 0.27.7 0.27.7

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

10/10 points: Package supports latest stable Dart and Flutter SDKs

Analyzed with Pana 0.22.3, Dart 3.3.4.

Check the analysis log for details.

6
likes
110
pub points
21%
popularity

Publisher

verified publisherhexah.net

A dart implementation of Source's Query Protocol and RCON. Supports most of the Source Games + Minecraft.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

collection, concurrent_queue, freezed_annotation, json_annotation, logging

More

Packages that depend on source_server