Skip to content

[Bug] & [Feature Request] Fix and revisit the Information packet #480

@OfficialLambdax

Description

@OfficialLambdax

Is your feature request related to a problem? Please describe.
I would like to use the information packet to retrieve more detailed information about the modlist that the server contains. In specific i would like it to have the same format as it has when it syncs it to the client. So that it includes the mod name and hash. With that information i can see if i or any user using this has any of the mods listed on the server pre joining it.

Describe alternatives you've considered
The only other way to archive this is to prejoin the server and quit after receiving the modlist which would blib that user into the playerlist unnecessarily.

Additionally
The information packet has stringified every value and cannot transmit unicode as its send unencoded. It be great if that be changed.

{
  "clientversion": "2.7.0",
  "desc": "BeamMP Default Description",
  "guests": "true",                                     # as bool
  "map": "/levels/smallgrid/info.json",
  "maxplayers": "8",                                    # as number
  "modlist": "/FovCam;/ReplayBasics;/NuerburgringNordschleifeWIPRainy;",
  "modstotal": "3",                                     # as number
  "modstotalsize": "579322651",                         # as number
  "name": "BeamMP Server",
  "players": "0",                                       # as number
  "playerslist": "",
  "port": "30814",                                      # as number
  "private": "true",                                    # as bool
  "tags": "Freeroam",
  "version": "3.9.1"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions