BeamMP-Server icon indicating copy to clipboard operation
BeamMP-Server copied to clipboard

Add "no guests" config setting

Open 1eob opened this issue 1 year ago • 2 comments

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

  • [ ] Add "no guests" config setting
  • [ ] Add equivalent ENV setting
  • [ ] Send via heartbeat

1eob avatar Dec 30 '23 20:12 1eob

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

lionkor avatar Dec 31 '23 00:12 lionkor

@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

lionkor avatar Jan 29 '24 12:01 lionkor