Skip to content
Minecraft Minecraft: Bedrock Edition Rust Counter-Strike 2 Palworld Valheim Satisfactory Enshrouded
Configure server Sign in
DE EN

Run a Terraria Server with a Password and Clear Access Rules

On a Vanilla Dedicated Server, you control basic access with a shared server password, a maximum player count, and a ban list. These settings are not individual accounts and do not assign admin roles.


On a Vanilla Dedicated Server, you control basic access with a shared server password, a maximum player count, and a ban list. These settings are not individual accounts and do not assign admin roles. If you need groups, permissions, or a whitelist, TShock is separate server software with its own accounts and permissions.

Three settings with different purposes

  • password requires a shared password to join. All admitted players use the same value. It is neither a personal login nor an admin password.
  • maxplayers limits how many people can be on the server at the same time. The Vanilla documentation lists a range of 1 to 255. The value does not promise any particular performance and should match your actual server capacity.
  • banlist refers to the file containing banned players. The Terraria Wiki lists banlist.txt in the working directory as the default path. A ban list blocks entries; it is not a list that lets in only explicitly approved people.

The community-maintained Official Terraria Wiki is the wiki address named by Re-Logic. Its server page describes these Vanilla settings, the console, and the ban list; Re-Logic announced wiki.gg as the new location and asked the community to contribute (announcement). The command-line parameters show the same options as startup parameters too.

Set the options

First check which configuration the server actually loads. For a direct Vanilla server, serverconfig.txt can be included with the startup parameter -config. A panel may use its own setting or a generated file. A correctly edited file has no effect if the startup method does not read it.

Stop the server cleanly and back up the current configuration and the ban list file in use. Then change only the values you need. Example:

maxplayers=8
password=BeispielPasswortErsetzen
banlist=banlist.txt

These values are examples. Replace the password with a long, unique value and do not also use it for your customer account or management panel. Because it is shared, you must change it if it is no longer confidential. Share it only with the players you want and do not show it in public screenshots, chat messages, or diagnostic output.

Choose maxplayers carefully. A larger number does not make the server faster or automatically provide enough performance for that number of players. Restart the server afterward so it reads the edited configuration. The gameserver restart checklist describes the general process for saving, stopping cleanly, and then starting again.

Use the ban list correctly

The Vanilla server console recognizes ban <Spielername> to ban a person. This is a server console command, not a general chat command with a slash. According to the Terraria Wiki, an entry in the ban list is removed by editing banlist.txt; either a player name or IP address may be listed. Back up the file before editing and remove only the entries for the person you want to unban. Leave the other lines unchanged.

Check the banlist= entry and the actual working directory if a ban does not take effect after a restart. A file with the same name in another location may be the wrong one. Do not share a ban list among multiple servers without checking if you expect different access rules.

Test access without revealing the password

Start the server with the new configuration and connect with a test client. Check whether a password prompt appears when joining, whether an incorrect value is rejected, and whether the correct value allows access. Check the player limit with a suitable test setup. Test a ban only with a designated test account.

The Vanilla console also has a password command that displays the current password. Do not use it in public screenshots or shared logs. If the prompt does not appear, a different configuration file may be active or the password field may be empty. If a ban does not work, check the loaded banlist path and restart after the change. Do not try to fix access problems by removing the password.

What Vanilla does not offer for roles

The documented Vanilla settings and console commands do not include a general op role with graded player permissions. maxplayers, the server password, and the ban list do not control access to admin commands. Do not apply instructions from other games to Terraria without checking them.

TShock is separate third-party server software. Its permissions documentation describes groups, permissions, and a whitelist; this is a different system from Vanilla. Before switching, check the appropriate TShock version, plugins, and backups. Switching is not a single Vanilla option and should first be tested with a copy.

For the right world file and the difference in software, read Use a Terraria world on a Dedicated Server. Find other existing help topics in the documentation overview. When describing the startup method in a support request, name the server software and version, but never send the password or a complete configuration.

Did this guide help? We are happy to help personally.