CheckPassword(string, string, string, string, string)

server
Called to check if the password the user provides is correct.

Arguments

Returns

  • boolean is the client allowed to join
  • string reason why the client is not allowed to join

Note: Returning is not required

Returning from hooks is not required. Only do so if you mean to override behaviour. The first hook that returns a value will be the final value, skipping all following hooks.

Examples

hook CheckPassword – "Called to check if the password the user provides is correct."