{"id":21378,"date":"2026-06-07T09:50:49","date_gmt":"2026-06-07T09:50:49","guid":{"rendered":"https:\/\/xgamingserver.com\/blog\/how-to-add-admins-and-use-console-commands-on-a-barotrauma-server\/"},"modified":"2026-06-07T09:50:49","modified_gmt":"2026-06-07T09:50:49","slug":"how-to-add-admins-and-use-console-commands-on-a-barotrauma-server","status":"publish","type":"post","link":"https:\/\/xgamingserver.com\/blog\/how-to-add-admins-and-use-console-commands-on-a-barotrauma-server\/","title":{"rendered":"How to Add Admins and Use Console Commands on a Barotrauma Server"},"content":{"rendered":"<p>To kick griefers, change settings mid-game, or run admin commands on your Barotrauma server, you need admin permissions. Barotrauma handles this through a permissions file tied to each player&rsquo;s Steam ID. This guide shows how to make yourself an admin and use the console.<\/p>\n<h2>How permissions work<\/h2>\n<p>Server permissions are stored in <code>clientpermissions.xml<\/code>, found in the <code>Barotrauma\/Data<\/code> folder on your server. Each player who needs elevated access gets a <code>&lt;Client&gt;<\/code> entry with their name, their <strong>SteamID64<\/strong> (the 17-digit number starting with <code>7656<\/code>), and a permission preset.<\/p>\n<h2>Step 1: Get the player&rsquo;s SteamID64<\/h2>\n<p>You need the 17-digit SteamID64 for each admin. Look it up from a player&rsquo;s Steam profile URL using any SteamID lookup site &mdash; it always begins with <code>7656<\/code>.<\/p>\n<h2>Step 2: Add the client entry<\/h2>\n<p>Stop the server, open <code>clientpermissions.xml<\/code>, and add a line inside the <code>&lt;ClientPermissions&gt;<\/code> block:<\/p>\n<pre><code>&lt;Client name=\"YourName\" steamid=\"7656119XXXXXXXXXX\" preset=\"Admin\" \/&gt;<\/code><\/pre>\n<p>The two common presets are <strong>Admin<\/strong> (full control) and <strong>Moderator<\/strong> (kick\/ban without deep settings access). Save the file and start the server.<\/p>\n<h2>Permission types<\/h2>\n<p>If you want fine-grained control instead of a preset, you can grant individual permissions: <code>ManageRound<\/code>, <code>Kick<\/code>, <code>Ban<\/code>, <code>ManagePermissions<\/code>, <code>ConsoleCommands<\/code>, <code>ManageSettings<\/code>, <code>ManageCampaign<\/code>, <code>SelectSub<\/code>, <code>SelectMode<\/code>, <code>ServerLog<\/code>, and <code>KarmaImmunity<\/code>.<\/p>\n<h2>Step 3: Use the console<\/h2>\n<p>With admin access, press <strong>F3<\/strong> in-game to toggle the console. On a server you control you can type <code>enablecheats<\/code> to unlock the full command set. Useful commands include <code>kick<\/code>, <code>ban<\/code>, <code>give<\/code>, <code>spawn<\/code>, <code>heal<\/code>, and <code>revive<\/code>. You can also hand out permissions live without editing the file using <code>giveperm<\/code>, <code>givecommandperm<\/code>, <code>revokeperm<\/code> and <code>revokecommandperm<\/code>.<\/p>\n<h2>Step 4 (optional): Manage from the lobby<\/h2>\n<p>Admins can also open the in-game server settings panel to change difficulty, respawn rules, and other live options between rounds &mdash; no file editing required for those.<\/p>\n<h2>Run it on managed hosting<\/h2>\n<p>On <a href=\"\/barotrauma-server-hosting\">XGamingServer Barotrauma hosting<\/a> you get File Manager and SFTP access to edit <code>clientpermissions.xml<\/code> and a one-click restart. Step-by-step instructions are in our <a href=\"\/docs\/barotrauma\/adding-admins\">adding admins guide<\/a>, and the full command list is in our <a href=\"\/docs\/barotrauma\/console-commands\">console commands guide<\/a>.<\/p>\n<h2>FAQ<\/h2>\n<p><strong>Where is clientpermissions.xml?<\/strong> In the <code>Barotrauma\/Data<\/code> folder on the server.<\/p>\n<p><strong>My admin rights don&rsquo;t work after editing.<\/strong> Make sure the SteamID64 is exact (17 digits, starts with 7656) and that you stopped the server before editing &mdash; it can overwrite config on shutdown.<\/p>\n<p><strong>How do I open the console?<\/strong> Press F3 in-game; type <code>enablecheats<\/code> to unlock cheat\/admin commands on your own server.<\/p>\n<p><em>Sources: <a href=\"https:\/\/barotraumagame.com\/wiki\/Clientpermissions.xml\" rel=\"nofollow\">Official Barotrauma Wiki &mdash; Clientpermissions.xml<\/a>.<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>To kick griefers, change settings mid-game, or run admin commands on your Barotrauma server, you need admin permissions. Barotrauma handles this through a permissions file tied to each player&rsquo;s Steam ID. This guide shows how to make yourself an admin and use the console. How permissions work Server permissions are stored in clientpermissions.xml, found in [&hellip;]<\/p>\n","protected":false},"author":0,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_gspb_post_css":"","_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[141],"tags":[],"class_list":["post-21378","post","type-post","status-publish","format-standard","hentry","category-barotrauma"],"blocksy_meta":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v24.5 (Yoast SEO v26.7) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Add Admins and Use Console Commands on a Barotrauma Server - XGamingServer<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/xgamingserver.com\/blog\/how-to-add-admins-and-use-console-commands-on-a-barotrauma-server\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Add Admins and Use Console Commands on a Barotrauma Server\" \/>\n<meta property=\"og:description\" content=\"To kick griefers, change settings mid-game, or run admin commands on your Barotrauma server, you need admin permissions. Barotrauma handles this through a permissions file tied to each player&rsquo;s Steam ID. This guide shows how to make yourself an admin and use the console. How permissions work Server permissions are stored in clientpermissions.xml, found in [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/xgamingserver.com\/blog\/how-to-add-admins-and-use-console-commands-on-a-barotrauma-server\/\" \/>\n<meta property=\"og:site_name\" content=\"XGamingServer\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/web.facebook.com\/xgamingserver69\/\" \/>\n<meta property=\"article:published_time\" content=\"2026-06-07T09:50:49+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@xgamingserver\" \/>\n<meta name=\"twitter:site\" content=\"@xgamingserver\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/xgamingserver.com\/blog\/how-to-add-admins-and-use-console-commands-on-a-barotrauma-server\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/xgamingserver.com\/blog\/how-to-add-admins-and-use-console-commands-on-a-barotrauma-server\/\"},\"author\":{\"name\":\"\",\"@id\":\"\"},\"headline\":\"How to Add Admins and Use Console Commands on a Barotrauma Server\",\"datePublished\":\"2026-06-07T09:50:49+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/xgamingserver.com\/blog\/how-to-add-admins-and-use-console-commands-on-a-barotrauma-server\/\"},\"wordCount\":377,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/xgamingserver.com\/blog\/#organization\"},\"articleSection\":[\"Barotrauma\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/xgamingserver.com\/blog\/how-to-add-admins-and-use-console-commands-on-a-barotrauma-server\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/xgamingserver.com\/blog\/how-to-add-admins-and-use-console-commands-on-a-barotrauma-server\/\",\"url\":\"https:\/\/xgamingserver.com\/blog\/how-to-add-admins-and-use-console-commands-on-a-barotrauma-server\/\",\"name\":\"How to Add Admins and Use Console Commands on a Barotrauma Server - XGamingServer\",\"isPartOf\":{\"@id\":\"https:\/\/xgamingserver.com\/blog\/#website\"},\"datePublished\":\"2026-06-07T09:50:49+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/xgamingserver.com\/blog\/how-to-add-admins-and-use-console-commands-on-a-barotrauma-server\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/xgamingserver.com\/blog\/how-to-add-admins-and-use-console-commands-on-a-barotrauma-server\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/xgamingserver.com\/blog\/how-to-add-admins-and-use-console-commands-on-a-barotrauma-server\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/xgamingserver.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Barotrauma\",\"item\":\"https:\/\/xgamingserver.com\/blog\/category\/barotrauma\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"How to Add Admins and Use Console Commands on a Barotrauma Server\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/xgamingserver.com\/blog\/#website\",\"url\":\"https:\/\/xgamingserver.com\/blog\/\",\"name\":\"XGamingServer\",\"description\":\"Dedicated Game Server Hosting\",\"publisher\":{\"@id\":\"https:\/\/xgamingserver.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/xgamingserver.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/xgamingserver.com\/blog\/#organization\",\"name\":\"XGamingServer\",\"url\":\"https:\/\/xgamingserver.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/xgamingserver.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/xgamingserver.com\/blog\/wp-content\/uploads\/2020\/09\/logo.svg\",\"contentUrl\":\"https:\/\/xgamingserver.com\/blog\/wp-content\/uploads\/2020\/09\/logo.svg\",\"width\":\"1024\",\"height\":\"1024\",\"caption\":\"XGamingServer\"},\"image\":{\"@id\":\"https:\/\/xgamingserver.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/web.facebook.com\/xgamingserver69\/\",\"https:\/\/x.com\/xgamingserver\",\"https:\/\/www.instagram.com\/xgamingserver\/\",\"https:\/\/www.linkedin.com\/company\/xgamingserver\/\",\"https:\/\/www.pinterest.com\/xgamingserver\/\",\"https:\/\/www.youtube.com\/channel\/UCHnOtWxpzaL2r3jM9Jm40EQ\"]}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Add Admins and Use Console Commands on a Barotrauma Server - XGamingServer","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/xgamingserver.com\/blog\/how-to-add-admins-and-use-console-commands-on-a-barotrauma-server\/","og_locale":"en_US","og_type":"article","og_title":"How to Add Admins and Use Console Commands on a Barotrauma Server","og_description":"To kick griefers, change settings mid-game, or run admin commands on your Barotrauma server, you need admin permissions. Barotrauma handles this through a permissions file tied to each player&rsquo;s Steam ID. This guide shows how to make yourself an admin and use the console. How permissions work Server permissions are stored in clientpermissions.xml, found in [&hellip;]","og_url":"https:\/\/xgamingserver.com\/blog\/how-to-add-admins-and-use-console-commands-on-a-barotrauma-server\/","og_site_name":"XGamingServer","article_publisher":"https:\/\/web.facebook.com\/xgamingserver69\/","article_published_time":"2026-06-07T09:50:49+00:00","twitter_card":"summary_large_image","twitter_creator":"@xgamingserver","twitter_site":"@xgamingserver","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/xgamingserver.com\/blog\/how-to-add-admins-and-use-console-commands-on-a-barotrauma-server\/#article","isPartOf":{"@id":"https:\/\/xgamingserver.com\/blog\/how-to-add-admins-and-use-console-commands-on-a-barotrauma-server\/"},"author":{"name":"","@id":""},"headline":"How to Add Admins and Use Console Commands on a Barotrauma Server","datePublished":"2026-06-07T09:50:49+00:00","mainEntityOfPage":{"@id":"https:\/\/xgamingserver.com\/blog\/how-to-add-admins-and-use-console-commands-on-a-barotrauma-server\/"},"wordCount":377,"commentCount":0,"publisher":{"@id":"https:\/\/xgamingserver.com\/blog\/#organization"},"articleSection":["Barotrauma"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/xgamingserver.com\/blog\/how-to-add-admins-and-use-console-commands-on-a-barotrauma-server\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/xgamingserver.com\/blog\/how-to-add-admins-and-use-console-commands-on-a-barotrauma-server\/","url":"https:\/\/xgamingserver.com\/blog\/how-to-add-admins-and-use-console-commands-on-a-barotrauma-server\/","name":"How to Add Admins and Use Console Commands on a Barotrauma Server - XGamingServer","isPartOf":{"@id":"https:\/\/xgamingserver.com\/blog\/#website"},"datePublished":"2026-06-07T09:50:49+00:00","breadcrumb":{"@id":"https:\/\/xgamingserver.com\/blog\/how-to-add-admins-and-use-console-commands-on-a-barotrauma-server\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/xgamingserver.com\/blog\/how-to-add-admins-and-use-console-commands-on-a-barotrauma-server\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/xgamingserver.com\/blog\/how-to-add-admins-and-use-console-commands-on-a-barotrauma-server\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/xgamingserver.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Barotrauma","item":"https:\/\/xgamingserver.com\/blog\/category\/barotrauma\/"},{"@type":"ListItem","position":3,"name":"How to Add Admins and Use Console Commands on a Barotrauma Server"}]},{"@type":"WebSite","@id":"https:\/\/xgamingserver.com\/blog\/#website","url":"https:\/\/xgamingserver.com\/blog\/","name":"XGamingServer","description":"Dedicated Game Server Hosting","publisher":{"@id":"https:\/\/xgamingserver.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/xgamingserver.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/xgamingserver.com\/blog\/#organization","name":"XGamingServer","url":"https:\/\/xgamingserver.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/xgamingserver.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/xgamingserver.com\/blog\/wp-content\/uploads\/2020\/09\/logo.svg","contentUrl":"https:\/\/xgamingserver.com\/blog\/wp-content\/uploads\/2020\/09\/logo.svg","width":"1024","height":"1024","caption":"XGamingServer"},"image":{"@id":"https:\/\/xgamingserver.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/web.facebook.com\/xgamingserver69\/","https:\/\/x.com\/xgamingserver","https:\/\/www.instagram.com\/xgamingserver\/","https:\/\/www.linkedin.com\/company\/xgamingserver\/","https:\/\/www.pinterest.com\/xgamingserver\/","https:\/\/www.youtube.com\/channel\/UCHnOtWxpzaL2r3jM9Jm40EQ"]}]}},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/xgamingserver.com\/blog\/wp-json\/wp\/v2\/posts\/21378","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/xgamingserver.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/xgamingserver.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"replies":[{"embeddable":true,"href":"https:\/\/xgamingserver.com\/blog\/wp-json\/wp\/v2\/comments?post=21378"}],"version-history":[{"count":0,"href":"https:\/\/xgamingserver.com\/blog\/wp-json\/wp\/v2\/posts\/21378\/revisions"}],"wp:attachment":[{"href":"https:\/\/xgamingserver.com\/blog\/wp-json\/wp\/v2\/media?parent=21378"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/xgamingserver.com\/blog\/wp-json\/wp\/v2\/categories?post=21378"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/xgamingserver.com\/blog\/wp-json\/wp\/v2\/tags?post=21378"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}