How to add administrators on a Vintage Story server

Last updated:

Create your Vintage Story server today!
Contents

Assigning administrators on your Vintage Story server gives trusted players access to powerful commands. Admins can manage gameplay, teleport, spawn items, and maintain order.

There are two main ways to add administrators: via the server console or by editing the configuration file.

Adding via the Server Console

This is the fastest way to grant admin rights while the server is running. It is ideal for providing immediate access.

Make sure the server is running

The player you want to make an admin must have connected to the server at least once. Ensure your server is online.

Go to the server console

Log into your game panel and navigate to the “Console” section.

Enter the /op command

In the console input field, enter the command, replacing <playername> with the player's exact nickname:

/op <playername>

Press Enter. The player will instantly receive admin rights in the game.

Adding via the serverconfig.json file

This method assigns the admin every time the server starts, making it a more permanent solution.

Stop the server

Before editing configuration files, always stop the server to avoid data corruption. In the control panel, press the "Stop Server" button.

Find and open the serverconfig.json file

In your game panel, go to the “Server Files” section. You need to find the data folder, where the configuration file is located.

/data/serverconfig.json

Add the startup command

Scroll to the very bottom of the serverconfig.json file. You will find a line like this:

"StartupCommands": null,

Change null to the /op command with the desired player's nickname, as shown in the example:

"StartupCommands": "/op PlayerName",

Save the changes made to the serverconfig.json file.

Start the server

After that, start the server by pressing the "Start Server" button. The specified player will have administrator rights the next time they log into the game.