Vintage Story Admin Commands: Get the Role and Use It
Vintage Story admin commands start with /op: learn how to grant the role, use StartupCommands without console access, and check current syntax.
You will need
- A Vintage Story server and access to its console or server configuration.
- Each player needs their own Vintage Story account.
Vintage Story admin commands start with one job: give the right account the admin role. From the server console, run /op <playername>; on the official 1.22.7 server, /op is shorthand for /player <playername> role admin. The official command wiki labels its list outdated, so check /help on the version you run before copying an unfamiliar command.
Use Vintage Story admin commands with /op /op#
Run this in the dedicated server console, replacing the placeholder with the player’s Vintage Story name:
/op playernameThe server’s 1.22.7 help identifies that as an alias for the longer role command:
/player playername role adminThis gives the named account the admin role. It does not create an account, bypass the whitelist, or make a different player an admin. Keep Vintage Story authentication enabled: each person joining needs their own Vintage Story account. The official system requirements list 64-bit Windows 10+, macOS 13+, and Linux for PC play; no console edition is listed there.
The commands above were checked with /help on an official dedicated server build 1.22.7 and .NET 10.0.12 in a disposable local environment. That confirms the server’s reported syntax only. It was not a public connection, a Game Hosting panel action, or a test with a second player. The official server command list says it was last verified for 1.15, so treat it as a command-family index and ask your own server for current help.
Where should you enter admin commands?#
Use the dedicated server console when assigning the first admin. The official multiplayer guide describes /op playername as a console command. Once someone with the required permission can enter the world, the game chat and command interface can also be used for server commands. The exact permission check can depend on the command, so use /help <command> rather than assuming every admin operation is available to every player role.
The console and the player chat are two ways to send a server command, but they are not two different admin systems. /op sets a role; opening the console does not make every player an admin, and having admin does not change the account’s authentication. If a provider exposes a Console tab, it is still the server-side command route. Keep the command’s leading slash when the console expects the same syntax shown by the server’s help.
Keep the admin role, whitelist, and account separate#
Admin answers who can administer the world. The whitelist answers who can enter it, while account authentication confirms that the player is using their own Vintage Story account. These checks do different jobs. An admin role does not mean you should turn off authentication, and removing someone from admin does not automatically tell you whether they can still join.
New dedicated Vintage Story servers use a whitelist by default, according to the official dedicated server guide. If a friend cannot connect after you give them admin, check whether their account is allowed to join and whether they are using their own game account before changing roles or access settings. Avoid switching the whitelist off just to solve an account or name mismatch. Vintage Story is currently a PC game for Windows, macOS, and Linux; don’t give console-specific instructions for a game edition that is not listed by the official system requirements.
For hosted servers, the panel may combine these pieces into a guided flow. Game Hosting’s Vintage Story panel asks the owner to enter a Vintage Story name; that adds the account to the whitelist and gives it admin. The action can take effect immediately or on the next server start. Friends can be managed from Players. This is a description of the current panel workflow, not a production action tested during this guide.
Give admin without console access with StartupCommands#
If you cannot enter a command in the console, the official multiplayer setup guide documents assigning yourself admin at startup. Stop the server, open its generated serverconfig.json, and set the StartupCommands value to your /op command:
"StartupCommands": "/op playername",Replace playername with your own Vintage Story name, save the configuration, and start the server. The documented field is a string. Make the change in the server’s actual data directory and preserve the surrounding JSON punctuation; don’t replace the whole configuration with this one line. If the server rejects the edit or you are unsure which configuration it loaded, undo the change and use the provider’s console or support path instead.
This is the route described by the official multiplayer guide. That page was last verified for 1.20.0, and this specific startup route was not restarted and tested on 1.22.7 during our check. Use the running server’s /help after it starts, and remove the one-time startup command if you no longer need it. Don’t edit a live configuration file while the server is running; the official guide says serverconfig changes should be made while it is stopped.
Which admin commands should you learn first?#
Use the server’s help before acting, especially if a command can remove a player or change the shared world:
/help
/help <command>
/listThe 1.22.7 server lists /list categories for connected clients, banned players, roles, and privileges. Its output is a snapshot of what is online or configured, not a full audit log. The broad Vintage Story server commands reference groups more command families by task; this page keeps the onboarding path short.
For player moderation, ask help for the exact command first, then use the server’s own syntax for kicking or banning. A ban affects access, so confirm the player name, duration, and reason before submitting it. Don’t grant admin to every friend just to let them build or moderate. Vintage Story roles and privileges can be configured separately; use /help role, /help player, /list roles, and /list privileges on your server to inspect the supported options. The broad Vintage Story server commands reference can help you find the relevant command family without repeating its full catalogue here.
World and player commands can have different permission requirements. If your goal is moving a player, follow the separate Vintage Story /tp command guide rather than guessing its source, target, or coordinate syntax. Creative or spectator mode is a separate gamemode task; granting someone admin is not the same as changing their game mode. Stop and read the command’s help before changing shared world state.
How to give an item or block#
The live 1.22.7 help listed these forms:
/giveitem <item code> [quantity] [target] [attributes]
/giveblock <block code> [quantity] [target] [attributes]For /giveitem, detailed help says the quantity is an integer, the target may be a player name or selector, and attributes can be supplied in braces. The command index describes /giveblock as giving blocks to a target, but its separate detailed help response returned no text in our check. Confirm both commands with /help giveitem or /help giveblock on your own server before use. Item and block codes must match entries the server recognizes; don’t guess an ID from another game or assume an item code works as a block code.
Give commands can change a player’s inventory and require the relevant privilege. Try them in a controlled way, tell the group what you are doing, and use a test world if you are unsure how a command or attribute will behave. These checks establish syntax, not that a particular item, selector, quantity, or effect was tested in a live multiplayer session.
Limit admin access to trusted players#
Admin is broader than a single convenience command. Give it only to people who need server-wide control, and check /list roles and /list privileges if you need to understand which roles and privileges are configured. If a friend only needs to moderate, a narrower role may be a better fit. Remove elevated access when a temporary task is over, using the role workflow supported by your current server version.
If /op does not take effect#
First confirm where you entered the command. The official setup page says to run /op playername in the server console. If you put it in player chat, your account needs permission to run that command; a new server with no authorized player may leave you without that route. Use Console or the documented StartupCommands path to bootstrap the first admin instead.
Next, check the name you typed against the Vintage Story account that will join. A server role is assigned to a player name, so a typo or a different account can make it look as if the command failed. Run /help op or /help player on that server to confirm the syntax it actually supports. On the 1.22.7 server checked for this guide, /op was listed as an alias for /player <playername> role admin; other versions may report different details.
If the server reports that a command does not exist, don’t try similar spellings until one works. Ask /help, then check the installed server version and the relevant command-specific help. The official wiki’s broad command page is explicitly outdated, so an older tutorial may show another syntax. If you are using a managed panel, check whether it saved the owner name and whether the panel says the change takes effect now or after the server starts. Do not make repeated configuration edits while the server is running.
If the admin has access but a friend still cannot join, diagnose the whitelist and account separately. A role change is not proof that a join restriction is gone. Keep account authentication enabled, confirm that each player uses their own Vintage Story account, and check the current whitelist state before making another access change.
When an admin needs a broader command inventory, start with the server commands reference. If your goal is a safe restart, use the provider’s documented stop and start controls so the server can save normally. Keep the admin list small, and ask the server for /help again after an update.
Quick answers
How do I give someone admin in Vintage Story?
Run /op playername in the server console, replacing playername with their in-game name. On version 1.22.7, server help describes /op as shorthand for /player <playername> role admin.
What is the admin command in Vintage Story?
Use /op <playername> from the server console. Check /help on your own server because command syntax can change between versions.
Does Vintage Story have a give command?
Yes. The current server help lists /giveitem and /giveblock; ask /help giveitem or /help giveblock on your server for its accepted values.

