northwood-studios / NwPluginAPI

Official server-side plugin system for SCP: Secret Laboratory game.
GNU Lesser General Public License v3.0
78 stars 45 forks source link

PlayerPreauth return value not working as expected. #191

Open joker-119 opened 1 year ago

joker-119 commented 1 year ago

return PreauthCancellationData.RejectBanned(string, DateTime, bool) does not reject the player's authentication.

EXILED used the PluginAPI preauth event instead of a patch, and returning the above value is not rejecting the player's authentication. There is no EXILED patch for the method that the preauth event is called in.

ced777ric commented 1 year ago

Does this issue still occur? As i am unable to reproduce this locally.