1

Command Block Kill commands?

1 emerald 60 replies 22,910 views | started 11/01/2012 4:26 pm by Truedone
I am currently making a pig racing map and I need some assistance for command blocks.

Is there a possible way that I can use a command block to kill everyone in the map to reset the game? I have tried kill @a or @a kill does'nt work. I currently have a rig so it teleports all players into a lava pit but I dont like it like that. Just wondering
Posted by avatar
Truedone
Level 1 : New Miner
1
This thread is locked. You are unable to post new replies.

60 replies

1
07/18/2013 4:29 pm
Level 26 Expert Dragon
DAP
avatar
Wow, this is a huge necro-bump. Guys, before posting, remember to check the date of the thread when it first started. Locking.
1
07/18/2013 6:28 am
Level 23 Expert Nerd
MegaDerf
avatar
/effect @a 7 2 10
1
07/18/2013 12:08 am
Level 7 Apprentice Modder
GrimsCraft
avatar
.
1
07/17/2013 11:57 pm
Level 32 Artisan Lava Rider
GrendelRex
avatar
You type tp x y z into the command block.
(x y z being the x co-ordinates, y co-ordinates and the z co-ordinates in that order)
and after the tp then if you want all players to be teleported then use @a as in tp @a x y z. If you want the closest player to be teleported then you use @p as in tp @p x y z. If you want a random character to be teleported, then use @r as in tp @r x y z
1
07/17/2013 8:23 pm
Level 9 Apprentice Hunter
Psychic_Rodent85
avatar
how do you make them teleport people to the lava pit?
1
03/28/2013 2:08 pm
Level 11 Journeyman Miner
ColaMonster091
avatar
You could use /butcher I think
1
03/28/2013 2:11 pm
Level 25 Expert Scribe
_DioM_
avatar
Nope, that's a SPC command.
1
06/12/2013 10:24 am
Level 43 Master Pony
SilverKytten
avatar
Also, /butcher doesn't kill players - Only mobs.
1
03/28/2013 12:05 pm
Level 2 Apprentice Engineer
MinedCraftian
avatar
There is a way to get Command Blocks to kill every player not in Creative.

/effect @a 7 5 5
Applies effect Instant Damage(7) VI(5) to everybody(@a) for 5 seconds(5).
This will do 729 hearts(!) of damage to everybody, killing them.
1
03/28/2013 2:04 pm
Level 1 New Miner
Masterwizard254
avatar
That's a lot of damage, but my custom armor and potions should stop that from killing me.

EDIT: Or not....
1
03/28/2013 11:59 am
Level 42 Master Zombie
minecraftworkers
avatar
/kill @a
1
03/28/2013 12:21 pm
Level 9 Apprentice Engineer
MadOliveGaming
avatar
LOL you did not read any of the comments did you
That command doesnt work for commandblocks to prevent abuse
1
03/28/2013 11:56 am
Level 1 New Miner
Masterwizard254
avatar
"thepancakeking"
"Masterwizard254"I got a huge problem. I accidentally typed "kill @p" into a command block, added a fast clock, and forgot to add [name=!DiamondTNT]. Now when I try to remove the command block, it kills me instantly. My spawn is far enough so that the command block won't be rendered when I respawn. MCEdit isn't working for me, so do you guys know any way to disable/destroy this command block? I have WorldEdit if that helps. I can't run a server either.


You would have to run a server or have someone else run a server to disable command blocks then get ride of it.

~pancake

Does the server have to be port forwarded? I can host a server, but I can't port forward it.
1
03/28/2013 11:41 am
Level 22 Expert Engineer
thepancakeking
avatar
"Masterwizard254"I got a huge problem. I accidentally typed "kill @p" into a command block, added a fast clock, and forgot to add [name=!DiamondTNT]. Now when I try to remove the command block, it kills me instantly. My spawn is far enough so that the command block won't be rendered when I respawn. MCEdit isn't working for me, so do you guys know any way to disable/destroy this command block? I have WorldEdit if that helps. I can't run a server either.


You would have to run a server or have someone else run a server to disable command blocks then get ride of it.

