Questions tagged [minecraft-commands]

Anything related to the usage of commands, command blocks and functions in the Minecraft game series. If you're building a redstone device without commands, use the "minecraft-redstone" tag instead. Always use this tag together with the "minecraft-java-edition" or "minecraft-bedrock-edition" tag.

Filter by
Sorted by
Tagged with
1
vote
2answers
437 views

Minecraft server spawn command

What command do I use to spawn to a different area in my Minecraft server? I spawned on a island and there is no land near? I really need help and my friends want to join and they are getting ...
1
vote
3answers
514 views

How do I know how many items were cleared with the clear command?

When I have a command block and use the clear command, there is a way to know the amount of items were cleared? For example, the command: clear theplayer minecraft:stone How do I know how much ...
11
votes
3answers
55k views

How do I choose what horse I spawn?

There are summon commands for mobs in Minecraft, ie; /summon EntityHorse ~ ~ ~ {Type:4,Tame:1} Summons a Tamed Skeleton horse with full health. So my real question here is: What are the specifics ...
1
vote
1answer
3k views

Is there a way to constantly track one players jumping activity

I made these commands this command sets a ver to count all jumps by all players /scoreboard objectives add didjump stat.jump particular player Jumps this command sets up a var to use as a display /...
12
votes
1answer
68k views

How to set a command block with a command inside using the setblock command

