{
   "expand": "operations,versionedRepresentations,editmeta,changelog,renderedFields",
   "id": "322547",
   "self": "https://bugs.mojang.com/rest/api/2/issue/322547",
   "key": "BDS-5318",
   "fields": {
      "issuetype": "1",
      "project": "11700",
      "fixVersions": [],
      "resolution": "6",
      "customfield_10500": {
         "self": "https://bugs.mojang.com/rest/api/2/customFieldOption/10303",
         "value": "Confirmed",
         "id": "10303",
         "disabled": false
      },
      "customfield_12800": null,
      "customfield_12602": [],
      "customfield_12601": null,
      "customfield_12604": null,
      "customfield_12603": null,
      "customfield_12606": null,
      "customfield_12605": null,
      "customfield_12608": null,
      "resolutiondate": "2020-10-30T12:51:09.000+0200",
      "customfield_12607": null,
      "customfield_12609": null,
      "workratio": -1,
      "lastViewed": null,
      "watches": {
         "self": "https://bugs.mojang.com/rest/api/2/issue/BDS-5318/watchers",
         "watchCount": 3,
         "isWatching": false
      },
      "created": "2020-05-14T00:07:48.000+0300",
      "customfield_12000": null,
      "customfield_12201": null,
      "customfield_12600": null,
      "labels": [],
      "customfield_11700": "{}",
      "versions": [
         "19406"
      ],
      "issuelinks": [],
      "assignee": null,
      "updated": "2020-10-30T12:51:09.000+0200",
      "status": "5",
      "description": "h4. Summary\r\nOP command is not available when using BDS, the same command on Realms appears to function normally.\r\n\r\nh4. Steps to reproduce...\r\n# Setup new BDS instance\r\n# Log in to server and OP your player\r\n# Attempt to use the /OP command in game to elevate another player\r\n# Note that the command appears as an autocomplete option but returns \"Unknown Command: OP. Please check that the command exists and you have permission to use it.\"\r\n\r\nh4. What I expected to happen...\r\nOp command works in game as it does on Realms.\r\n\r\nh4. What actually happens...\r\nThe game returns an error that the command does not exist or is unavailable.\r\n\r\nh4. Notes\r\n- The user running the command must be opped or the command doesn't show in the autocomplete list (expected).\r\n- Having cheats enabled or disabled does not impact the issue.\r\n- Command works as expected on a Realm.\r\n- OP command works fine from the console.",
      "customfield_11100": null,
      "customfield_11300": null,
      "customfield_11500": "395303",
      "customfield_12503": null,
      "customfield_12700": null,
      "customfield_12502": null,
      "customfield_12504": null,
      "attachment": [],
      "summary": "Op command not working in-game",
      "creator": "JIRAUSER485660",
      "reporter": "JIRAUSER485660",
      "customfield_10002": null,
      "customfield_12501": null,
      "customfield_12500": null,
      "customfield_11601": null,
      "customfield_11600": "0|i1dfjb:",
      "environment": "Ubuntu 18.04.3 LTS",
      "customfield_11801": null,
      "customfield_11800": null,
      "customfield_11602": null,
      "customfield_11802": null,
      "comment": {
         "comments": [
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/322547/comment/697226",
               "id": "697226",
               "author": "ionicecko",
               "body": "When using the command in the console are you using the \"/\"??\r\n\r\nCommands in the console don't need, and wont work with, the / but there shouldn't be any issue running it from the console.\r\n\r\nI haven't had enough time to test properly but its very possible its broken in-game. The above should get you a workaround though.",
               "updateAuthor": "ionicecko",
               "created": "2020-05-14T11:25:10.092+0300",
               "updated": "2020-05-14T11:25:10.092+0300"
            },
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/322547/comment/697457",
               "id": "697457",
               "author": "JIRAUSER485660",
               "body": "Thanks @IonicEcko. Yes, Op commands doesn't work in console with or without the \"/\". After further exploration, I found that I was able to Op other players using the in-game GUI (clicking the crown icon). However, the in-game command still doesn't work.\r\n\r\nFWIW, the reason I don't rely on the server console is because I run this in Ubuntu as a startup script and so it's headless. (In full transparency, I could re-write the script to use 'screen'and put to the background to re-access the console, however, since there are in-game commands, I was hoping I wouldn't need to bother.",
               "updateAuthor": "JIRAUSER485660",
               "created": "2020-05-14T17:28:55.404+0300",
               "updated": "2020-05-14T17:28:55.404+0300"
            },
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/322547/comment/707462",
               "id": "707462",
               "author": "JIRAUSER479325",
               "body": "is cheats enabled?",
               "updateAuthor": "JIRAUSER479325",
               "created": "2020-05-26T06:42:33.491+0300",
               "updated": "2020-05-26T06:42:33.491+0300"
            },
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/322547/comment/707985",
               "id": "707985",
               "author": "JIRAUSER485660",
               "body": "Yes, cheats enabled.",
               "updateAuthor": "JIRAUSER485660",
               "created": "2020-05-26T16:10:15.466+0300",
               "updated": "2020-05-26T16:10:15.466+0300"
            },
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/322547/comment/721116",
               "id": "721116",
               "author": "JIRAUSER501090",
               "body": "it doesnt work directly in the world only from console",
               "updateAuthor": "JIRAUSER501090",
               "created": "2020-06-06T14:15:47.309+0300",
               "updated": "2020-06-06T14:15:47.309+0300"
            },
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/322547/comment/832139",
               "id": "832139",
               "author": "mega_spud",
               "body": "*Thank you for your report!*\r\nHowever, this issue has been closed as *{color:#FF5722}Working as Intended{color}*.\r\n\r\nNote:\r\n\"You need to make sure that your server settings has the right op-permission-level set (the right value is 2 in this case).  You can change this in the server.properties file in the server files, and then you will be able to use the /op command.\"\r\n\r\nIf you need help or have a suggestion you might like to follow a link below.\r\n\r\n*Quick Links*:\r\n\ud83d\udcd3 [Issue Guidelines|http://help.mojang.com/customer/portal/articles/801354-writing-helpful-bug-reports-for-minecraft|How To Write Awesome Tickets! \ud83d\udcaf] -- \ud83d\udcac [Mojang Support|https://help.minecraft.net/hc/en-us/requests/new|Account Support \ud83d\udd79] -- \ud83d\udce7 [Suggestions|https://feedback.minecraft.net/|Feedback and Suggestions \u270d\ufe0f] -- \ud83d\udcd6 [Minecraft Wiki|http://minecraft.gamepedia.com/Minecraft_Wiki|Official Minecraft Wiki \ud83c\udf93]",
               "updateAuthor": "mega_spud",
               "created": "2020-10-30T12:51:09.271+0200",
               "updated": "2020-10-30T12:51:09.271+0200"
            }
         ],
         "maxResults": 6,
         "total": 6,
         "startAt": 0
      },
      "votes": {
         "self": "https://bugs.mojang.com/rest/api/2/issue/BDS-5318/votes",
         "votes": 1,
         "hasVoted": false
      }
   },
   "changelog": {
      "startAt": 0,
      "maxResults": 6,
      "total": 6,
      "histories": [
         {
            "id": "1757575",
            "author": "ionicecko",
            "created": "2020-08-08T08:42:31.255+0300",
            "items": [
               {
                  "field": "description",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": "I have a private BE server running, 1.14.60. I have\u00a0\"operator\" permission in permissions.json and am able to use most commands in game, where others can't (so therefore, I believe that's set correctly). However, when I attempt to use the op command on other users it responds with \"Unknown command: op. Please check that the command exists and that you have permission to use it.\" I also attempted to use the op command directly in the server console but got a different error there (I forget what, but something about unrecognized something).\r\n\r\n\u00a0\r\n\r\nEverything else seems to work correctly.",
                  "to": null,
                  "toString": "h4. Summary\r\nOP command is not available when using BDS, the same command on Realms appears to function normally.\r\n\r\nh4. Steps to reproduce...\r\n# Setup new BDS instance\r\n# Log in to server and OP your player\r\n# Attempt to use the /OP command in game to elevate another player\r\n# Note that the command appears as an autocomplete option but returns \"Unknown Command: OP. Please check that the command exists and you have permission to use it.\"\r\n\r\nh4. What I expected to happen...\r\nOp command works in game as it does on Realms.\r\n\r\nh4. What actually happens...\r\nThe game returns an error that the command does not exist or is unavailable.\r\n\r\nh4. Notes\r\n- The user running the command must be opped or the command doesn't show in the autocomplete list (expected)\r\n- Having cheats enabled or disabled does not impact"
               }
            ]
         },
         {
            "id": "1757576",
            "author": "ionicecko",
            "created": "2020-08-08T08:43:51.051+0300",
            "items": [
               {
                  "field": "description",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": "h4. Summary\r\nOP command is not available when using BDS, the same command on Realms appears to function normally.\r\n\r\nh4. Steps to reproduce...\r\n# Setup new BDS instance\r\n# Log in to server and OP your player\r\n# Attempt to use the /OP command in game to elevate another player\r\n# Note that the command appears as an autocomplete option but returns \"Unknown Command: OP. Please check that the command exists and you have permission to use it.\"\r\n\r\nh4. What I expected to happen...\r\nOp command works in game as it does on Realms.\r\n\r\nh4. What actually happens...\r\nThe game returns an error that the command does not exist or is unavailable.\r\n\r\nh4. Notes\r\n- The user running the command must be opped or the command doesn't show in the autocomplete list (expected)\r\n- Having cheats enabled or disabled does not impact",
                  "to": null,
                  "toString": "h4. Summary\r\nOP command is not available when using BDS, the same command on Realms appears to function normally.\r\n\r\nh4. Steps to reproduce...\r\n# Setup new BDS instance\r\n# Log in to server and OP your player\r\n# Attempt to use the /OP command in game to elevate another player\r\n# Note that the command appears as an autocomplete option but returns \"Unknown Command: OP. Please check that the command exists and you have permission to use it.\"\r\n\r\nh4. What I expected to happen...\r\nOp command works in game as it does on Realms.\r\n\r\nh4. What actually happens...\r\nThe game returns an error that the command does not exist or is unavailable.\r\n\r\nh4. Notes\r\n- The user running the command must be opped or the command doesn't show in the autocomplete list (expected).\r\n- Having cheats enabled or disabled does not impact the issue.\r\n- Command works as expected on a Realm.\r\n- OP command works fine from the console."
               }
            ]
         },
         {
            "id": "1757577",
            "author": "ionicecko",
            "created": "2020-08-08T08:44:04.480+0300",
            "items": [
               {
                  "field": "Confirmation Status",
                  "fieldtype": "custom",
                  "from": "10300",
                  "fromString": "Unconfirmed",
                  "to": "10303",
                  "toString": "Confirmed"
               },
               {
                  "field": "status",
                  "fieldtype": "jira",
                  "from": "1",
                  "fromString": "Open",
                  "to": "1",
                  "toString": "Open"
               }
            ]
         },
         {
            "id": "1757578",
            "author": "ionicecko",
            "created": "2020-08-08T08:44:18.912+0300",
            "items": [
               {
                  "field": "summary",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": "Op command not working",
                  "to": null,
                  "toString": "Op command not working in-game"
               }
            ]
         },
         {
            "id": "1766209",
            "author": "JIRAUSER484247",
            "created": "2020-08-12T19:05:47.434+0300",
            "items": [
               {
                  "field": "ADO",
                  "fieldtype": "custom",
                  "from": null,
                  "fromString": null,
                  "to": null,
                  "toString": "395303"
               },
               {
                  "field": "status",
                  "fieldtype": "jira",
                  "from": "1",
                  "fromString": "Open",
                  "to": "1",
                  "toString": "Open"
               }
            ]
         },
         {
            "id": "1856705",
            "author": "mega_spud",
            "created": "2020-10-30T12:51:09.365+0200",
            "items": [
               {
                  "field": "resolution",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": null,
                  "to": "6",
                  "toString": "Works As Intended"
               },
               {
                  "field": "status",
                  "fieldtype": "jira",
                  "from": "1",
                  "fromString": "Open",
                  "to": "5",
                  "toString": "Resolved"
               }
            ]
         }
      ]
   }
}