~pancake
1
03/28/2013 6:48 am
Level 37 Artisan Creeper Hugger
big-splat
avatar
I think you just have to use a high level instant damage /effect command
1
03/27/2013 10:11 pm
Level 1 New Miner
Masterwizard254
avatar
VelociCraftor, "/kill" tries to target the command block itself. "/kill @p" targets the closest player. The 1st command won't work as the command block can't die. The 2nd command will work because the player can die. This is the same situation in SMP commands, "/kill" will kill yourself and "/kill playername" will kill playername. Btw, do the steps I typed up and you will get the same result. As spoogda4 said, "/kill @r" works. This is because a random player can die. I didn't fake it. I couldn't have even if I wanted to. Find Them Creepers, I didn't intend to kill myself once I render the command block.
1
03/27/2013 7:45 pm
Level 33 Artisan Dragon
Find Them Creepers
avatar
It might be easier if you made a death-pit using the /testfor @p[r=#]?
1
03/27/2013 7:35 pm
Level 9 Apprentice Artist
spoogda4
avatar
Compatible CB Commands:
/tp @r/a/p <player>
/say <msg> (MP servers)
/kill @r
/scoreboard
/effect
/give @r <ID> <amount>
/ci @r/a/p (Bukkit servers)
/me
Hope this helped



1
03/27/2013 8:04 pm
Level 1 New Miner
Masterwizard254
avatar
if "/kill @r" works, there's no reason for "kill @p" to not work. Does anyone know something to stop command blocks from doing commands(besides editing server.properties cuz i don't run a server)?
1
03/28/2013 6:36 am
Level 9 Apprentice Artist
spoogda4
avatar
It might be the format your using, like if @p doesn't work, try a different for,mat, like @r.
1
03/27/2013 6:41 pm
Level 1 New Miner
Masterwizard254
avatar
Chronalga, thx for the helpful info, but I tried it a long time ago and once the chunk where the command block is rendered, it kills me. It renders like 200 blocks away, so Idk where the command block's exact location is.
1
03/27/2013 6:28 pm
Level 43 Master Cowboy
Chron
avatar
Well... Um... Can you fly to the said location, or tp to a place close to it? Maybe try setting the area as air?
1
03/27/2013 6:13 pm
Level 1 New Miner
Masterwizard254
avatar
~~~Quote won't allow 3 quotes embedded.~~~
Command blocks work without the slash, like "/time set 0", "time set 0" works the same. All I want is help, not an argument. I said "kill @p" not just "kill".
1
03/27/2013 6:49 pm
Level 31 Artisan Ranger
VelociCraftor
avatar
But no kill command is compatible with command blocks!
1
03/27/2013 7:08 pm
Level 1 New Miner
Masterwizard254
avatar
Then please explain why it worked for me.
1
03/27/2013 6:02 pm
Level 43 Master Pony
SilverKytten
avatar
"Masterwizard254"
"VelociCraftor"To reset it you could just teleport them all back to the spawn or the lobby or the starting point or whatever

I want to fix a custom map designed for SSP or SMP with limits.
"VelociCraftor"
"Masterwizard254"VIDEO: http://youtu.be/J2qJF_snbmc

That doesn't prove anything, the bottom line is, /kill does not work in command blocks.

ARE YOU KIDDING ME? That video proved that "kill @p" will work!


No

"kill" isn't even a command. It's just a word.

"/kill" is a command.


Without the /, commands won't work - Even with the command block.

So....

You lose.
1
03/27/2013 5:47 pm
Level 31 Artisan Ranger
VelociCraftor
avatar
To reset it you could just teleport them all back to the spawn or the lobby or the starting point or whatever
1
03/27/2013 6:00 pm
Level 1 New Miner
Masterwizard254
avatar
I want to fix a custom map designed for SSP or SMP with limits.
"VelociCraftor"
"Masterwizard254"VIDEO: http://youtu.be/J2qJF_snbmc

That doesn't prove anything, the bottom line is, /kill does not work in command blocks.