Does someone know how to set a command block with a command inside using the setblock command? I have created this code /setblock <x> <y> <z> command_block {TileEntityData:{Command:"...
2
votes
1answer
2k views

How do I get the @a player selector to work with the /effect command on a Bukkit server?

I'm trying to use the /effect command to play around with giving everyone on my server a jump boost. The problem is that I can't seem to get the @a player selector to work. Is this because I'm using ...
2
votes
1answer
752 views

Scoreboard and testfor issues using commandblocks

I'm building on a map in Minecraft, where a player (myself for example) will press a button and his status changes into "The Player is ready for the game to begin". So, press button -> /...
2
votes
4answers
47k views

What command do I put into a command block that can set the spawn of the nearest player to a different specific location? [duplicate]

I want to use the command block to set the nearest player's spawn to a specific location, how to I do it? And will the player spawn there if he dies?
2
votes
2answers
9k views

Why Isn't The /playsound Command Working In 1.7.2?

I am currently playing Minecraft 1.7.2 and am using a command block in a roller-coaster. I am trying to make a command block play the sound "moan1" from the "resources" folder in the directory "...
3
votes
1answer
4k views

Is it possible to check for an injured player in Minecraft?

I am creating a mini-game in Minecraft, where I must check to see if the player is injured. The injured player will then be given an item. My guess is that the command would look something like /...
-4
votes
1answer
407 views

What is Every Single Command in Minecraft [duplicate]

I would like to know how what the commands in minecraft are that includes cheats. The help command does not state every command.
10
votes
5answers
6k views

Automatically running a Minecraft command

Is there a way to automatically run a Minecraft command when starting a new game, loading an existing world, joining a server, or re-spawning? For example, is there a way to automatically enable ...
8
votes
2answers
7k views

Selecting previous target in a second command block

I'm trying to make a system that prevents players from using certain items. In one command block, I have the following command clear @a diamond_sword executing constantly through a clock. Off the ...
6
votes
1answer
2k views

How do command blocks work?

I'm trying to get started using command blocks. I can't seem to figure out how to do basic things, such as changing game modes, sending messages, and giving items to people using the block ID. Nothing ...
1
vote
3answers
2k views

/testfor command not working (13w36b)

So I'm working on this new Minecraft project and it involves a lot of command blocks and dummy variables. For some reason, this one does not want to work and I do not understand why. In the image, you ...
4
votes
2answers
4k views

MC Command blocks - teams!

I successfully registered teams (Red, Blue). I want to add players to the team. It currently is 3v3 map, where you need to have 6 players to play otherwise the game wont start at all. So i tried ...
12
votes
4answers
18k views

Can I use command blocks to teleport a player who died?

I need to detect if a player has died and teleport that one to location XY and give the other team a point. I can detect if a player has died with testfor @a[score_HEALTH=1] applied to a redstone ...
4
votes
1answer
640 views

Output power if X players in radius Y around the command block

I'm new to Command Blocks in Minecraft and want to solve this problem: If X players in radius Y around the command block, then output power. I read a bit about testfor and tried things like testfor @...
14
votes
8answers
29k views

How can I use Command Blocks to keep players from placing blocks on a vanilla server?

I want to know how to keep players from placing blocks in a certain area on my Minecraft server using Command Blocks. I already know how to keep them from breaking anything via [effect player 'mining ...
3
votes
4answers
7k views

Testfor command not working with radius

I'm trying to make a redstone signal out of a command block when a player is in the radius of 3, so I made a commandblock with the text: testfor @a[r=3]. A redstone clock is bound to it, and gives it ...
1
vote
2answers
17k views

Minecraft server disconnect/quit command

I once disconnected from a server using a command. I don't remember what the command was and i need that command to setup something for my server. Does anyone know what's the command for disconnect/...
4
votes
7answers
99k views

Is there a command to spawn blocks in the air with worldedit?

I went to the End and it was empty. So I fell, switched to creative mode and flew to avoid dying. I need to make a floating block to 1) build from and 2) give me a visual point of reference to search ...
6
votes
7answers
6k views

Order of command block execution if triggered at the same time?

If I make some Command Blocks with commands (let's say say whatever), connect them with redstone dust (you can place redstone dust on Command Blocks by holding Shift), then produce a redstone signal ...
-3
votes
1answer
13k views

What are all the commands for singleplayer minecraft? [duplicate]

I want to know all the commands for singleplayer minecraft without mods
6
votes
5answers
57k views

What are the commands for the LAN world?

I've figured out that if you do /spawnpoint it changes your spawnpoint for the LAN world. So every time I die, I spawn where I want to. And I don't have to use my bed! I'd like to learn other commands,...
11
votes
2answers
5k views

Minecraft command block logging

I had just updated my friend's minecraft server to the beta build of bukkit (1.4.6 R0.1). This restored all of the plugins that weren't available when it was vanilla. However, the internet (and its ...
-3
votes
2answers
12k views

What's the minimum requirement for /sethome command in single player on OS X

I have Minecraft 1.4.5 installed on OS X. I can connect to other servers, and I can play Single-player, but I cannot run many commands in Single-player mode. I would like to run the commands /...
44
votes
2answers
1.7m views

Keep items in inventory on death in Minecraft

I once played a vanilla Minecraft adventure map (called "Herobrine's Mansion") that prevented the player from losing their items on death. Which commands can be used to prevent the player from losing ...
6
votes
6answers
116k views

How to kill someone in Minecraft using the console

In the server console I tried kill <playername> But I get [INFO] You must specify which player you wish to perform this action on. Is this even possible?
2
votes
1answer
4k views

Minecraft Single Player commands not working

So I'm on Mac OS X Lion and I tried to install single player commands. I have minecraft 1.2.5. I did the automatic install, it worked fine and now when I open minecraft a little thing come up at the ...
2
votes
1answer
3k views

Can I give other players powertools?

Can I give other players the use of powertools via the Essentials plugin for Bukkit? Not the command (/powertool), but the ability to use an item as a powertool. Ex: I assign the use of /spawn to a ...
4
votes
1answer
33k views

How to construct a //g command with WorldEdit in minecraft?

The WorldEdit Generation manual I'm looking for an example of how to construct an arbitrary 3D shape from formula to script. SK gives an example formula for a stone torus, which is as follows. //g ...
26
votes
5answers
239k views

Is it possible in Minecraft to switch over from survival to creative in single player?

This question is regarding the minecraft Beta 1.8 prerelease -- I have a beautiful house in single player survival which I'd like to record while flying. I want to be able to change the game mode of ...
11
votes
2answers
41k views

How do I spawn wolves?

How do I spawn wolves in singleplayer Minecraft using Single Player Commands; what command do I use?
19
votes
5answers
131k views

Is there an SMP Server Command to change weather conditions? [duplicate]

The latest version of Minecraft (1.5) brings, among other things, a number of different weather conditions. Most of these annoy me to no end. I tend to spend a lot of time playing on an SMP server, ...

1
86 87 88 89
90