alt.setPassword

Used to set a password on the server that will prevent players from joining who do not know the password.

Declaration

alt.setPassword(password: string): void

Usage

alt.setPassword('VerySecure123');

Real World Example

alt.setPassword('VerySecure123');

These examples assume you have imported alt from alt-server.

results matching ""

    No results matching ""