ARE YOU KIDDING ME? That video proved that "kill @p" will work!
1
03/27/2013 5:43 pm
Level 1 New Miner
Masterwizard254
avatar
1
03/27/2013 5:54 pm
Level 31 Artisan Ranger
VelociCraftor
avatar
That doesn't prove anything, the bottom line is, /kill does not work in command blocks.
1
03/27/2013 6:00 pm
Level 43 Master Pony
SilverKytten
avatar
Not only does /kill not work - He didn't even use /kill. It just says "kill."

Even if /kill did work, using it without the '/' wouldn't do a damn thing.
1
03/27/2013 5:28 pm
Level 20 Expert Narwhal
Mega_Kratos
avatar
you can kill a person by if they press a button with the new /effect command you can give them instant damage 10 and they will probally die instantly. tell me if i helped lut in anything...
1
03/27/2013 5:13 pm
Level 43 Master Pony
SilverKytten
avatar
Disabled commands

The following commands have been disabled for use with the Command Block.
Command Reason for being disabled
/kick Due to @a, this could be used to lock out a server from entries.
/ban
/op So players cannot OP themselves.
/deop So players cannot deop OPs.
/stop So players cannot shut down a server.
/kill Can only target the player that typed the command. Since the command block is not a player, it is disabled.


guys, don't flame war. Just give information and back it up. -.-

The above is quoted directly from the Minecraft wiki - Surprised you've all been so daft, as to not go there..
1
03/27/2013 5:11 pm
Level 1 New Miner
Masterwizard254
avatar
"Suspence1127"
"craftyman-114"They disabled the /kill command with command blocks and /ban and /kick and all those other things, because you could use it to cheat on servers to ban whoever you want and kill them and cheat in hunger games or pvp so they disabled it.

Yep
"MadOliveGaming"
"Masterwizard254"I got a huge problem. I accidentally typed "kill @p" into a command block, added a fast clock, and forgot to add [name=!DiamondTNT]. Now when I try to remove the command block, it kills me instantly. My spawn is far enough so that the command block won't be rendered when I respawn. MCEdit isn't working for me, so do you guys know any way to disable/destroy this command block? I have WorldEdit if that helps. I can't run a server either.


Why are you talking bullcrap dude! the /kill command DOESNT EXIST for command blocks! You can enter it but it wil NOT kill you. the commandblock will just ignore the text! What are you trieng to reach with this little story you made up?


Yep. Also. SSP cannot have /kill. Also, command blocks only reach a certain amount of blocks, soggy outta that radius with a /effect command. /kill cannot be in a command block. You are also not uploading a video, cuz it states on your channel you won't upload anything again. Stop with the annoying fake ****, cuz it's annoying

Thanks to everyone who realizes this is obviously a fake troll post

If I'm wrong, I'm sorry...

I will be uploading it and I've kept that message on my Youtube channel because I will only upload for a custom map, videos requesting help, or showing how to do something. The reason the video is delayed is because my recording program(Screencast-O-matic) isn't working the way I want.
1
03/27/2013 3:49 pm
Level 1 New Miner
Masterwizard254
avatar
"MadOliveGaming"
"Masterwizard254"I got a huge problem. I accidentally typed "kill @p" into a command block, added a fast clock, and forgot to add [name=!DiamondTNT]. Now when I try to remove the command block, it kills me instantly. My spawn is far enough so that the command block won't be rendered when I respawn. MCEdit isn't working for me, so do you guys know any way to disable/destroy this command block? I have WorldEdit if that helps. I can't run a server either.


Why are you talking bullcrap dude! the /kill command DOESNT EXIST for command blocks! You can enter it but it wil NOT kill you. the commandblock will just ignore the text! What are you trieng to reach with this little story you made up?

I'll make a video, post the link and it will show that it will kill me instantly. The video should be up in 10 minutes.
1
03/27/2013 3:47 pm
Level 1 New Miner
Masterwizard254
avatar
"Willsr71"
"Masterwizard254"I got a huge problem. I accidentally typed "kill @p" into a command block, added a fast clock, and forgot to add [name=!DiamondTNT]. Now when I try to remove the command block, it kills me instantly. My spawn is far enough so that the command block won't be rendered when I respawn. MCEdit isn't working for me, so do you guys know any way to disable/destroy this command block? I have WorldEdit if that helps. I can't run a server either.

