{
   "expand": "operations,versionedRepresentations,editmeta,changelog,renderedFields",
   "id": "256670",
   "self": "https://bugs.mojang.com/rest/api/2/issue/256670",
   "key": "BDS-1336",
   "fields": {
      "issuetype": "1",
      "project": "11700",
      "fixVersions": [],
      "resolution": null,
      "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": null,
      "customfield_12607": null,
      "customfield_12609": null,
      "workratio": -1,
      "lastViewed": null,
      "watches": {
         "self": "https://bugs.mojang.com/rest/api/2/issue/BDS-1336/watchers",
         "watchCount": 3,
         "isWatching": false
      },
      "created": "2019-08-23T03:07:14.000+0300",
      "customfield_12000": null,
      "customfield_12201": null,
      "customfield_12600": null,
      "labels": [],
      "customfield_11700": "{}",
      "versions": [
         "20217",
         "17513",
         "19549",
         "19608",
         "21502",
         "21831",
         "22412"
      ],
      "issuelinks": [
         {
            "id": "188667",
            "self": "https://bugs.mojang.com/rest/api/2/issueLink/188667",
            "type": "10102",
            "inwardIssue": "334511"
         },
         {
            "id": "193114",
            "self": "https://bugs.mojang.com/rest/api/2/issueLink/193114",
            "type": "10102",
            "inwardIssue": "351864"
         },
         {
            "id": "206755",
            "self": "https://bugs.mojang.com/rest/api/2/issueLink/206755",
            "type": "10102",
            "inwardIssue": "380621"
         },
         {
            "id": "212946",
            "self": "https://bugs.mojang.com/rest/api/2/issueLink/212946",
            "type": "10102",
            "inwardIssue": "391364"
         },
         {
            "id": "292668",
            "self": "https://bugs.mojang.com/rest/api/2/issueLink/292668",
            "type": "10102",
            "inwardIssue": "503265"
         },
         {
            "id": "285464",
            "self": "https://bugs.mojang.com/rest/api/2/issueLink/285464",
            "type": "10102",
            "inwardIssue": "536912"
         },
         {
            "id": "244251",
            "self": "https://bugs.mojang.com/rest/api/2/issueLink/244251",
            "type": "10102",
            "inwardIssue": "455875"
         },
         {
            "id": "290518",
            "self": "https://bugs.mojang.com/rest/api/2/issueLink/290518",
            "type": "10102",
            "inwardIssue": "545426"
         },
         {
            "id": "196312",
            "self": "https://bugs.mojang.com/rest/api/2/issueLink/196312",
            "type": "10103",
            "inwardIssue": "346781"
         }
      ],
      "assignee": null,
      "updated": "2024-06-25T17:29:25.000+0300",
      "status": "4",
      "description": "*Description*\r\nThis is a pretty big exploit I came across yesterday while trying out the server. When a player is made op they can't change their game mode or use the give command if cheats are off. That is normal expected behavior. Now through the console, the game mode of a player can be changed and it won't affect the \"cheat\" status. The player can then proceed to get materials for the achievements.\r\n\r\n*Steps to replicate:*\r\n # Change player game mode to creative\r\n # Get material (wheat for example)\r\n # Complete the task to get the achievement (craft some bread with the wheat).\r\n\r\n*Possible Fix for Exploit:*\r\nI saw that there is a command to toggle cheats on the server. I think a possible fix would be to prompt the person running the server to enable cheats when they try to do commands like gamemode or give (any command that is considered cheating).\u00a0Could be a yes or no prompt similar to how its shown when adding cheats to a world. That way cheat commands can only run if there they accept.",
      "customfield_11100": 8.0,
      "customfield_11300": null,
      "customfield_11500": "384881",
      "customfield_12503": null,
      "customfield_12700": null,
      "customfield_12502": null,
      "security": {
         "self": "https://bugs.mojang.com/rest/api/2/securitylevel/10318",
         "id": "10318",
         "description": "Private, viewable only by volunteers and up.",
         "name": "Minecraft - Private"
      },
      "customfield_12504": null,
      "attachment": [],
      "summary": "Achievements can be unlocked through console",
      "creator": "zeldanerd123",
      "reporter": "zeldanerd123",
      "customfield_10002": null,
      "customfield_12501": null,
      "customfield_12500": null,
      "customfield_11601": null,
      "customfield_11600": "0|i126w7:",
      "environment": null,
      "customfield_11801": null,
      "customfield_11800": null,
      "customfield_11602": null,
      "customfield_11802": null,
      "comment": {
         "comments": [
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/256670/comment/1041145",
               "id": "1041145",
               "author": "ocelotonesie",
               "body": "MEQS_KEEP_PRIVATE",
               "updateAuthor": "ocelotonesie",
               "created": "2021-07-19T01:29:05.473+0300",
               "updated": "2021-07-19T01:29:05.473+0300",
               "visibility": {
                  "type": "group",
                  "value": "staff"
               }
            },
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/256670/comment/1298293",
               "id": "1298293",
               "author": "greymagic27",
               "body": "Is this still an issue for you in the latest release?",
               "updateAuthor": "greymagic27",
               "created": "2024-01-04T18:54:45.827+0200",
               "updated": "2024-01-04T18:54:45.827+0200"
            },
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/256670/comment/1298362",
               "id": "1298362",
               "author": "zeldanerd123",
               "body": "This is still the case. I just downloaded the latest version of the software and ran it. Once I joined, I gave myself creative mode via the console without enabling cheats.\u00a0 I got obsidian, diamond, and book from creative menu. Then I change my game mode back to survival via the console. Afterwards in came I craft an enchanting table and got the enchanter achievement.\u00a0",
               "updateAuthor": "zeldanerd123",
               "created": "2024-01-04T22:28:22.059+0200",
               "updated": "2024-01-04T22:28:22.059+0200"
            },
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/256670/comment/1334348",
               "id": "1334348",
               "author": "jarl-penguin",
               "body": "I was able to unlock the \"Careful restoration\" achievement while still being in Creative mode.",
               "updateAuthor": "jarl-penguin",
               "created": "2024-06-25T00:21:07.043+0300",
               "updated": "2024-06-25T00:21:07.043+0300"
            },
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/256670/comment/1334504",
               "id": "1334504",
               "author": "zeldanerd123",
               "body": "Thank you for updating my description. I noticed that behavior the last time I checked if the exploit was still around. It's doesn't seem to matter what gamemode as long as the task is completed.",
               "updateAuthor": "zeldanerd123",
               "created": "2024-06-25T17:29:25.131+0300",
               "updated": "2024-06-25T17:29:25.131+0300"
            }
         ],
         "maxResults": 5,
         "total": 5,
         "startAt": 0
      },
      "votes": {
         "self": "https://bugs.mojang.com/rest/api/2/issue/BDS-1336/votes",
         "votes": 1,
         "hasVoted": false
      }
   },
   "changelog": {
      "startAt": 0,
      "maxResults": 31,
      "total": 31,
      "histories": [
         {
            "id": "1665936",
            "author": "ionicecko",
            "created": "2020-06-21T05:32:02.452+0300",
            "items": [
               {
                  "field": "Link",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": null,
                  "to": "BDS-5861",
                  "toString": "This issue is duplicated by BDS-5861"
               }
            ]
         },
         {
            "id": "1665938",
            "author": "arisabot",
            "created": "2020-06-21T05:32:10.938+0300",
            "items": [
               {
                  "field": "Version",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": null,
                  "to": "19406",
                  "toString": "1.14.60"
               }
            ]
         },
         {
            "id": "1665939",
            "author": "ionicecko",
            "created": "2020-06-21T05:32:18.164+0300",
            "items": [
               {
                  "field": "Confirmation Status",
                  "fieldtype": "custom",
                  "from": null,
                  "fromString": null,
                  "to": "10303",
                  "toString": "Confirmed"
               },
               {
                  "field": "Version",
                  "fieldtype": "jira",
                  "from": "19406",
                  "fromString": "1.14.60",
                  "to": null,
                  "toString": null
               },
               {
                  "field": "environment",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": "Running it on windows 10\n\n\u00a0\n\nI don't know how to find the server version. I downloaded the software from the website yesterday so its the one that supports the latest version of bedrock.\n\n\u00a0",
                  "to": null,
                  "toString": "\r\n\u00a0"
               },
               {
                  "field": "status",
                  "fieldtype": "jira",
                  "from": "1",
                  "fromString": "Open",
                  "to": "1",
                  "toString": "Open"
               }
            ]
         },
         {
            "id": "1665940",
            "author": "ionicecko",
            "created": "2020-06-21T05:32:28.326+0300",
            "items": [
               {
                  "field": "environment",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": "\r\n\u00a0",
                  "to": null,
                  "toString": null
               }
            ]
         },
         {
            "id": "1690017",
            "author": "schortan",
            "created": "2020-06-29T17:43:37.242+0300",
            "items": [
               {
                  "field": "Linked",
                  "fieldtype": "custom",
                  "from": null,
                  "fromString": null,
                  "to": null,
                  "toString": "1"
               },
               {
                  "field": "status",
                  "fieldtype": "jira",
                  "from": "1",
                  "fromString": "Open",
                  "to": "1",
                  "toString": "Open"
               }
            ]
         },
         {
            "id": "1705563",
            "author": "ionicecko",
            "created": "2020-07-07T07:37:01.901+0300",
            "items": [
               {
                  "field": "Link",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": null,
                  "to": "BDS-7112",
                  "toString": "This issue is duplicated by BDS-7112"
               }
            ]
         },
         {
            "id": "1705565",
            "author": "arisabot",
            "created": "2020-07-07T07:37:08.368+0300",
            "items": [
               {
                  "field": "Version",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": null,
                  "to": "19549",
                  "toString": "1.16.1"
               }
            ]
         },
         {
            "id": "1707417",
            "author": "arisabot",
            "created": "2020-07-08T07:37:11.747+0300",
            "items": [
               {
                  "field": "Linked",
                  "fieldtype": "custom",
                  "from": null,
                  "fromString": "1",
                  "to": null,
                  "toString": "2"
               },
               {
                  "field": "status",
                  "fieldtype": "jira",
                  "from": "1",
                  "fromString": "Open",
                  "to": "1",
                  "toString": "Open"
               }
            ]
         },
         {
            "id": "1723411",
            "author": "mega_spud",
            "created": "2020-07-17T13:02:28.142+0300",
            "items": [
               {
                  "field": "ADO",
                  "fieldtype": "custom",
                  "from": null,
                  "fromString": null,
                  "to": null,
                  "toString": "384881"
               },
               {
                  "field": "status",
                  "fieldtype": "jira",
                  "from": "1",
                  "fromString": "Open",
                  "to": "1",
                  "toString": "Open"
               }
            ]
         },
         {
            "id": "1735919",
            "author": "ionicecko",
            "created": "2020-07-26T09:28:14.688+0300",
            "items": [
               {
                  "field": "Link",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": null,
                  "to": "MCPE-87449",
                  "toString": "This issue relates to MCPE-87449"
               }
            ]
         },
         {
            "id": "1857987",
            "author": "ionicecko",
            "created": "2020-11-01T08:20:29.324+0200",
            "items": [
               {
                  "field": "Link",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": null,
                  "to": "BDS-9553",
                  "toString": "This issue is duplicated by BDS-9553"
               }
            ]
         },
         {
            "id": "1857989",
            "author": "arisabot",
            "created": "2020-11-01T08:20:39.804+0200",
            "items": [
               {
                  "field": "Version",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": null,
                  "to": "19608",
                  "toString": "1.16.40"
               }
            ]
         },
         {
            "id": "1859250",
            "author": "arisabot",
            "created": "2020-11-02T08:20:50.955+0200",
            "items": [
               {
                  "field": "Linked",
                  "fieldtype": "custom",
                  "from": null,
                  "fromString": "2",
                  "to": null,
                  "toString": "3"
               },
               {
                  "field": "status",
                  "fieldtype": "jira",
                  "from": "1",
                  "fromString": "Open",
                  "to": "1",
                  "toString": "Open"
               }
            ]
         },
         {
            "id": "1916469",
            "author": "ionicecko",
            "created": "2020-12-09T05:28:04.812+0200",
            "items": [
               {
                  "field": "Link",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": null,
                  "to": "BDS-10222",
                  "toString": "This issue is duplicated by BDS-10222"
               }
            ]
         },
         {
            "id": "1918168",
            "author": "arisabot",
            "created": "2020-12-10T05:28:14.589+0200",
            "items": [
               {
                  "field": "Linked",
                  "fieldtype": "custom",
                  "from": null,
                  "fromString": "3",
                  "to": null,
                  "toString": "4"
               },
               {
                  "field": "status",
                  "fieldtype": "jira",
                  "from": "1",
                  "fromString": "Open",
                  "to": "1",
                  "toString": "Open"
               }
            ]
         },
         {
            "id": "2292316",
            "author": "ocelotonesie",
            "created": "2021-07-19T01:28:22.960+0300",
            "items": [
               {
                  "field": "Link",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": null,
                  "to": "MCPE-135947",
                  "toString": "This issue is duplicated by MCPE-135947"
               }
            ]
         },
         {
            "id": "2292318",
            "author": "ocelotonesie",
            "created": "2021-07-19T01:28:53.245+0300",
            "items": [
               {
                  "field": "Version",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": null,
                  "to": "20217",
                  "toString": "1.17.10"
               }
            ]
         },
         {
            "id": "2294148",
            "author": "arisabot",
            "created": "2021-07-20T01:29:10.718+0300",
            "items": [
               {
                  "field": "Linked",
                  "fieldtype": "custom",
                  "from": null,
                  "fromString": "4",
                  "to": null,
                  "toString": "5"
               },
               {
                  "field": "status",
                  "fieldtype": "jira",
                  "from": "1",
                  "fromString": "Open",
                  "to": "1",
                  "toString": "Open"
               }
            ]
         },
         {
            "id": "2824830",
            "author": "ocelotonesie",
            "created": "2023-06-18T13:36:58.603+0300",
            "items": [
               {
                  "field": "Link",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": null,
                  "to": "BDS-18464",
                  "toString": "This issue is duplicated by BDS-18464"
               }
            ]
         },
         {
            "id": "2824832",
            "author": "arisabot",
            "created": "2023-06-18T13:37:00.826+0300",
            "items": [
               {
                  "field": "Version",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": null,
                  "to": "21502",
                  "toString": "1.20.0"
               }
            ]
         },
         {
            "id": "2825296",
            "author": "arisabot",
            "created": "2023-06-19T13:37:05.258+0300",
            "items": [
               {
                  "field": "Linked",
                  "fieldtype": "custom",
                  "from": null,
                  "fromString": "5",
                  "to": null,
                  "toString": "6"
               },
               {
                  "field": "status",
                  "fieldtype": "jira",
                  "from": "1",
                  "fromString": "Open",
                  "to": "1",
                  "toString": "Open"
               }
            ]
         },
         {
            "id": "2892612",
            "author": "ocelotonesie",
            "created": "2023-11-03T11:43:29.161+0200",
            "items": [
               {
                  "field": "Link",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": null,
                  "to": "MCPE-176631",
                  "toString": "This issue is duplicated by MCPE-176631"
               }
            ]
         },
         {
            "id": "2893143",
            "author": "arisabot",
            "created": "2023-11-04T11:43:35.526+0200",
            "items": [
               {
                  "field": "Linked",
                  "fieldtype": "custom",
                  "from": null,
                  "fromString": "6",
                  "to": null,
                  "toString": "7"
               },
               {
                  "field": "status",
                  "fieldtype": "jira",
                  "from": "1",
                  "fromString": "Open",
                  "to": "1",
                  "toString": "Open"
               }
            ]
         },
         {
            "id": "2919260",
            "author": "greymagic27",
            "created": "2024-01-03T19:21:02.979+0200",
            "items": [
               {
                  "field": "resolution",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": null,
                  "to": "10001",
                  "toString": "Awaiting Response"
               },
               {
                  "field": "status",
                  "fieldtype": "jira",
                  "from": "1",
                  "fromString": "Open",
                  "to": "5",
                  "toString": "Resolved"
               }
            ]
         },
         {
            "id": "2919517",
            "author": "greymagic27",
            "created": "2024-01-04T18:54:43.298+0200",
            "items": [
               {
                  "field": "Comment",
                  "fieldtype": "jira",
                  "from": "Is this still an issue for you in the latest release?",
                  "fromString": null,
                  "to": null,
                  "toString": null
               }
            ]
         },
         {
            "id": "2919525",
            "author": "greymagic27",
            "created": "2024-01-04T19:07:19.872+0200",
            "items": [
               {
                  "field": "Link",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": null,
                  "to": "BDS-16994",
                  "toString": "This issue is duplicated by BDS-16994"
               }
            ]
         },
         {
            "id": "2919784",
            "author": "arisabot",
            "created": "2024-01-04T22:28:28.721+0200",
            "items": [
               {
                  "field": "resolution",
                  "fieldtype": "jira",
                  "from": "10001",
                  "fromString": "Awaiting Response",
                  "to": null,
                  "toString": null
               },
               {
                  "field": "status",
                  "fieldtype": "jira",
                  "from": "5",
                  "fromString": "Resolved",
                  "to": "4",
                  "toString": "Reopened"
               }
            ]
         },
         {
            "id": "2919790",
            "author": "greymagic27",
            "created": "2024-01-04T22:54:30.978+0200",
            "items": [
               {
                  "field": "Version",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": null,
                  "to": "21831",
                  "toString": "1.20.51"
               }
            ]
         },
         {
            "id": "2920144",
            "author": "arisabot",
            "created": "2024-01-05T22:54:35.156+0200",
            "items": [
               {
                  "field": "Linked",
                  "fieldtype": "custom",
                  "from": null,
                  "fromString": "7",
                  "to": null,
                  "toString": "8"
               },
               {
                  "field": "status",
                  "fieldtype": "jira",
                  "from": "4",
                  "fromString": "Reopened",
                  "to": "4",
                  "toString": "Reopened"
               }
            ]
         },
         {
            "id": "3024809",
            "author": "jarl-penguin",
            "created": "2024-06-25T00:19:57.255+0300",
            "items": [
               {
                  "field": "Version",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": null,
                  "to": "22412",
                  "toString": "1.21.1"
               },
               {
                  "field": "status",
                  "fieldtype": "jira",
                  "from": "4",
                  "fromString": "Reopened",
                  "to": "4",
                  "toString": "Reopened"
               }
            ]
         },
         {
            "id": "3024810",
            "author": "jarl-penguin",
            "created": "2024-06-25T00:21:39.967+0300",
            "items": [
               {
                  "field": "description",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": "*Description*\u00a0\n\nThis is a pretty big exploit I came across yesterday while trying out the server. When a player is made op they can't change their game mode or use the give command if cheats are off. That is normal expected behavior. Now through the console, the game mode of a player can be changed and it won't affect the \"cheat\" status. The player can then proceed to get materials for the achievements. If the player can only get the achievement while completing the task in survival.\u00a0\n\n\u00a0\n\n*Steps to replicate:*\n # Change player game mode to creative\n # Get material (wheat for example)\n # Change the player gamemode back to survival\n # Complete the task to get the achievement (craft some bread with the wheat).\n\n*Possible Fix for Exploit:*\n\nI saw that there is a command to toggle cheats on the server. I think a possible fix would be to prompt the person running the server to enable cheats when they try to do commands like game mode or give (any command that is considered cheating).\u00a0 Could be a yes or no prompt similar to how its shown when adding cheats to a world. That way cheat commands can only run if there they accept.",
                  "to": null,
                  "toString": "*Description*\r\nThis is a pretty big exploit I came across yesterday while trying out the server. When a player is made op they can't change their game mode or use the give command if cheats are off. That is normal expected behavior. Now through the console, the game mode of a player can be changed and it won't affect the \"cheat\" status. The player can then proceed to get materials for the achievements.\r\n\r\n*Steps to replicate:*\r\n # Change player game mode to creative\r\n # Get material (wheat for example)\r\n # Complete the task to get the achievement (craft some bread with the wheat).\r\n\r\n*Possible Fix for Exploit:*\r\nI saw that there is a command to toggle cheats on the server. I think a possible fix would be to prompt the person running the server to enable cheats when they try to do commands like gamemode or give (any command that is considered cheating).\u00a0Could be a yes or no prompt similar to how its shown when adding cheats to a world. That way cheat commands can only run if there they accept."
               }
            ]
         }
      ]
   }
}