[{"data":1,"prerenderedAt":146},["ShallowReactive",2],{"header-games":3,"i-heroicons:server-stack-16-solid":63,"article-how-to-op-yourself-minecraft-bedrock-server-en":68,"game-info-article-minecraft-bedrock":99,"help-game-articles-minecraft-bedrock-en":103,"i-heroicons:chevron-right-20-solid":129,"i-heroicons:user-circle-20-solid":132,"i-heroicons:clock-20-solid":134,"i-heroicons:calendar-days-20-solid":136,"i-heroicons:pencil-square-20-solid":138,"i-heroicons:chevron-down-20-solid":140,"i-heroicons:wrench-screwdriver-20-solid":142,"i-heroicons:arrow-right-20-solid":144},{"promoCode":4,"promoPercentage":5,"total":6,"featured":7},"DOOM25",0.25,43,[8,16,23,29,34,40,45,50,57],{"slug":9,"name":10,"icon":11,"hasIcon":12,"badge":13,"basePrice":14,"link":15},"minecraft","Minecraft","https:\u002F\u002Fcdn.doomhosting.com\u002Ficons\u002Fminecraft.png",true,"Most Popular",1,"\u002Fminecraft-server-hosting",{"slug":17,"name":18,"icon":19,"hasIcon":12,"badge":20,"basePrice":21,"link":22},"hytale","Hytale","https:\u002F\u002Fcdn.doomhosting.com\u002Ficons\u002Fhytale.png","",6,"\u002Fhytale-server-hosting",{"slug":24,"name":25,"icon":26,"hasIcon":12,"badge":27,"basePrice":21,"link":28},"palworld","Palworld","https:\u002F\u002Fcdn.doomhosting.com\u002Ficons\u002Fpalworld.png",null,"\u002Fpalworld-server-hosting",{"slug":30,"name":31,"icon":32,"hasIcon":12,"badge":27,"basePrice":21,"link":33},"rust","Rust","https:\u002F\u002Fcdn.doomhosting.com\u002Ficons\u002Frust.png","\u002Frust-server-hosting",{"slug":35,"name":36,"icon":37,"hasIcon":12,"badge":27,"basePrice":38,"link":39},"valheim","Valheim","https:\u002F\u002Fcdn.doomhosting.com\u002Ficons\u002Fvalheim.png",5,"\u002Fvalheim-server-hosting",{"slug":41,"name":42,"icon":43,"hasIcon":12,"badge":27,"basePrice":21,"link":44},"satisfactory","Satisfactory","https:\u002F\u002Fcdn.doomhosting.com\u002Ficons\u002Fsatisfactory.png","\u002Fsatisfactory-server-hosting",{"slug":46,"name":47,"icon":48,"hasIcon":12,"badge":27,"basePrice":21,"link":49},"enshrouded","Enshrouded","https:\u002F\u002Fcdn.doomhosting.com\u002Ficons\u002Fenshrouded.png","\u002Fenshrouded-server-hosting",{"slug":51,"name":52,"icon":53,"hasIcon":12,"badge":54,"basePrice":55,"link":56},"terraria","Terraria","https:\u002F\u002Fcdn.doomhosting.com\u002Ficons\u002Fterraria.png","New Update",4,"\u002Fterraria-server-hosting",{"slug":58,"name":59,"icon":60,"hasIcon":12,"badge":27,"basePrice":61,"link":62},"project-zomboid","Project Zomboid","https:\u002F\u002Fcdn.doomhosting.com\u002Ficons\u002Fproject-zomboid.png",7,"\u002Fproject-zomboid-server-hosting",{"left":64,"top":64,"width":65,"height":65,"rotate":64,"vFlip":66,"hFlip":66,"body":67},0,16,false,"\u003Cpath fill=\"currentColor\" d=\"M5.354 2a2 2 0 0 0-1.857 1.257l-.338.845Q3.565 4 4 4h8q.436 0 .84.102l-.337-.845A2 2 0 0 0 10.646 2z\"\u002F>\u003Cpath fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M2 13a2 2 0 0 1 2-2h8a2 2 0 1 1 0 4H4a2 2 0 0 1-2-2m10.75 0a.75.75 0 1 1-1.5 0a.75.75 0 0 1 1.5 0M9 13.75a.75.75 0 1 0 0-1.5a.75.75 0 0 0 0 1.5M4 5.5a2 2 0 1 0 0 4h8a2 2 0 1 0 0-4zm8 2.75a.75.75 0 1 0 0-1.5a.75.75 0 0 0 0 1.5M9.75 7.5a.75.75 0 1 1-1.5 0a.75.75 0 0 1 1.5 0\" clip-rule=\"evenodd\"\u002F>",{"id":69,"game_slug":70,"slug":71,"category":72,"title":73,"description":74,"content":75,"keywords":27,"author_name":76,"author_role":77,"is_featured":66,"published_at":78,"allSlugs":79,"author":86,"date":78,"lastUpdated":87,"game":88,"dateFormatted":90,"lastUpdatedFormatted":91,"imageDims":92},"bb7f137e-12b7-40ef-8f34-584694b7012a","minecraft-bedrock","how-to-op-yourself-minecraft-bedrock-server","Administration","How to OP Yourself on Your Minecraft Bedrock Server","Give yourself operator status on a Minecraft Bedrock server: the op command, gamertags with spaces, permissions.json by XUID, and the three permission levels.","## How to OP Yourself on Your Minecraft Bedrock Server\n\nOperator (OP) status is what lets you change the gamemode, teleport, set the time and run every other admin command on your Bedrock server. Bedrock handles operators very differently from Java Edition: the levels are named instead of numbered, the list lives in `permissions.json` instead of `ops.json`, and the `op` command only works while the player is standing on the server. This guide covers both the quick way and the offline way.\n\nIf you run Minecraft Java Edition instead, use [How to OP Yourself on Your Minecraft Server](\u002Fhelp\u002Farticles\u002Fhow-to-op-yourself-minecraft-server). The commands there do not carry over.\n\n## The quick way: op yourself from the console\n\nThis is the method that works in under a minute, and it is the one to use for yourself and for anyone you trust.\n\n1. Join your Bedrock server in-game first. This step is not optional, see the next section for why.\n2. Open your server in the [DoomHosting game panel](\u002Fgamepanel) and go to the **Console** tab.\n3. Type the command and press Enter:\n\n```\nop YourGamertag\n```\n\n4. The console confirms it and the player immediately gains operator abilities. No restart needed.\n\nBedrock console commands are typed **without** a leading slash. Type `op YourGamertag`, not `\u002Fop YourGamertag`.\n\n## Gamertags with spaces need quotes\n\nThis trips up more Bedrock owners than anything else on this page. Xbox gamertags can contain spaces, and the Bedrock server splits your command on spaces, so an unquoted gamertag with a space is read as two separate arguments and the command fails:\n\n```\nop Test Player\nSyntax error: Unexpected \"Player\": at \" op Test >>Player\u003C\u003C\"\n```\n\nWrap the name in double quotes and it works:\n\n```\nop \"Test Player\"\n```\n\nThe same rule applies to every command that takes a player name, including `deop`, `kick` and `allowlist add`. When in doubt, quote it: quotes around a name with no spaces are harmless.\n\n## Why \"No targets matched selector\" happens\n\nIf you run `op SomeGamertag` and the console answers:\n\n```\nNo targets matched selector\n```\n\n![The Console tab of the DoomHosting panel showing the No targets matched selector error after running the op command on a Minecraft Bedrock server](https:\u002F\u002Fcdn.doomhosting.com\u002Fhelp\u002Fminecraft-bedrock\u002Fbedrock-op-console.webp)\n\nthe player is not currently connected. Unlike Java Edition, which can look a username up against Mojang's servers, Bedrock resolves a gamertag to an Xbox Live XUID and it can only do that for a player who is online right now. There is nothing wrong with your spelling or your server.\n\nTwo ways around it:\n\n- Have the player join, then run `op` while they are in the world. This is the easy fix.\n- Add them to `permissions.json` by XUID, which works with nobody online. That is the next section.\n\nOne related detail from Mojang's own server documentation: `op` only writes the change into `permissions.json` if the player is authenticated with Xbox Live. If they are not, the promotion lasts for the current server session only and is lost on the next restart.\n\n## The offline way: edit permissions.json\n\n`permissions.json` sits in your server's root folder and is the permanent operator list. It is keyed by XUID, not by gamertag:\n\n```json\n[\n  {\n    \"permission\": \"operator\",\n    \"xuid\": \"2535413418839840\"\n  },\n  {\n    \"permission\": \"member\",\n    \"xuid\": \"2535400000000001\"\n  }\n]\n```\n\nTo edit it:\n\n1. Go to the **Files** tab in the panel and open `permissions.json` in the root folder.\n2. Add an entry with the player's XUID and the permission you want.\n3. Save the file.\n4. Back in the **Console** tab, run `permission reload`. The server answers `Ops reloaded from file.` and applies the change without a restart.\n\n![Editing permissions.json in the DoomHosting panel file manager](https:\u002F\u002Fcdn.doomhosting.com\u002Fhelp\u002Fminecraft-bedrock\u002Fbedrock-op-permissions-json.webp)\n\nTwo requirements: `online-mode` must be `true` in your server settings (XUIDs only exist for Xbox-authenticated players), and the JSON must stay valid. A stray trailing comma makes the server ignore the whole file.\n\n### Finding a player's XUID\n\nThe simplest reliable route uses the allowlist, because the server resolves the XUID for you:\n\n1. Run `allowlist add \"Their Gamertag\"` in the console.\n2. Have them connect once.\n3. Open `allowlist.json` in the Files tab. Before their first connection the entry holds only the name; afterwards the server has written their XUID into it, ready to paste into `permissions.json`.\n\n## Bedrock permission levels are not Java's 1-4\n\nJava Edition has four numbered operator levels. Bedrock has three named ones, and they are the only valid values in `permissions.json`:\n\n- **visitor**: can look around but not build or interact.\n- **member**: the normal player level. This is the default.\n- **operator**: full admin, all commands.\n\nYou can also set what **everyone** gets by default. In the panel, open the **Config** tab, find the Players section, and set **Default permission**. Leave this on member unless you have a specific reason: setting it to operator hands admin commands to every single person who joins.\n\n![The Players section of the Config tab showing the default permission level setting](https:\u002F\u002Fcdn.doomhosting.com\u002Fhelp\u002Fminecraft-bedrock\u002Fbedrock-op-default-permission.webp)\n\nFor cheat-only commands such as `\u002Fgamemode`, the world also needs cheats enabled. You can flip that at runtime with `changesetting allow-cheats true`.\n\n## Removing operator status\n\n```\ndeop \"Their Gamertag\"\n```\n\nSame rules as `op`: no slash, quotes if the name has spaces, and it persists to `permissions.json` for an Xbox-authenticated player. You can also change their entry to `member` in `permissions.json` and run `permission reload`.\n\nTo see who currently has operator status, run:\n\n```\npermission list\n```\n\nIt prints the live operator list and the full contents of `permissions.json`, which is the fastest way to check that an edit actually took effect.\n\n## Common issues\n\n**The command did nothing and there is no error.** Check for a leading slash. Console commands on Bedrock take no slash; in-game chat commands do.\n\n**\"No targets matched selector\".** The player is offline. See the section above.\n\n**They had OP and lost it after a restart.** The account was not authenticated with Xbox Live, so the promotion was session-only. Add them to `permissions.json` by XUID instead.\n\n**Edits to permissions.json are being ignored.** Run `permission reload`, and check the file is valid JSON. Also confirm `online-mode` is `true`, since the XUID system depends on Xbox authentication.\n\n**Nobody can join at all.** That is separate from permissions. Start with our guide to [Minecraft Bedrock error code U-000](\u002Fhelp\u002Farticles\u002Fminecraft-bedrock-error-u-000-fix).\n\nStill stuck? Open a ticket from the panel and our team will take a look at your server directly. Not hosting with us yet? See our [Minecraft Bedrock server hosting](\u002Fminecraft-bedrock-server-hosting) plans.","Magnus","Game Server Expert","2026-08-06T00:00:00+00:00",{"da":80,"de":81,"en":71,"fi":82,"fr":83,"pl":84,"sv":85},"saadan-giver-du-dig-selv-op-minecraft-bedrock-server","op-rechte-geben-minecraft-bedrock-server","op-oikeuksien-antaminen-minecraft-bedrock-palvelimella","se-donner-les-droits-op-serveur-minecraft-bedrock","jak-nadac-sobie-op-minecraft-bedrock-serwer","ge-dig-sjalv-op-minecraft-bedrock-server",{"name":76,"role":77},"2026-08-07T08:04:02.413749+00:00",{"slug":70,"name":89},"Minecraft Bedrock","Aug 6, 2026","Aug 7, 2026",{"https:\u002F\u002Fcdn.doomhosting.com\u002Fhelp\u002Fminecraft-bedrock\u002Fbedrock-op-console.webp":93,"https:\u002F\u002Fcdn.doomhosting.com\u002Fhelp\u002Fminecraft-bedrock\u002Fbedrock-op-permissions-json.webp":96,"https:\u002F\u002Fcdn.doomhosting.com\u002Fhelp\u002Fminecraft-bedrock\u002Fbedrock-op-default-permission.webp":98},{"width":94,"height":95},1600,1059,{"width":94,"height":97},560,{"width":94,"height":95},{"slug":70,"name":89,"icon":11,"cardImage":100,"description":101,"status":102},"https:\u002F\u002Fcdn.doomhosting.com\u002Fgames\u002Fminecraft.jpg","Host your Minecraft Bedrock Edition server with full crossplay support. Connect players on PC, Xbox, PlayStation, Nintendo Switch, and Mobile. All on one server with instant setup and DDoS protection.","active",[104,115,118],{"id":105,"game_slug":70,"slug":106,"category":107,"title":108,"description":109,"content":27,"keywords":27,"author_name":76,"author_role":77,"is_featured":12,"published_at":110,"author":111,"date":110,"lastUpdated":112,"game":113,"dateFormatted":114},"c93729cc-4593-41a4-b8d8-8c31def4dd8a","how-to-upload-world-minecraft-bedrock-server","Configuration","How to Upload a World to Your Minecraft Bedrock Server","Upload your own world to a Minecraft Bedrock server two ways: one click from the Worlds tab in your DoomHosting panel, or manually via the File Manager and level-name.","2026-06-30T12:00:00+00:00",{"name":76,"role":77},"2026-07-31T11:00:42.01867+00:00",{"slug":70,"name":89},"Jun 30, 2026",{"id":69,"game_slug":70,"slug":71,"category":72,"title":73,"description":74,"content":27,"keywords":27,"author_name":76,"author_role":77,"is_featured":66,"published_at":78,"author":116,"date":78,"lastUpdated":87,"game":117,"dateFormatted":90},{"name":76,"role":77},{"slug":70,"name":89},{"id":119,"game_slug":70,"slug":120,"category":121,"title":122,"description":123,"content":27,"keywords":27,"author_name":76,"author_role":77,"is_featured":66,"published_at":124,"author":125,"date":124,"lastUpdated":126,"game":127,"dateFormatted":128},"56e6a09f-7568-471b-bc13-eaa0ae75aec1","minecraft-bedrock-error-u-000-fix","Troubleshooting","Minecraft Bedrock Error Code U-000: What It Means and How to Fix It","Getting error U-000 on Minecraft Bedrock? Learn what causes it and how to fix it. Usually means the server is already added to your list.","2026-04-19T10:17:14.968336+00:00",{"name":76,"role":77},"2026-08-06T16:02:12.88063+00:00",{"slug":70,"name":89},"Apr 19, 2026",{"left":64,"top":64,"width":130,"height":130,"rotate":64,"vFlip":66,"hFlip":66,"body":131},20,"\u003Cpath fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M8.22 5.22a.75.75 0 0 1 1.06 0l4.25 4.25a.75.75 0 0 1 0 1.06l-4.25 4.25a.75.75 0 0 1-1.06-1.06L11.94 10L8.22 6.28a.75.75 0 0 1 0-1.06\" clip-rule=\"evenodd\"\u002F>",{"left":64,"top":64,"width":130,"height":130,"rotate":64,"vFlip":66,"hFlip":66,"body":133},"\u003Cpath fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M18 10a8 8 0 1 1-16 0a8 8 0 0 1 16 0m-5.5-2.5a2.5 2.5 0 1 1-5 0a2.5 2.5 0 0 1 5 0M10 12a5.99 5.99 0 0 0-4.793 2.39A6.48 6.48 0 0 0 10 16.5a6.48 6.48 0 0 0 4.793-2.11A5.99 5.99 0 0 0 10 12\" clip-rule=\"evenodd\"\u002F>",{"left":64,"top":64,"width":130,"height":130,"rotate":64,"vFlip":66,"hFlip":66,"body":135},"\u003Cpath fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M10 18a8 8 0 1 0 0-16a8 8 0 0 0 0 16m.75-13a.75.75 0 0 0-1.5 0v5c0 .414.336.75.75.75h4a.75.75 0 0 0 0-1.5h-3.25z\" clip-rule=\"evenodd\"\u002F>",{"left":64,"top":64,"width":130,"height":130,"rotate":64,"vFlip":66,"hFlip":66,"body":137},"\u003Cg fill=\"currentColor\">\u003Cpath d=\"M5.25 12a.75.75 0 0 1 .75-.75h.01a.75.75 0 0 1 .75.75v.01a.75.75 0 0 1-.75.75H6a.75.75 0 0 1-.75-.75zM6 13.25a.75.75 0 0 0-.75.75v.01c0 .414.336.75.75.75h.01a.75.75 0 0 0 .75-.75V14a.75.75 0 0 0-.75-.75zM7.25 12a.75.75 0 0 1 .75-.75h.01a.75.75 0 0 1 .75.75v.01a.75.75 0 0 1-.75.75H8a.75.75 0 0 1-.75-.75zM8 13.25a.75.75 0 0 0-.75.75v.01c0 .414.336.75.75.75h.01a.75.75 0 0 0 .75-.75V14a.75.75 0 0 0-.75-.75zM9.25 10a.75.75 0 0 1 .75-.75h.01a.75.75 0 0 1 .75.75v.01a.75.75 0 0 1-.75.75H10a.75.75 0 0 1-.75-.75zm.75 1.25a.75.75 0 0 0-.75.75v.01c0 .414.336.75.75.75h.01a.75.75 0 0 0 .75-.75V12a.75.75 0 0 0-.75-.75zM9.25 14a.75.75 0 0 1 .75-.75h.01a.75.75 0 0 1 .75.75v.01a.75.75 0 0 1-.75.75H10a.75.75 0 0 1-.75-.75zM12 9.25a.75.75 0 0 0-.75.75v.01c0 .414.336.75.75.75h.01a.75.75 0 0 0 .75-.75V10a.75.75 0 0 0-.75-.75zM11.25 12a.75.75 0 0 1 .75-.75h.01a.75.75 0 0 1 .75.75v.01a.75.75 0 0 1-.75.75H12a.75.75 0 0 1-.75-.75zm.75 1.25a.75.75 0 0 0-.75.75v.01c0 .414.336.75.75.75h.01a.75.75 0 0 0 .75-.75V14a.75.75 0 0 0-.75-.75zM13.25 10a.75.75 0 0 1 .75-.75h.01a.75.75 0 0 1 .75.75v.01a.75.75 0 0 1-.75.75H14a.75.75 0 0 1-.75-.75zm.75 1.25a.75.75 0 0 0-.75.75v.01c0 .414.336.75.75.75h.01a.75.75 0 0 0 .75-.75V12a.75.75 0 0 0-.75-.75z\"\u002F>\u003Cpath fill-rule=\"evenodd\" d=\"M5.75 2a.75.75 0 0 1 .75.75V4h7V2.75a.75.75 0 0 1 1.5 0V4h.25A2.75 2.75 0 0 1 18 6.75v8.5A2.75 2.75 0 0 1 15.25 18H4.75A2.75 2.75 0 0 1 2 15.25v-8.5A2.75 2.75 0 0 1 4.75 4H5V2.75A.75.75 0 0 1 5.75 2m-1 5.5c-.69 0-1.25.56-1.25 1.25v6.5c0 .69.56 1.25 1.25 1.25h10.5c.69 0 1.25-.56 1.25-1.25v-6.5c0-.69-.56-1.25-1.25-1.25z\" clip-rule=\"evenodd\"\u002F>\u003C\u002Fg>",{"left":64,"top":64,"width":130,"height":130,"rotate":64,"vFlip":66,"hFlip":66,"body":139},"\u003Cg fill=\"currentColor\">\u003Cpath d=\"m5.433 13.917l1.262-3.155A4 4 0 0 1 7.58 9.42l6.92-6.918a2.121 2.121 0 0 1 3 3l-6.92 6.918c-.383.383-.84.685-1.343.886l-3.154 1.262a.5.5 0 0 1-.65-.65\"\u002F>\u003Cpath d=\"M3.5 5.75c0-.69.56-1.25 1.25-1.25H10A.75.75 0 0 0 10 3H4.75A2.75 2.75 0 0 0 2 5.75v9.5A2.75 2.75 0 0 0 4.75 18h9.5A2.75 2.75 0 0 0 17 15.25V10a.75.75 0 0 0-1.5 0v5.25c0 .69-.56 1.25-1.25 1.25h-9.5c-.69 0-1.25-.56-1.25-1.25z\"\u002F>\u003C\u002Fg>",{"left":64,"top":64,"width":130,"height":130,"rotate":64,"vFlip":66,"hFlip":66,"body":141},"\u003Cpath fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M5.22 8.22a.75.75 0 0 1 1.06 0L10 11.94l3.72-3.72a.75.75 0 1 1 1.06 1.06l-4.25 4.25a.75.75 0 0 1-1.06 0L5.22 9.28a.75.75 0 0 1 0-1.06\" clip-rule=\"evenodd\"\u002F>",{"left":64,"top":64,"width":130,"height":130,"rotate":64,"vFlip":66,"hFlip":66,"body":143},"\u003Cg fill=\"currentColor\">\u003Cpath fill-rule=\"evenodd\" d=\"M14.5 10a4.5 4.5 0 0 0 4.284-5.882c-.105-.324-.51-.391-.751-.15L15.34 6.66a.45.45 0 0 1-.493.11a3 3 0 0 1-1.618-1.616a.455.455 0 0 1 .11-.494l2.694-2.692c.24-.241.174-.647-.15-.752a4.5 4.5 0 0 0-5.873 4.575c.055.873-.128 1.808-.8 2.368l-7.23 6.024a2.724 2.724 0 1 0 3.837 3.837l6.024-7.23c.56-.672 1.495-.855 2.368-.8q.144.01.291.01M5 16a1 1 0 1 1-2 0a1 1 0 0 1 2 0\" clip-rule=\"evenodd\"\u002F>\u003Cpath d=\"M14.5 11.5q.26 0 .514-.022l3.754 3.754a2.5 2.5 0 0 1-3.536 3.536l-4.41-4.41l2.172-2.607c.052-.062.147-.138.342-.196a2.3 2.3 0 0 1 .777-.067q.192.012.387.012M6 4.586l2.33 2.33a.5.5 0 0 1-.08.09L6.8 8.214L4.586 6H3.309a.5.5 0 0 1-.447-.276l-1.7-3.402a.5.5 0 0 1 .093-.577l.49-.49a.5.5 0 0 1 .577-.094l3.402 1.7A.5.5 0 0 1 6 3.31z\"\u002F>\u003C\u002Fg>",{"left":64,"top":64,"width":130,"height":130,"rotate":64,"vFlip":66,"hFlip":66,"body":145},"\u003Cpath fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M3 10a.75.75 0 0 1 .75-.75h10.638L10.23 5.29a.75.75 0 1 1 1.04-1.08l5.5 5.25a.75.75 0 0 1 0 1.08l-5.5 5.25a.75.75 0 1 1-1.04-1.08l4.158-3.96H3.75A.75.75 0 0 1 3 10\" clip-rule=\"evenodd\"\u002F>",1786278643305]