Wow good job. I would say your screwed since you cant run MCEdit, but there is a solution that you can use in minecraft. Give yourself a resistance 10 potion effect. That makes you invincible. its /effect [username] 11 100000 10 if that only goes for four seconds or there is an error flip the 100000 and the 10 around and it should work.

I tried that but it told me to enter "/effect [list:remove <all:TYPE>:add <all:TYPE> DURATION] [STRENGTH]]" so, I entered "/effect add 11 100000 10". But, when I load that chunk where the command block is, I die instantly.

"craftyman-114"They disabled the /kill command with command blocks and /ban and /kick and all those other things, because you could use it to cheat on servers to ban whoever you want and kill them and cheat in hunger games or pvp so they disabled it.

You can't add a command to a command block if you aren't an op(or in SSP, enable cheats). If you give someone op status in Hunger Games, they will be winning.
1
03/27/2013 7:45 am
Level 9 Apprentice Engineer
MadOliveGaming
avatar
"Masterwizard254"I got a huge problem. I accidentally typed "kill @p" into a command block, added a fast clock, and forgot to add [name=!DiamondTNT]. Now when I try to remove the command block, it kills me instantly. My spawn is far enough so that the command block won't be rendered when I respawn. MCEdit isn't working for me, so do you guys know any way to disable/destroy this command block? I have WorldEdit if that helps. I can't run a server either.


Why are you talking bullcrap dude! the /kill command DOESNT EXIST for command blocks! You can enter it but it wil NOT kill you. the commandblock will just ignore the text! What are you trieng to reach with this little story you made up?
1
03/26/2013 9:55 pm
Level 20 Expert Warrior
craftyman-114
avatar
They disabled the /kill command with command blocks and /ban and /kick and all those other things, because you could use it to cheat on servers to ban whoever you want and kill them and cheat in hunger games or pvp so they disabled it.
1
03/27/2013 4:00 pm
Level 51 Grandmaster Architect
Suspence1127
avatar
Yep
"MadOliveGaming"
"Masterwizard254"I got a huge problem. I accidentally typed "kill @p" into a command block, added a fast clock, and forgot to add [name=!DiamondTNT]. Now when I try to remove the command block, it kills me instantly. My spawn is far enough so that the command block won't be rendered when I respawn. MCEdit isn't working for me, so do you guys know any way to disable/destroy this command block? I have WorldEdit if that helps. I can't run a server either.


Why are you talking bullcrap dude! the /kill command DOESNT EXIST for command blocks! You can enter it but it wil NOT kill you. the commandblock will just ignore the text! What are you trieng to reach with this little story you made up?


Yep. Also. SSP cannot have /kill. Also, command blocks only reach a certain amount of blocks, soggy outta that radius with a /effect command. /kill cannot be in a command block. You are also not uploading a video, cuz it states on your channel you won't upload anything again. Stop with the annoying fake ****, cuz it's annoying

Thanks to everyone who realizes this is obviously a fake troll post

If I'm wrong, I'm sorry...
1
03/26/2013 9:53 pm
Level 52 Grandmaster Programmer
Willsr71
avatar
"Masterwizard254"I got a huge problem. I accidentally typed "kill @p" into a command block, added a fast clock, and forgot to add [name=!DiamondTNT]. Now when I try to remove the command block, it kills me instantly. My spawn is far enough so that the command block won't be rendered when I respawn. MCEdit isn't working for me, so do you guys know any way to disable/destroy this command block? I have WorldEdit if that helps. I can't run a server either.

Wow good job. I would say your screwed since you cant run MCEdit, but there is a solution that you can use in minecraft. Give yourself a resistance 10 potion effect. That makes you invincible. its /effect [username] 11 100000 10 if that only goes for four seconds or there is an error flip the 100000 and the 10 around and it should work.
1
03/26/2013 9:14 pm
Level 1 New Miner
Masterwizard254
avatar
"SemihLord"
"Masterwizard254"I got a huge problem. I accidentally typed "kill @p" into a command block, added a fast clock, and forgot to add [name=!DiamondTNT]. Now when I try to remove the command block, it kills me instantly. My spawn is far enough so that the command block won't be rendered when I respawn. MCEdit isn't working for me, so do you guys know any way to disable/destroy this command block? I have WorldEdit if that helps. I can't run a server either.

