Skip to content
Back to Homepage

How to Set a Holdfast Server Password

Setting a server password restricts access to only players who know the password. This is essential for line battles, regiment practices, competitive events, or any private session.

  1. Open the Blacksmith’s Portal
  2. Select your Holdfast server
  3. Go to Startup
  4. Set SERVER PASSWORD to your desired value. Leave blank if you want the server public.

Set SERVER PASSWORD to your desired value. Leave blank if you want the server public.

  1. Restart your server

Players will be prompted for the password when joining from the server browser or via direct connect.

  1. Open your Holdfast config file
  2. Uncomment and set the password line:
server_password mypassword
  1. Restart your server
  • Server browser: Your server appears with a lock icon. Players see the name, player count, map, and game mode, but can’t join without the password.
  • Direct connect: Players are prompted for the password when connecting by IP.
  • Sharing: Distribute passwords through Discord or private messages. Don’t put the password in your server name.
  1. Go to Startup
  2. Clear the SERVER PASSWORD field
  3. Restart your server
  1. Comment out or remove the server_password line in your config file
  2. Restart your server
Scenario Recommendation
Line battles Password and share with participating regiments
Regiment training Password during drills, remove afterward
Competitive matches Share password for match duration only
Public play No password
Server maintenance Temporary password while making changes

Note: The server password controls who can join. Admin access is managed separately in your config file. See Holdfast Server Admins.