How to add a password to your Rust server
Ever wondered how you can protect your server with a password? Here's how it's done!
Links Which May Also Interest You
Installation process
First, you need to install the plugin, you can download the files right here. Next up, take Authentication.cs and put it in the 'plugins' folder so that it can be loaded on to the server.
Next up, we want to go to the f1 console or the webRcon utility. In there we type 'auth password [new password]' Note: Make sure not to include the example brackets in your commands!
Configuration
So now that the plugin has been successfully set up and installed, it's time to do some configuration. The file can be found under oxide/config and is called Authentication.json. Open that file.
Inside of Authentication.json, you should see this:
{
"ENABLED": true,
"PASSWORD": "changeme",
"PREVENT_CHAT": true,
"PREVENT_CHAT_PASSWORD": true,
"RETRIES": 0,
"TIMEOUT": 30
}
In here you change the settings of your server.
|
Enable/disable this plugin. Takes value true, or false |
|
The configured password, this value needs to be surrounded in quotations and can be set to anything |
|
Prevents users in the server from telling newly joined users the password by replacing it with *'s. Takes value true, or false |
|
The number of times a player can guess the password before being kicked from the game |
|
The amount of time a user has to enter the correct password before getting kicked |
Now after this is done, restart the server, and you're done with installation and configuration.