disable command blocks on server

"kevin9ye"
"Masterwizard254"I got a huge problem. I accidentally typed "kill @p" into a command block, added a fast clock, and forgot to add [name=!DiamondTNT]. Now when I try to remove the command block, it kills me instantly. My spawn is far enough so that the command block won't be rendered when I respawn. MCEdit isn't working for me, so do you guys know any way to disable/destroy this command block? I have WorldEdit if that helps. I can't run a server either.


If you didnt do much, just go to .minecraft>saves> [World] Properties> and resore it

I'm in SSP and the world wasn't backed up.
1
03/26/2013 5:05 pm
Level 24 Expert Network
-Kali-
avatar
"Masterwizard254"I got a huge problem. I accidentally typed "kill @p" into a command block, added a fast clock, and forgot to add [name=!DiamondTNT]. Now when I try to remove the command block, it kills me instantly. My spawn is far enough so that the command block won't be rendered when I respawn. MCEdit isn't working for me, so do you guys know any way to disable/destroy this command block? I have WorldEdit if that helps. I can't run a server either.


If you didnt do much, just go to .minecraft>saves> [World] Properties> and resore it
1
03/26/2013 4:56 pm
Level 1 New Explorer
SemihLord
avatar
"Masterwizard254"I got a huge problem. I accidentally typed "kill @p" into a command block, added a fast clock, and forgot to add [name=!DiamondTNT]. Now when I try to remove the command block, it kills me instantly. My spawn is far enough so that the command block won't be rendered when I respawn. MCEdit isn't working for me, so do you guys know any way to disable/destroy this command block? I have WorldEdit if that helps. I can't run a server either.

disable command blocks on server
1
12/22/2012 12:14 am
Level 39 Artisan Droid
number1_Master
avatar
Your answer to every commandblock question:
http://www.minecraftwiki.net/wiki/Command_Block
1
12/22/2012 12:08 am
Level 1 New Crafter
Sparks_
avatar
*ahem* I believe there is a way to get /kill to work with command blocks. I believe the way it works is in the GUI you must put a specific player name..I THINK. But if not, screw me. And if I were you, I'd teleport them into the void or maybe off a cliff or something. Maybe into a little room that has dispensers that throw potion.potency.99 Instant Damage potions at you. I don't know. Just do whatever works
1
12/19/2012 6:22 am
Level 26 Expert Skinner
Creeper_for_life
avatar
guys,first i dont have command block in my creative inventory,second,how on earth do u use a command block?
1
03/28/2013 2:10 pm
Level 32 Artisan Toast
galika1080
avatar
Nobody does. Do /give (your name) 137
You then right click it, enter a vanilla command, or if on a server you can use plugin commands. Hit done, or the enter key, and it will execute the command when powered by redstone.
1
12/19/2012 6:31 am
Level 37 Artisan Vampire
+Sheena+
avatar
You can get a command block by typing /give <playername> 137 <amount>

Just try different commands like tp or game rules and stuff on the command block. Basically once you get it you will know what to do.
1
12/19/2012 6:29 am
Level 1 New Architect
badass_mexican
avatar
1. Getting command block via /give <playername> id
2. Too Many Items/Not enough Items Mod

How to use command block:
Someone explain it to him I don't know how to explain
1
12/18/2012 2:44 am
Level 15 Journeyman Dragon
pebble225
avatar
/clear /tp
1
11/03/2012 3:06 am
Level 48 Master Modder
Goblom
avatar
"Truedone"I am currently making a pig racing map and I need some assistance for command blocks.

Is there a possible way that I can use a command block to kill everyone in the map to reset the game? I have tried kill @a or @a kill does'nt work. I currently have a rig so it teleports all players into a lava pit but I dont like it like that. Just wondering


instead of teleporting them into a lava pit just have them fall through the void like Hypixel.
1
11/03/2012 2:35 am
Level 32 Artisan Lava Rider
GrendelRex
avatar
The /kill command was cut from the command blocks during 1.4 development.

Search

Browse

Site

© planetminecraft.com

Welcome