Give command works in survival when a space is omitted
You can use the /give command in pure survival, without cheats, without disabling achievements. This is accomplished by omitting the first space in the command directly after "/give". It works for ALL blocks and items, from dirt to Notch apples and netherite armour. Although this can be used for good (e.g. using it to retrieve armour lost from despawning armour stands/item frames), it could easily be used by cheaters, trolls and griefers on multiplayer servers or realms. (That would also make the wickedest speedrun; someone please do a run giving yourself end portal frames–that would just be hilarious!)
This is shown in the following video I found: https://youtu.be/FaI_AS9QtRw
(Seems like it's been around for a while, but still working in the latest version, and couldn't find an existing report while searching for it–apologies if a report for this bug has already been created.)
Steps to reproduce
- Create a new world in survival, leaving cheats off.
- Type into chat: "/give@s dirt"
Expected results
You get nothing, and the chat displays that cheats are disabled in that world.
Observed results
A piece of dirt is given to the player, and in chat it displays a success message as if it had been given to the player in creative mode.
2022-01-10, 11:39 AM
2023-01-20, 05:52 PM
2023-01-20, 05:52 PM
0
0
-