BeamMP / BeamMP-Server

Server for the multiplayer mod BeamMP for BeamNG.drive
https://beammp.com
GNU Affero General Public License v3.0
116 stars 49 forks source link

Add "no guests" config setting #247

Closed 1eob closed 3 weeks ago

1eob commented 6 months ago

It would be nice to see a setting within the server configuration which disallows guest users from joining.

The setting name would be like authentication_required = true | false

Ideally, this setting would also be communicated through heartbeat, so that end users would know that they would be able to join the server or not through the server list.

Acceptance Criteria

lionkor commented 6 months ago

Related to https://github.com/BeamMP/BeamMP/issues/469 and https://github.com/BeamMP/Backend/issues/33

lionkor commented 5 months ago

@jimkoen please be aware that the implementation of denying guests, which happens in TNetwork::Authentication, will have to be reworked for 4.0.0 -- Of course I'm happy if this feature makes in in first, and most of the code is adding the config settings. We'll need to make a new issue once this is done to track also implementing that on the new protoocol