With the command console open, all you'll need to do is type in your cheat code and the game will take care of the rest. If you're playing on another server, try pulling up the command console menu – this varies by platform, but can be performed on PC using the '/' key. If you're the one creating the server, you can simply enable this option during setup. How to Give Items to Another Player or Yourself in Minecraftīefore you can start zipping around the map and giving all your friends free diamonds, you'll need to make sure you're playing on a server that allows console commands.
How to Teleport a Player to Another Player in Minecraft.How to Change the Gamemode of a Player in Minecraft.List of Useful Minecraft Server Commands.